Hi All,
I've perused the forums, looking at the posts containing "rollover" and "swapimage" and I haven't found an answer. I have a swapimage in a menu item that opens a submenu. The swapimage in the main menu item appears while the mouse pointer is on it, as one would expect. But when the pointer is in the resulting submenu, the main menu item reverts back to its "mouse off" image. I see that this is also the case in the Dynamic Images example on the Milonic website (which makes me think that the answer to my question will be "no"). I would like to be able to have each previous-level swapimage persist while the entire menu chain remains open, kind of like the "mouse on background colors" do. Can this be done?
Kevin
Making a swapimage persist while a submenu is open
I'm looking for the same
Have you already tried with the backimage/overbackimage properties?
What I mean is like in this example:
http://www.milonic.co.uk/menu/menusample.php?sampleid=4
Regards
What I mean is like in this example:
http://www.milonic.co.uk/menu/menusample.php?sampleid=4
Regards
Well fine, here I've found a workaround
Here the code of one menu item
,"<img src=images/placeholder.gif border=0>","# backimage=images/navigationbar_01.jpg;overbackimage=images/navigationbar_01_over.jpg;",,,0
At least in IE 5.5 is working I'll see if it is working in others.
Have fun[/b]
,"<img src=images/placeholder.gif border=0>","# backimage=images/navigationbar_01.jpg;overbackimage=images/navigationbar_01_over.jpg;",,,0
At least in IE 5.5 is working I'll see if it is working in others.
Have fun[/b]
Re: I'm looking for the same
Hi somorgujo,somorgujo wrote:Have you already tried with the backimage/overbackimage properties?
What I mean is like in this example:
http://www.milonic.co.uk/menu/menusample.php?sampleid=4
Thanks for the reply. The example page you cited is actually the one I used to model my approach. That example uses swapimage, rather than backimage and overbackimage, so I also used the swapimage alt preoperty. But in fact, the example page suffers from the same thing I'm trying to avoid. That is, the image on a main menu selection reverts back to its "mouse off" state, when you move the pointer to one of its submenus items.
I had not been aware of the backimage and backoverimage properties. Are these alternate properties; to be placed in the script following the same rules as swapimage? I.e., can I place them also in the Alternate URL field? I'll give it a shot.
Thanks,
Kevin
This seems to work just in IE
Here is an example of how you must code one line to get this effect and a submenu
,"<img src=images/placeholder.gif border=0>","show-menu=aboutsyngenta","# backimage=images/navigationbar_01.jpg;overbackimage=images/navigationbar_01_over.jpg;",,0
but be aware that this property seems to be a little bit buggy and I test it in NS6, Opera 6.03 and is not working very well
Note: the placeholder image should be as big as the overbackimage but transparent
,"<img src=images/placeholder.gif border=0>","show-menu=aboutsyngenta","# backimage=images/navigationbar_01.jpg;overbackimage=images/navigationbar_01_over.jpg;",,0
but be aware that this property seems to be a little bit buggy and I test it in NS6, Opera 6.03 and is not working very well
Note: the placeholder image should be as big as the overbackimage but transparent
-
- Beginner
- Posts: 6
- Joined: Fri Oct 04, 2002 4:22 pm
well... i'm lost hehe
i've tried every permutation of the mouseover i can think of, including following the examples. no luck.
i am using a framed site, which is perhaps making it impossible?
the closest i got to it was this: the swap image appears, but then i get an error on line 34, object required. code looks like this.
,"<img src=images/button_listen.gif border=0 width=106 height=18>","/ swapimage=images/button_listen_on.gif;show-menu=listen target=core;sourceframe=core",,"#",1
in every other variation i get no error, but also no image.
thanks to anyone who can help! i've been trying for hours lol.
i am using a framed site, which is perhaps making it impossible?
the closest i got to it was this: the swap image appears, but then i get an error on line 34, object required. code looks like this.
,"<img src=images/button_listen.gif border=0 width=106 height=18>","/ swapimage=images/button_listen_on.gif;show-menu=listen target=core;sourceframe=core",,"#",1
in every other variation i get no error, but also no image.
thanks to anyone who can help! i've been trying for hours lol.