Hi, I have drop down navigation on my site (test page : http://www.bozebo.com/index2.php) that tweens in and out. The problem is that the mouseover and mouseout events seem to be called when the mouse moves over elements within the original li that has the events on it. How do I tweek it to stop my navHover function from doing anything in these conditions.
You may want the relevant js file, and of course you can see the markup by viewing the source of my site but I will pull out one of the main parts for you:
Code:
<li onmouseover="navHover('tutorials',1,this)"
onmouseout="navHover('tutorials',0,this)">
<a href="tutorials">Tutorials</a>
<ul id="tutorials">
<li><a href="tutorials/php">PHP</a></li>
<li><a href="tutorials/javascript">Javascript</a></li>
<li><a href="tutorials/xhtml">XHTML</a></li>
<li><a href="tutorials/css">CSS</a></li>
<li><a href="tutorials/c">C/C++</a></li>
</ul>
</li>
Thanks in advance, I have posted on a couple of other forums some days ago with about 50 views and 0 replies >_<
Note: the main site has a simpler version, without the tween thats not working. /index2.php is the test page
Last edited by Bozebo; 06-10-2008 at 12:45 PM..
|