Pieter
Member since Jan 18, 2010
- Profile: /members/5205-pieter.htm
- URL: http://www.datec.nl
- Comments: 3
Recent Blog Comments By Pieter
-
jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave
Posted on Jan 30, 2012 at 3:44 AM
davida, I have a similar situation, where multiple Divs are generated by repeating a control class in a loop in ASPX. The issue is you should not repeat the ID multiple times on the page. You can try solving your problem by changing the name of each DIV, for example by adding a counter in the loop ... read more »
-
jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave
Posted on Jan 18, 2010 at 6:00 PM
@Alex and @Ben, thanks. It needs further testing, but it looks like it works now. Instead of using the mouseleave() event of one of the overlapping div's, I now use a mouseenter() event of the main page content to clean up the div panels.... read more »
-
jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave
Posted on Jan 18, 2010 at 12:06 PM
Thanks for posting this, it clarifies a lot! I thought I'd extend this a bit further, but that does not seem to work. I have two div panels, and when hovering over the first, i am showing the second. I hoped to do this using the hover() method: $('#id1).add('#id2).hover(.... The code above trigge... read more »