Adjust Font Size on webpage / java...

User 469369 Photo


Registered User
46 posts

I searched font adjust, and did not see anything like this. But we have all seen it on some websites, but not all, an option for the end user, on a website, to adjust the size of the font. I found one just now, here is the part of the veiw source page:


<div class="font_adjust">
<a id="sizexsmall" href="nojavascript...handleSetFontSize(FONT_SIZE_XSMALL);" title="Font Extra Small">A</a>
<a id="sizesmall" href="nojavascript...handleSetFontSize(FONT_SIZE_SMALL);" title="Font Small">A</a>
<a id="sizemedium" href="nojavascript...handleSetFontSize(FONT_SIZE_MEDIUM);" title="Font Medium">A</a>
<a id="sizelarge" href="nojavascript...handleSetFontSize(FONT_SIZE_LARGE);" title="Font Large">A</a>
<a id="sizexlarge" href="nojavascript...handleSetFontSize(FONT_SIZE_XLARGE);" title="Font Extra Large">A</a>
</div>
</div>


Here is link to the webpage that it was on:
http://html.cita.uiuc.edu/
My current website that is always under construction:

http://www.novacre.pro/
User 133269 Photo


Registered User
2,900 posts

Hmm - i made my own php script to do it - just set a session variable then a
if set {add this css}
type thingy
http://www.summerset.co.nz/choices.php
That way it does more than the one page too...
Have fun
~ Fe Pixie ~

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.