[jQuery] Hmm, am I doing something wrong?

[jQuery] Hmm, am I doing something wrong?


Okay, just started using jQuery yesterday for real meaty goodness type things (been playing with it overall for a couple weeks in little bits, mostly the effects stuff).
Here's my dilemma: I'm working on a project that uses a standard "appears on mouseover" dropdown menu script (that it needs to match up to other sites by the same company). But it's a little iffy about when it closes by itself, so usually we have to apply onmouseover events to the items around it that will force it to close when you move away from it. So I'm using jQuery to do this but it doesn't always seem to apply all of them in Firefox 1.5.
The code I'm using is...
<script type="text/javascript">
/* <![CDATA[ */
    $(document).ready(function(){
        $("#leaderboard").mouseover(function(){ P7_autoLayers(0); });
        $("#contentcontainer").mouseover(function(){ P7_autoLayers(0); });
        $("#sidebar").mouseover(function(){ P7_autoLayers(0); });
        $("#themethumbs").mouseover(function(){ P7_autoLayers(0); });
        $("#adsright").mouseover(function(){ P7_autoLayers(0); });
    });
/* ]]> */
</script>
It always applies the mouseover action to the #leaderboard and #themethumbs items, but not always to the others (which doesn't make sense to me since it's twitching out on stuff out of order, even).
Anyone seen anything similar to this go on? Always seems to work peachy in IE (blech).
-Mike
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/