PDA

View Full Version : TextSizer



genjutsushi
12-01-2005, 04:26 PM
Using the textsizer (http://www.dynamicdrive.com/dynamicindex9/textsizer.htm) script, is it possible to modify it so that it could be used in a list/menu within a form? The additional query is that I would like it to 'jump' to a specific size.

For example:


<form id="form1" name="form1" method="post" action="">
<select name="select name="newTextSize" class="ddbutton" size="1" id="newTextSize" onChange="javascript:ts('body',1)">
<option value="0">9</option>
<option value="1">10</option>
</select>

So by selecting 10 from the menu the font size would increase to 1 or x-small.

No idea if that's possible with this script...

Thanks if anyone can shed light on it.