Sunday, December 20, 2009

Allow Visitors Change The Text Size And Font Of Your Blog Posts

Allow Visitors To Your Blog Change The Text Size And Font Of Your PostsIn this post i will help you add a gadget to your blog that will allow the visitors to your blog choose the text / font style and size they view your blog in.

This tip will let you give the visitors to your blog control over how they want to view it.

In this blog i strive to improve the appearance and performance of your blog and optimize it for the people that count ... your visitors.

The reason i looked to add a gadget like this to my blog was when i looked at reviews of differant blogs on Blog catalog a re-occurring complaint was people not able to easily read the text.

Your page wont refersh or change in any other way just the text.

How does it work ?

Click Here To See A Live Example / Demo

How easy was that !


Ok now we know how it works heres how to add it to your blog :


Step 1.Click 'Layout' > 'Add A Gadget' for your blog.
Blogger layout

add a gadget blogger

Step 2.Select 'HTML/JAVESCRIPT' in the pop up menu.
add html javascript blogger

Cellphones at LightInTheBox.com

Step 3.Copy and paste the code below into the area provided :
<script>
function go1(){
if (document.selecter2.select2.options
[document.selecter2.select2.selectedIndex].value != "none") {
document.getElementById('main').style.fontSize
=document.selecter2.select2.options
[document.selecter2.select2.selectedIndex].value
}
}

function go2(){
if (document.selecter2.select3.options
[document.selecter2.select3.selectedIndex].value != "none") {
document.getElementById('main').style.fontFamily
=document.selecter2.select3.options
[document.selecter2.select3.selectedIndex].value
}
}
</script>
<form id="forma" name="selecter2" method="POST">

<select onchange="go2()" style="font-family:verdana;font-size:8pt" name="select3" size="1">
<option value="Times New Roman"/>Times New Roman
<option value="Arial"/>Arial
<option selected value="Book Antiqua"/>Book Antiqua
<option value="Bookman Old Style"/>Bookman Old Style
<option value="Century Gothic"/>Century Gothic
<option value="Comic Sans Ms"/>Comic Sans Ms
<option value="Tahoma"/>Tahoma
<option selected value="Trebuchet Ms"//>Trebuchet Ms
<option value="Verdana"/>Verdana
</select>
<select onchange="go1()" style="font-family:verdana;font-size:8pt" name="select2" size="1">
<option value="8px"/>8
<option value="9px"/>9
<option value="10px"/>10
<option value="11px"/>11
<option selected value="12px"/>12
<option value="14px"/>14
<option value="16px"/>16
<option value="18px"/>18
</select></form><a href="http://www.spiceupyourblog.com/2009/12/allow-visitors-change-text-size-and.html" target="_blank"><font size="1">Get This</font></a>

Before we finish : If you need more help or have an opinion or suggestion Please leave a comment Below.
To help you this is a Do-Follow Blog leaving a comment will also help your blogs Google rank.
OK Back to business ....

Once you put the code in click save and the gadget has been added to your blog.

Your visitors can now view your blog as the wish.

If you dont understand any of the steps in this post click 'The Basics' in the top menu for help or comment below.

Have you added it to your blog ? Let us know..





Jump To Comments

Subscribe To The Rss Feed Or Recieve The Latest Posts By Email

Get The Latest Full Posts By Email - It's Free
Write About Or Link To This Post On Your Blog - Easy Links :
Link Directly To This Post :

Link To The Homepage :
Hey ! People That Read This Post Also Loved These Posts
Still Looking For Something ?
Search This Blog
Custom Search
Comments : We are using Discus comments so you have more options when commenting.
If your asking a question or looking for extra help make sure to subscribe to comments by Mail and you will be notified when i reply.
blog comments powered by Disqus
 

Recommended Money Makers

1. Info Barrel Paid To Write, if you can write a blog you can write for I.B.

1. Xomba Paid To Write, Another great paid to write articles website

3. Chitika Ads For Your Blog, work well alongside AdSense

4. Aw Surveys Paid Surveys, Get paid to take surveys and referr new members.

Thanks For Calling

free counters

Admin Options : Home | Layout

Random Post List From The Archive

Who Writes This Stuff ?

Hi Im Paul Crowe,

I have an insane interest in how things work.I've been a Blogger for a long time but after an almost 2 year break i've come back with Spice Up Your Blog.

Working on Blogger design, Widgets, Gadgets and all things to do with improving the Blogger experience.Throw in some Writing and Promotion methods and we have our selves a Blog !

You cant keep a good man down..

View My Full About Me Page

Latest From Info Barrel

Want To Join In ?

Write A Guest Post On Spice Up Your Blog !
It's Easy Just Click Here For Details

Blog Archive