PDA

View Full Version : FoldoutMenu3 - PLZ look at my broken test site


g-cottam
22.05.2001, 08:54
Due to no responses to my previous post I have uploaded to a new test site that does not have a registration page, to make it easier for people to see my problem.

The test site is at www.cottam.uk.net/test

For each main menu heading I would like to to be able to change an image when you mouseover the heading. As you can see my attempt gives a runtime error and does not work in NS.

Even if someone could tell me if it is possible or not would be a little help.

Any help would be much appreciated.

THANKS IN ADVANCE,

Gary Cottam

bratta
22.05.2001, 15:27
I had to make some pretty big changes to get this to work so I won't explain it here. You can download your file in a zip here:

http://www.dhtmlcentral.com/coolmenus/examples/withoutframes/test.zip

With the imageswap added.

There are 3 new arguments to the make function:

Imagename //The name of the image object you want to change
onimage // The path to the image you want to appear onmoouseover
offimage // The path to the image you want to appear on mouseout.

Look at the example url I made for you to see the syntax.

Good luck.

-Thomas Brattli-
http://www.bratta.com/
http://www.dhtmlcentral.com/

g-cottam
22.05.2001, 19:08
Thomas,

I do not wish to arselick to much, but the words star & genius spring to mind. Suffice to say, if you were here I would give you a big kiss or even break the habit of a lifetime and buy you a drink.

MANY, MANY THANKS, MUCH APPRECIATED

bratta
23.05.2001, 04:52
Glad it worked :)

-Thomas Brattli-
http://www.bratta.com/
http://www.dhtmlcentral.com/