PDA

View Full Version : anyone know how to do this increasing font size??


fattat
07-08-2009, 09:10 AM
anyone know how to do this increasing font size??
please see this website, on the top of the right hand size, there is a 3 different size of A that can changing the website page font size
http://www.hrc.org/


following is the code i get from that website
but i know very sure what is that..
do anyone have this kind of tutorial??

<p>Text Size</p> <a href="#" onclick="setActiveStyleSheet('', 1);return false;" title="Change text to small (default)"><img src="/structural_images/btn-txt-resize-small.gif" alt="Small Text" /></a> <a href="#" onclick="setActiveStyleSheet('Medium Text', 1);return false;" title="Change text to medium"><img src="/structural_images/btn-txt-resize-medium.gif" alt="Medium Text" /></a> <a href="#" onclick="setActiveStyleSheet('Large Text', 1);return false;" title="Change text to large"><img src="/structural_images/btn-txt-resize-large.gif" alt="Large Text" /></a>

edbr
07-08-2009, 09:50 AM
looks lik a javascript style changer
// ----------------------------------------------
// StyleSwitcher functions written by Paul Sowden
// http://www.idontsmoke.co.uk/ss/
// - - - - - - - - - - - - - - - - - - - - - - -
// For the details, visit ALA:
// http://www.alistapart.com/stories/alternate/