Results 1 to 2 of 2

Thread: combining DHTML scripts

  1. #1
    Join Date
    Nov 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default combining DHTML scripts

    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.

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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    HTML Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •