PDA

View Full Version : Help with a script... Pretty please?



nycguurl
05-23-2007, 11:52 AM
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.;)

jscheuer1
05-23-2007, 04:14 PM
Where it has:


href=fade_menu2.htm

Just change each fade_menu2.htm to the name of the page that you want it to go to.

nycguurl
05-23-2007, 07:44 PM
Wow! You are a genius!

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

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!;)

jscheuer1
05-23-2007, 08:30 PM
Well, contrary to what it says here:


// 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.

nycguurl
05-23-2007, 09:26 PM
That's the confusing part. No matter what images I put there (mouseover or mousedown) they aren't loading any faster. Strange.