Script Title: Document Text Sizer
Script URL (on DD): Document Text Sizer
Describe problem: I am using this nice little javascript on my website to allow users to resize the text on my webpages.
I have it working perfectly, and with no problems, but I am looking to add more tags to the javascript.
The two CSS buttons that controls the increase and decrease of the text size looks like this:
That makes the javascript resize all text within theCode:<a href="javascript:ts('textarea',-1)" class="decrease"></a> <a href="javascript:ts('textarea',1)" class="increase"></a>container.Code:<div id="textarea">
I would like to add another Div ID to the increase/decrease buttons, though, so that the text in my, which is outside theCode:<div id="footer">, will also have its text increased/decreased.Code:<div id="textarea">
I have tried putting in the footer this way;, but that didn't work.Code:<a href="javascript:ts('textarea','footer',-1)" class="decrease">
How do I do this?
Cheers,
Bassa



Reply With Quote

Bookmarks