Thanks using children did the trick. So easy when you know how.
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
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
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
4 matches
Mail list logo