ok thing is like this, I got 2 divs, one is my navigation, the other got the same number of li tags with almost same id's as my navigation, those li tags contains a graphic that suppose to slide when hover the nav. Let me explain...
this is my nav
<ul id="navInside">
<li><a id="nInicio" href="index.php" >Inicio</a></li>
<li><a id="nHistoria" href="history.php" >Historia</a></li>
<li><a id="nQuienes" href="aboutus.php" >Quienes somos</a></li>
this is what should move
<ul id="navSlides">
<li id="SnInicio"></li>
<li id="SnHistoria"></li>
<li id="SnQuienes"></li>
This is the jQuery code i got now....
$('#navInside li').hover(function (){
$("#S" + this.id).animate({top: '0px'}, 500)}, function (){
$("#S" + this.id).animate({top: '-70px'}, 500, 'swing');}
);
Can you help me get the right selector for this to work?
I been stuck for days... Thank you