Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:36
Roll over images not working
Poster: taesl
Dated: Friday June 7 2002 - 16:36:44 BST
Trying to add a rollover image... here is my string that I need help with...
"<img src=diamond.gif border=0> LINKS","<"show-menu=link1 swapimage=arrow_over.gif",,,1
"<img src=diamond.gif border=0> LINKS", // section works fine!
"show-menu=link1 swapimage=arrow_over.gif",,,1 // section does not work!
String below works fine!... replacing the show-menu=link1 with insert link. // I use insert link as a reference point.
"<img src=diamond.gif border=0> LINKS","insert link swapimage=arrow_over.gif",,,1
I am open to suggestions....
Hey I got it to work!!!
Poster: taesl
Dated: Friday June 7 2002 - 17:59:24 BST
Here is my original string that did not work..
,"<img src=diamond.gif border=0> LINKS","show-menu=link1 swapimage=diamond_over.gif",,,1
Here is the new string that does work...
,"<img src=diamond.gif border=0> LINKS","<show-menu=link1> swapimage=diamond_over.gif",,,1 // I placed < > around the <show-menu=link1>
Hope this helps others....
Ooopps!
Poster: taesl
Dated: Friday June 7 2002 - 18:02:50 BST
Well the rollover image worked but now the submenu doesn't appear...
Darn!
Re: Hey I got it to work!!!
Poster: Hergio
Dated: Thursday June 13 2002 - 13:39:33 BST
I just posted this to another thread but i will copy it in case this is the one you are reading. Here is the syntax for having image roll overs work.
To have the menu item be a clickable link to a URL:
,"<img border=0 src=images/img.gif> milonic.co.uk",
"http://www.milonic.co.uk/ swapimage=/images/img_over.gif;",,,1
To have the menu item show a submenu:
,"<img border=0 src=images/img.gif> Web Tools",
"show-menu=qwebtools","# swapimage=/images/img_over.gif;",,0
Notice how to make it display a submenu you must put the swap image tag in the next area of commas (referred to as the Alternate URL section in the comments of the code) with a pound symbol and space placed before it.
Thanks...
Poster: taesl
Dated: Thursday June 13 2002 - 14:08:47 BST
Thanks, Hergio,
I got the same information from Andy last week. His support is great and he replies in a short time!
I have another problem that has arised from this image swap but I should have a fix soon. Keep up the excellent help...
Cheers,
Ken