PDA

View Full Version : Mini Mods - Text Larger/Smaller on Navbar


SuSpect
07-05-2007, 10:00 PM
Hi all,
Author Description: Sometimes the text size you've specified for your webpage isn't suitable to the viewer, depending on his browser configuration or OS. This useful script by Taewook uses Dynamic CSS to let the viewer himself modify the text size of the page on demand, by clicking on an Increase or Decrease Font Size link. Now that's a kind of personalization your viewers may just appreciate!

How to Install?
1- First download textsizer.js and upload your forum directory (/forum/textsizer.js if you dont use /forum directory; then upload www.domain.com/textsizer.js)
2- Upload image files to your /images directory.

Admincp >> Style Manager >> Your Skin >> Navigation / Breadcrump Templates >> navbar

Find this code
<!-- breadcrumb, login, pm info -->

Then add above

<script type="text/javascript" src="textsizer.js">
</script>

<a href="javascript:ts('body',1)"><img src="images/plus.gif" alt="Larger Text" border="0"></a>
<a href="javascript:ts('body',-1)"><img src="images/minus.gif" alt="Smaller Text" border="0"></a>

If you like this mod, please click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=151490)

Enjoy;)

valdet
07-06-2007, 12:04 PM
A very neat trick, thanks.

I modified it to display in the toolbar and it looks great..

4x4 Mecca
07-06-2007, 03:55 PM
Installed, but then uninstalled since it doesn't remember it for every page load. Everytime you leave a page, it reverts back to normal.

SuSpect
07-06-2007, 09:34 PM
A very neat trick, thanks.

I modified it to display in the toolbar and it looks great..
Nice idea, you can put this code anywhere :up:

Installed, but then uninstalled since it doesn't remember it for every page load. Everytime you leave a page, it reverts back to normal.
Yes, thats true. Not for all pages :)

djbaxter
07-06-2007, 09:57 PM
Installed, but then uninstalled since it doesn't remember it for every page load. Everytime you leave a page, it reverts back to normal.

Thanks for the alert. It's probably more efficient to use the "zoom" feature in Internet Explorer.