[jQuery] Re: Hiding and Showing Elements on a page with mouse over

2008-10-29 Thread gogojuice
Thanks using children did the trick. So easy when you know how.

[jQuery] Re: Hiding and Showing Elements on a page with mouse over

2008-10-29 Thread ricardobeat
Use children('p') instead of find('p'), or put a class in the links container. On Oct 29, 3:06 pm, gogojuice <[EMAIL PROTECTED]> wrote: > OK that now shows and hides all the elements.  I'm not sure that find > will work as there is something that I forgot to mention.  Elements > can be nested ins

[jQuery] Re: Hiding and Showing Elements on a page with mouse over

2008-10-29 Thread gogojuice
OK that now shows and hides all the elements. I'm not sure that find will work as there is something that I forgot to mention. Elements can be nested inside other elements. So basically you can have a section with some text inside which in turn can have another section with more text inside etc

[jQuery] Re: Hiding and Showing Elements on a page with mouse over

2008-10-29 Thread tpb976
I would maybe try something like this after the line $ (ptotoggle).hide() $(this).mouseover(function() { $(this).find('p').show(); } ).mouseout( function() { $(this).find('p').hide(); } ); You may need to mess with the size of the box to make sure the mouseover area is where