PDA

View Full Version : combining DHTML scripts



ambochef
11-30-2005, 01:50 AM
Hi,

I have been trying to mix the floating menu script, the Vertical menu script, and a graphics mouse over script so that I have a menu that floats on the side, has a vertical menu that you can click on and an extended menu will show. I am trying to change the words into graphics so it looks good.

I am geting script error messages, but can't find the problem.. here is my script code .. thanks for your help.

----------------------------------------------------------------------

jscheuer1
11-30-2005, 08:29 AM
To begin with:

FP_swapImg();

isn't defined anywhere on the page or in any script linked to it. Other than that, the thing floats and the menus drop down. You will get no image swaps without the code for them. You will also need all of the images named on your page, only a handful of them were in your .zip file. The whole FP_swapImg(); thing could be replaced with:


<img border="0" id="img1" src="button9E.jpg" height="33" width="100" alt="Button Text" onmouseover="this.src='button9F.jpg'" onmouseout="this.src='button9E.jpg'" onmousedown="this.src='buttonA0.jpg'" onmouseup="this.src='button9F.jpg'">

If all you want is simple image swapping.