Results 1 to 5 of 5

Thread: Help with a script... Pretty please?

  1. #1
    Join Date
    May 2007
    Posts
    99
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Unhappy Help with a script... Pretty please?

    I apoligize if I'm in the wrong forum. I think it's DHTML, though.

    I'm stuck. I got a beautiful fade menu script from this link:
    http://www.artdhtml.com/free/fade_menu2.htm

    The script is working perfectly, but when I go to hyperlink each menu item to the page I want, I can't because "fade_menu2.htm" is already in there from the script, and won't allow me to put my hyperlinks in.

    If someone could be so kind to go to that link and see what I mean, I'd be in your debt.

  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

    Where it has:

    Code:
    href=fade_menu2.htm
    Just change each fade_menu2.htm to the name of the page that you want it to go to.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2007
    Posts
    99
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Wow! You are a genius!

    Ok, I feel slightly... stupid now. Just slightly, LoL.

    I thought if I altered that, my pictures wouldn't fade anymore--like it would change the script. But I did it, and you're right.

    Now, to get my mouseover images to preload properly is a whole other story...
    I've all about given up on that.

    Thanks John!

  4. #4
    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

    Well, contrary to what it says here:

    Code:
    // image preload
    // add only mousedown images
    addImg('templates/home3.gif')
    addImg('templates/products3.gif')
    addImg('templates/order3.gif')
    addImg('templates/about3.gif')
    addImg('templates/contact3.gif')
    The way that the code is written, there is no reason why you cannot add any images you like here for preload. I would limit it to mouseover and mousedown images, as the images that are required when the page loads will not load any faster if included here.
    - John
    ________________________

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

  5. #5
    Join Date
    May 2007
    Posts
    99
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    That's the confusing part. No matter what images I put there (mouseover or mousedown) they aren't loading any faster. Strange.

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
  •