Некоторое время назад мне стало интересно, каким образом на некоторых сайтах сделана очень полезная по моему мнению "штука" предоставляющая возможность пользователю ( посетителю сайта ) менять размер шрифта на более подходящий ему.
Вот собственно я хочу поделиться вариантом реализации данной так сказать "фичи".
Шаг 1:
Вставляем в документ следующий скрипт:
<script type="text/javascript" language="javascript"> var min=8; var max=16; function increaseFontSize() { var p = document.getElementsByTagName('div'); for(i=0;i<p.length;i++) { if(p[i].style.fontSize) { var s = parseInt(p[i].style.fontSize.replace("px","")); } else { var s = 12; } if(s!=max) { s += 1; } p[i].style.fontSize = s+"px" } } function decreaseFontSize() { var p = document.getElementsByTagName('div'); for(i=0;i<p.length;i++) { if(p[i].style.fontSize) { var s = parseInt(p[i].style.fontSize.replace("px","")); } else { var s = 12; } if(s!=min) { s -= 1; } p[i].style.fontSize = s+"px" } } </script>
Данный скрипт имеет две переменные MIN и MAX которые соответственно отвечают за минимальный и максимальный размер шрифта. Их вы можете варьировать по своему усмотрению.
Шаг 2:
Теперь делаем вывод нашего блока с регулировкой размера шрифта следующим образом:
Данный пример будет менять текст от 8 до 16 пунктов в каждом
<div>'е на вашей странице.
19-02-08 12:02:56
PirojokTus - 10-04-25 03:04:29
darknet market lists dark market link
buy cialis online us - 2-06-23 07:06:58
Thank you for sharing your thoughts. I truly
appreciate your efforts and I am waiting for your
further post thanks once again.
worst hair transplant center - 31-01-20 07:01:35
Hey! I'm at work surfing around your blog from my new iphone
4! Just wanted to say I love reading your blog and look forward to all your posts!
Keep up the superb work!
Craigkek - 3-12-19 13:12:53
[url=https://www.kamagrageneve.nu]kamagra geneve[/url]
Simply being youthful is not any alibi to not get life insurance. For starters, accidents can happen, and secondly, when you retain the exact same life insurance coverage for many years, your insurance company must handle you as a important customer. Your monthly premiums may go down and your protection expand through the years.
[url=https://www.dapoxetinschweiz.nu ]dapoxetin schweiz[/url]
Unless you have the time to write advertising and marketing posts, or you simply dislike composing, think about outsourcing the project. By making use of organized free-lance site like oDesk, Elance, Guru and GetAFreelancer. The help of a specialist content writing business or the 'hire a freelancer' part of numerous on the web forums, you may get good quality marketing and advertising content articles, which meet up with your specific specs for a little investment.
[url=https://www.kamagraoraljellyhinta.nu]kamagra jelly[/url]
Stay away from something that can certainly make your apnea even worse, specially great altitudes. Slumbering in the great altitude for instance. aeroplanes may actually help make your signs or symptoms worse as the losing of oxygen increases. If you need to travel, make sure you confer with your medical professional about tips on how to relieve your signs and symptoms of sleep apnea.
[url=https://www.kamagra100ervaringen.nu]kamagra kopen[/url]
RicardoHab - 29-11-19 17:11:47
[url=https://www.kamagragelprezzo.nu]kamagra gel[/url]
Keep your bone powerful by increasing your calcium supplement consumption. Several older people break hips and knee joints each day. Ensure your your bones continue to be solid with 2-3 servings every single day of calcium mineral. Calcium supplements may be found in dairy food, broccoli and other veggies. Protect your your bones by providing them.
[url=https://www.levitra20.de]levitra 20[/url]
Aim to have a large number of videos inside your blog. Use TubeMogul in order to submit these video clips in several diverse spots as is possible. In addition, you ought to be sure that your website Web address is not just just inside the movie. It should also be within the textual content information that will go along with the video clip.
[url=https://www.levitragenericoprecio.nu]levitra precio[/url]
Online video marketing lacks to be complicated. Just about the most well-liked formats is only a regular movie, without having special features provided. Of course, whenever you can, individuals videos with flash animation have likewise turned out well-liked, along with picture slip reveals using a voice over and songs.
[url=https://www.cialisgeneriekbelgie.nu]cialis generiek[/url]
What's up to every body, it's my first go to see of this
webpage; this web site contains remarkable and actually fine data in support of readers.
tinyurl.com - 24-11-19 05:11:36
Hey! I could have sworn I've been to this blog before but after reading through some of the post I realized it's new to me.
Nonetheless, I'm definitely happy I found it and I'll be book-marking and checking back frequently!
Craigkek - 20-11-19 15:11:17
[url=https://www.cialissenzaricetta.net]cialis senza ricetta[/url]
An excellent suggestion you can keep in mind if you want to steer clear of getting a candida is usually to not wear really tight apparel, specifically under garments. The restricted clothing will prevent air flow from receiving all around your crotch region and that makes it the right breeding terrain for the yeast infection.
[url=https://www.kamagragel.es]kamagra 100 mg[/url]
If you are a dog proprietor be sure that there are actually no nasty animal hairs or dog odours in your home while you are offering a showing. This is especially valid for people with carpeting as the purchasers will be worried about whether these problems will cause them to have to substitute them.
[url=https://www.levitraschweiz.nu]levitra generika[/url]
Everyone wants to have a vibrant, white, healthy look, but that doesn't indicate it's very easy to accomplish. Giving up smoking is a excellent keep. An additional is always to by pass drinking espresso and reddish wines. The next phase is to try out residence lightening. If this doesn't work, think about asking your dentist for a estimate on their providers.
[url=https://www.cialisswitzerland.nu]cialis generika[/url]
ClydeDuedy - 19-11-19 12:11:09
[url=https://www.viagrahintasuomessa.nu]viagra hinta[/url]
You can offer you specific cell phone-only special offers to motivate your potential customers to participate with your mobile advertising and marketing strategy. One method to do it is to apply QR requirements. These are typically regulations that can be very easily scanned by means of camera contact you can link QR regulations to promotions or discounts. Clients will pleasant your emails and they will be keen to participate such campaigns.
[url=https://www.levitraschweiz.nu]levitra schweiz[/url]
Post rotating will give you the opportunity compose about the same issue, many times with similar important tactics. There are some negatives and good things about write-up rotating, specially when it boils down to article promotion. A benefit would be that you are taking one report and alter the dwelling and wording without the need of applying the identical energy. This is particularly valuable in case the report is on the subject that you had to research. The downfall to the, is that it may be just like effortless to create a completely authentic write-up about the same subject matter with assorted info and even work towards a brand new matter. It is focused on your site and the way you must deal with time. The following article can help you with other sound advice much like this particular one, so read on to discover article marketing and the way efficient it may be if you are seeking to drive traffic to your web site.
[url=https://www.levitrasvizzera.nu]levitra svizzera[/url]
Should you don't would like dog viewing you while you are having or generating meal, consider educating him to be powering an unseen series while in mealtimes. Make an invisible buffer in the entry ways from the kitchen area and prevent your dog back in that spot whenever he moves whilst you're undertaking points in the kitchen and strengthen him keeping yourself and getting very good. He will swiftly discover that keeping yourself out of the kitchen during mealtimes will be the appropriate thing to do.
[url=https://www.levitraschweiz.nu]levitra schweiz[/url]
online pharmacies - 16-11-19 20:11:59
most reliable canadian pharmacies
http://canadianpharmaciesprofmeds.com/
GeorgeTheda - 11-11-19 05:11:23
[url=https://www.levitragenerikakaufen.de]levitra generika[/url]
Quit buying name brand almost everything. Once the finances are excellent as well as the economy is doing wonderful, people like to spend for convenience and comfort. During times much like the current scenario, you need to be getting off-brand items each and every opportunity you get. For several purchases, you require the brand name, but you will see other items you are able to go less costly on.
[url=https://www.kamagragelprezzo.nu]kamagra prezzo[/url]
Re-stability your collection consistently to be sure that you have your hard earned dollars assigned properly. One or more times per year, go over your collection to ensure that you do not have way too many possessions in a single industry. That way, if one field performs improperly, other areas of your profile can make up for these failures.
[url=https://www.viagrakaufenrezeptfrei.de]viagra rezeptfrei[/url]
Question your renting broker concerning the company's insurance policy about returning your protection down payment. Some companies will take cleaning expenses, rip and put on no matter the situation of your own condominium if you move out. Have a clear image regarding the destiny of your own down payment prior to signing the lease contract, as you might get rid of lots of funds whenever you move out.
[url=https://www.cheapkamagraaustralia.nu]kamagra gel australia[/url]
Stephenjef - 9-11-19 16:11:03
[url=https://www.xn--dapoxetinekaufeninsterreich-6yc.nu]dapoxetine kaufen[/url]
When promoting your residence, you must make sure it is actually valued appropriately. Properties which are looking for a cost earlier mentioned exactly what the nearby market has is not going to offer fast at all. Also determine whether other properties with similar format are for sale, and sell your house for a small price.
[url=https://www.levitragenericoprecio.nu]levitra generico[/url]
Understand the complete price of your plastic surgery, before you go within the knife. When you are getting your final costs, you may not want a shock. Make sure the doctor includes not just the surgery, but any incidentals you may be charged for. Find out if, the anesthesiologist may have a separate bill.
[url=https://www.priligykopennederland.nu]priligy nederland[/url]
To save money on your own insurance plan you should remove lease auto coverage. This is an added that isn't definitely required and expenses you far more to obtain on your own insurance plan. It can save you additional money annually by taking away this coverage and pay out of pocket if you want to rent payments a car or truck.
[url=https://www.viagraonline.es]viagra online[/url]
buy prescription drugs without doctor
http://canadianpharmaciesoffer.com/
[url=http://canadianpharmaciesoffer.com/]safe online pharmacies in canada[/url]
Craigkek - 26-10-19 16:10:51
[url=https://www.xn--dapoxetinekaufeninsterreich-6yc.nu]dapoxetine kaufen[/url]
A tip for keeping yourself youthful, even when your system is aging, is to always keep discovering. Read more about enjoying bridge, utilizing a computer, horticulture, woodworking, or anything you planned to learn previous in everyday life but didn't get the time for you to do. Because you are retired as well as your youngsters are cultivated, you will no longer have the reason of without having time to delve into these new journeys of studying. In no way enable your brain continue to be idle!
[url=https://www.priligykosten.nu]priligy kosten[/url]
Prior to establish away from over a fishing getaway, purchase top quality materials. It's specially crucial that you purchase a very good spincast reel and rod. Don't feel as if you need to spend a ton of money. A long lasting and dependable set-up can be obtained cheaper than $35. With regards to angling, excellent equipment is key.
[url=https://www.viagra100.de]viagra 100mg[/url]
You could have set up wooden, laminate or ceramic tile flooring to lower contaminants in your house, but if you are using throw carpets, they must be laundered weekly in hot, soapy water to keep them free of airborne dirt and dust, pollen and also other hypersensitivity contributors. When they aren't unit cleanable, have them free of moisture-cleansed frequently. It will likely be well worth the charge!
[url=https://www.genericocialis.es]cialis generico[/url]
GeorgeTheda - 12-10-19 13:10:54
[url=https://www.xn--vardenafilsterreich-z6b.nu]vardenafil kaufen[/url]
If you are having troubles keeping your lip stick from feathering and bleeding, try this secret: As you utilize your foundation, basic, or colored moisturizing lotion for your face, protect your mouth in the slim coating from the item as well. This will function as a type of primer on which your lipstick can combine and stay steadfast.
[url=https://www.viagrapris.nu]viagra online[/url]
Advise prospective customers how amazing your products or services are well before providing to promote it in their mind. Persuade them via blogs and forums, videos, and textual content that it must be exactly what they really want. When you can get them for the purchase webpage making use of their bank card currently with their palm, you will extremely improve your income.
[url=https://www.levitra20.de]levitra 20[/url]
For people people who do not wish to consume caffeinated drinks, but love the taste of gourmet coffee, they are able to enjoy decaffeinated coffee. Most people do not have difficulties with some caffeinated drinks, and half-caffeinated drinks caffeine is a great option for them. There is absolutely no appreciable variation from the flavour among complete and fifty percent-coffee coffee.
[url=https://www.viagragenericosvizzera.nu]viagra generico[/url]
RicardoHab - 10-10-19 15:10:31
[url=https://www.originalviagra.fr]Viagra pfizer[/url]
Get some good groups of quality exercise routine garments. The proper clothing makes a difference (and high quality manufacturers usually last for a longer time). Appropriate workout clothing can help you remain much cooler throughout your exercise routine, and they also can also help anyone to stay away from irritability caused by friction. You will find a much better work out in case you are secure. It also helps once you know that your particular selections allow you to look nice!
[url=https://www.dapoxetinschweiz.nu ]dapoxetin kaufen[/url]
Attractiveness is actually within the eye in the beholder, in addition to everybody who examines her! You wish to look the best, enhance your finest capabilities and set your greatest deal with forwards so continue reading for several wonderful suggestions and ideas to you to improve on your looks in such a way you've most likely never imagined of!
[url=https://www.cialislilly.de]cialis original[/url]
Save time although text messaging on your own iPhone by tapping the area bar twice. This swift faster way will immediately end your sentence using a time, then set up a new phrase. The very first letter of the new phrase is going to be instantly capitalized. This secret it excellent for long texts and any person on the go.
[url=https://www.levitra20.de]levitra 20mg[/url]
Andrew7744 - 8-07-19 10:07:48
Phone Screen Enlarger https://www.rongcp.com/products/12-inch-stereoscopic-phone-screen-enlarger
12 Inch Stereoscopic Phone Screen Enlarger https://www.rongcp.com/products/12-inch-stereoscopic-phone-screen-enlarger
Lift Up Invisible Bra Tape https://www.rongcp.com/products/lift-up-invisible-bra-tape
React Reflex Ball https://www.rongcp.com/products/new-react-reflex-ball
Corner Storage Holder Shelves https://www.rongcp.com/products/corner-storage-holder-shelves
CraigSwacy - 1-07-19 08:07:38
best online dating site for 50+ web based online dating sim dating app of usa
what to do if your girl is dating multiple 35 year old woman dating 25 year old why are all the guys online dating ugly
dating for 40 and older where do dating apps verify images christian and single dating site
live dating chat free webcam the best online dating sites for lesbians soiree speed dating la rochelle
free phone sex chat lines singles dating horny dominican republic free dating sites dating a girl 5 years younger
how many americans use dating apps a christian dating a catholic verse free dating sites in caribbean
famous women who found husbands on dating web sites top free dating app in usa how to approach a girl on online dating
CraigSwacy - 24-06-19 03:06:40
best free dating sites without subcription what are some good usernames for dating sites dating a girl whodoes mma
usa border sex dating apps same sex online dating sites how many emails for online dating
how to pick up a girl on dating site best free dating sites in gta why do women on dating sites use kik
why do free dating sites have less attractive women 100 free instant message singles dating sites farmers com online dating
how to access dating sites without paying why girls lose interest online dating lgbt speed dating san diego
2019 millionaire best dating site in usa web based online dating sim how to tell online dating scammers
creepin on dat hot nanny adult dating sim tulsa back page women seeking men how much tojoin singles dating sites
CraigSwacy - 22-06-19 13:06:36
serious free dating sites in usa usa dating magazines address singles over 60 dating
free dating sites that do not demand payment how to search for people on dating sites without signing up houston medical professionals dating
how to talk a girl into dating you free dating chat line numbers in ohio an online dating apps where you meet divorced and single women
most visited dating websites free dating apps tinder roanoke va girl dating tattoos
chat with dating therapist free fun questions to ask when online dating christian dating virgin gangbang
christian dating website reviews smoker fetish dating florida adam and eve dating online dating sites
girls on dating sites fucking best dating sites in florida jewish dating a catholic girl
[url=https://www.kamagrageneve.nu]kamagra suisse[/url]
For those who have food prepare in college or university, apply it all up. Occasionally, you simply will not get a return on the money you do not use within this course of action once the semester involves a close. Also, the meals at the cafeteria are typically far healthier than the option of fastfood.
[url=https://www.xn--viagrapreoinfarmed-gvb.nu]viagra preГ§o[/url]
A vital factor when using vouchers is always to only obtain stuff you will in fact use. Buying in bulk, and saving money is not really an arrangement if you or your family members will not use the merchandise. You might want to break this tip if you can obtain a bargain on something that you could potentially very easily give away into a neighborhood good cause.
[url=https://www.kamagraoraljellyswitzerland.nu]kamagra jelly[/url]
If you find your self without any dandruff soon after utilizing a shampoo for your objective, continue using it. Should you end utilizing that hair shampoo, chances are that dandruff could reoccur because of the fact that there is no remedy for dandruff. The hair shampoo you happen to be using is trying to keep it aside, so that you ought to keep utilizing it.
[url=https://www.propeciaerfahrungen.nu]propecia erfahrungen[/url]
JeromeDoult - 12-05-19 15:05:01
[url=http://www.ctraversa.com.br/obrasespeciais.html]http://www.ctraversa.com.br/obrasespeciais.html[/url]
Many individuals might not exactly know this, but through an too much consumption of glucose inside their diet programs can the truth is lead to infections. Consider protective treatment and restriction the quantity of glucose you possess in your diet. Ensure that you follow a healthful and healthy meal that evens out all of the awful points.
http://www.bolcimodas.com.br/empresa.asp
If you are on any prescription drugs, speak to your doctor about switching them. If you are going through typical yeast infections, your medicine may be to pin the blame on. A lot of women have found a link among candida albicans along with the childbirth manage they are taking. Be sure to consult with your doctor about the possibility of changing to something else.
[url=http://www.lagrandemosqueedemontreuil.fr/index.php/contact]http://www.lagrandemosqueedemontreuil.fr/index.php/contact[/url]
In relation to the dissimilarities in between red and white colored wine, a single key element is when they wines are fermented and aged. Reddish grapes are pressed 2 times, issuing a lot more tannins and lightening the colour of your wine. And this is what makes the color so beautiful and also the flavoring so strong.
HerbertMof - 11-05-19 15:05:36
[url=http://www.nanocell.com.tr/demo/text.php?b=296]Infiniti Tren Enanthate 100[/url]
When thinking about buying industrial house consider heading greater. The more products within the building, the less costly every unit will probably be. Besides, if you need to deal with products it genuinely isn't very much more challenging to manage 50 because it is 10. Think about what you could manage and what is the greatest use of your money.
[url=http://www.enlacecentral.net/session/filter.php?r=1919]D Labs Anavar[/url]
Don't rest in your curriculum vitae regarding your ability packages. You could feel as if you must expand the facts to open up doorways, but usually your absence of the skill sets the truth is will likely be learned fairly easily by a experienced job interviewer. As an alternative, teach on your own the skill sets you must know to make you more appealing to selecting firms.
[url=http://www.tehnocommerce.si/images/footer.php?g=1595]Methenolone Enanthate Price In India[/url]
If you are planning on going out with your pals, stay away from alcoholic drinks without exception. It is crucial to remain hydrated when you have piles, as alcoholic drinks will just serve to dehydrate you even further more. Stay with water or avoid enjoying when you find yourself venturing out.
[url=http://www.med-si.ru/string/user.php?e=2473]Deca Durabolin Vs Dianabol[/url]
Streaming Jav Online Free - JavPlay - 9-05-19 04:05:36
obviously like your web-site however you have to check the spelling
on quite a few of your posts. Several of them are rife with
spelling issues and I in finding it very troublesome to inform the truth however I will certainly come again again.
ClintonreX - 4-05-19 12:05:16
[url=https://www.kamagrageneve.nu]kamagra geneve[/url]
Researchers have found out that Ascorbic Acid takes on a sizable role to keep airways functioning generally. Lower levels of vitamin C can avoid symptoms connected with air passage illnesses, like bronchial asthma. It may also assist to manage the progression and severity of the condition.
[url=https://www.cialiszondervoorschriftbelgie.nu]cialis bijsluiter[/url]
Ensure that all your microsoft windows are closed when you go to sleep at night or continue vacation. The worst thing that it is advisable to do is usually to provide the insects outside a no cost entryway to your residence. Close off all home windows when you are resting or perhaps not the location of lessen pest infestations.
[url=https://www.xn--dapoxetinekaufeninsterreich-6yc.nu]dapoxetine 60mg kaufen[/url]
Hopefully you will have a much better knowledge of the best way to greater make use of ipad tablet to manage organization and enjoyment. You probably didn't know a lot of the details you've read through on this page. Which means there exists always more to find out, so continue to keep achieving a lot more knowledge concerning the way to operate your device.The Best Dental Treatment Details On The Market
[url=https://www.superkamagrabelgique.nu]kamagra belgique[/url]
JoshuaRal - 27-04-19 06:04:00
[url=http://www.sinomech.com.sg/filter/achieve.php?re=1609]Methenolone Enanthate What Does It Do[/url]
Even when you have checked and double checked the weather predict, acquire alongside another set of clothes. The climate forecasters are often wrong as well as an unanticipated rainstorm can abandon your damp and uncomfortable. Getting dressed in levels enables you to be ready for a selection of conditions. It is possible to take things away mainly because it warms up and place them back again on as the temp declines.
[url=http://www.amanaakash.com/js/power.php?r=2687]Dianabol 50mg Price[/url]
Persons experiencing significant asthma need to take acetaminophen based soreness killers. Aspirin, NSAIDs and ibuprofen dependent medication like Advil or Motrin could set off or aggravate your symptoms of asthma assaults. Be sure to carry the right type of treatment with you for your coworkers, family or friends participants may not have the right 1.
[url=http://www.abletoplayaccordion.com/wp-content/text.php?qe=1712]Buy Stanozolol Online India[/url]
Enable your buddies understand that they should not offer you gift items of home plant life. Plants and flowers might be a extreme trigger for certain asthmatics. Getting them constantly at home would be like preventing a war along with your surroundings every day. If a person does supply you with a grow, check if it may be planted outside the house. If this can't be transferred outside the house, say thanks to them perfectly for that gift and then provide apart later.
[url=http://www.dancelo.com/wp-content/box.php?to=405]Sustanon 400[/url]
Brandongeoms - 18-04-19 16:04:05
[url=https://www.levitraschweiz.nu]levitra generika[/url]
One of the primary problems for individuals with acne cases are that it can be difficult to stay with any treatment plan that will require some challenging changes or that has to have an ordinary investment of time. For instance, many people battle with diet modifications. When you can be consistent with the application of these guidelines for a time period of 30 days, they will be a behavior, plus they won't be almost so difficult to apply afterwards. It will require this kind of dedication to discover a genuine advancement inside your skin area.Check Out Many Of These Great Fishing Suggestions!
[url=https://www.xn--kamagragelsterreich-z6b.nu]kamagra Г¶sterreich[/url]
When you have a large number of clients, always keep submitting content. This will always keep individuals interested in what you are discussing, and you can point out occasionally your products. Try delivering a e-newsletter monthly, so that you have enough details to include and still mail out something on a regular basis.
[url=https://www.xn--kamagragelsterreich-z6b.nu]kamagra Г¶sterreich[/url]
As you can tell, many different things may cause ringing in the ears. You should try various things until you select one that works for you. Do not forget that ringing in the ears should be considered seriously. Furthermore, you must go visit a physician if you cannot locate something that works all by yourself.Is Your Asthma attack Controlling Your Lifestyle? Get Support In this article!
[url=https://www.kamagrasverige.nu]kamagra gel[/url]
PirojokTus - 10-04-25 03:04:29
darknet market lists dark market link