Selector on two Lists

Selector on two Lists

Hi There,

First of all i'd like to say sorry for my bad english!
I have a littel probleme with my jquery scirpt.

I have a in my HTML Script two Lists:

  1. <article>
          <ul>
                <li><a href="#">Item 1</a></li>
                <li><a href="#">Item 2</a></li>
                <li><a href="#">Item 3</a></li>
          </ul>
    </article>

    <article>
          <ul>
                <li><a href="#">Item 1</a></li>
                <li><a href="#">Item 2</a></li>
                <li><a href="#">Item 3</a></li>
          </ul>
    </article>













I wanted if I hover on a "LI" Item that Only the other "LI" Item gets an class called "scale" - this works perfect with this code:

  1. $("section#content > article > ul > li").hover(function() { $("section#content > article > ul > li").not($(this)).addClass('scale'); }, function() { $("section#content > article > ul > li").removeClass('scale'); });

But I only wanted this function in the "UL" List where i hovered the "LI".
At this time the function work on both Article "ULs" :-(

Can anyone help me ?! :-)

Thanks a lot,
Angie