Displaying 3 results from an estimated 3 matches for "onmouseleav".
Did you mean:
onmouseleave
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello.
I spent an hour or three chasing down a desired effect that mootools
implements, namely the simulation of onmouseleave and onmouseenter
events.
Why?
Lets say you have a Menu. A ul element that contains many li elements.
If you want to have a function (maybe an effect) fire when the mouse
moves outside of the ul, you are out of luck. Observe the mouseout
function like so:
Event.observe(nav, ''mouseout...
2006 Apr 07
13
Pop up menus - any ideas?
...;
<% for subcategory in category.subcategories %>
<%= link_to subcategory.name, :action => ''category'', :id =>
subcategory %>
<% end %>
</div></div>
<% end %>
Problems:
Obviously, the subcategories will never dissappear. Is there a
onmouseleave action I could wrap around it?
The pop-up is inconsistent. Not sure about this one. I think it''s
because the <a href ... > isn''t actually part of the link.
Any ideas or thoughts? Anything would be welcome.
Thanks,
Adam
--
Posted via http://www.ruby-forum.com/.
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t
know it well. Second, I am more of a server-side programmer than a
client-side programmer.
In my page, I have a div that appears as a result of a link mouseover
event. This div is nested within another div that houses everything
(id = ''menuContainer''). I want the resulting div (which is a submenu)