Skip to main content

Pieter

Member since Jan 18, 2010

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel