View Full Version : Java dynamic text resizing in GoLive

08-10-2005, 12:54 AM
I am a web developer designing a web site for a client who would like to make their text resizable with buttons on their web pages. I discovered a java script and have attempted to make it work on my page design by following the posted instructions on dynamicdrive.com.


However, I am not programmer and am having limited success. If you have time to take a look and give me a pointer or two it would be much appreciated. I can see the script is doing something (tables shifting across the page) but the text on each page is not resizing.

I have posted the html files at:


I have also zipped a copy of the html documents and images at:


If there are other options for achieving the same effect please feel free.. I'm open to whatever works the best and simpliest.

Thanks for any help


B Thayer

08-10-2005, 02:46 AM
You have the script linked to the page twice. Get rid of the link in the body, keep the one in the head. There is not much text on your page. Much of what appears to be text is actually images. To get this script to work on your page, define the font size using style and relative units. For example, where you have :

<font size="-2"Use the equivalent relative style:

<font style="font-size:.6em;"Then the script will work well in IE and OK in Firefox (requires two hits of the larger button at first on a freshly loaded page for some reason).

08-10-2005, 08:06 AM
This is going in my sig.

08-10-2005, 02:17 PM
Thanks for the help it seems to be working although your right, the "Make text bigger" button has to be clicked twice the first time.

I'm using Adobe Golive to do my design and coding. I'm wondering about the text sizing change you suggested. I'll have to dig into that one.

Thanks again for the help.