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 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 etc.  Using find will select all the
> elements in the tree.
>
> e.g.
>
> <div class="admin">
>         <div id="section_1" class="edit">
>                 <p style="display: none;">
>                 Links go here
>                 </p>
>                 <div class="admin">
>                         <div id="blurb_7" class="edit">
>                         <p style="display: none;">
>                         Links go here
>                         </p>
>                         Revolution
>                         </div>
>                 </div>
>         </div>
> </div>
>
>  In the example above I have removed the links so the code is more
> readable.
>
> So is it possible to just show the links for the element that I am
> currently hovering over?
>
> Thanks

Reply via email to