I don't know anything what elegant means, but this would be my way to  
do it.
I'm your onclick handler, set a flag such as menuIsClicked to true and  
in your onMouseOut handler, test that flag before hiding the image.

On to the pros for the ellegant solution.

Christophe

Le 14 oct. 2009 à 18:44, Darkie <masia...@gmail.com> a écrit :

>
> Hi guys,
> I've got a menu with 3 links. On every link onmouseover I get an image
> that appears on its left, onmouseout I hide the image. I do this with
> Effect.Appear for making it appear and $('id').hide() to make it
> hide.
> I want that when I click on a link (onclick), the images stays there
> even if I move the mouse out. Is there an elegant way to do it? If
> not, is there a way to do it? :-D
> Thanks
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to