Your selector

$("#wrapper #topbar a.nav")

your html

<a href="#">home</a>


See the problem between the two?






On Oct 10, 10:52 am, Liam Potter <[EMAIL PROTECTED]> wrote:
> Still not working, your example works fine, put in some similar edits to
> make it work like i want it, still works
> i copied over to my html and it doesn't work no mores, here is my code
>
> http://paste.pocoo.org/show/87601/
>
> MorningZ wrote:
> > This might help you out
>
> >http://paste.pocoo.org/show/87599/
>
> > On Oct 10, 9:33 am, evo <[EMAIL PROTECTED]> wrote:
>
> >> Hi, new to jQuery trying to have a span fade in and fade out when I
> >> hover over a link. this is the js
>
> >> <script>
> >> $(document).ready(function(){
> >> $("a.nav").mouseover(function() {
> >> $(".fadeit").fadeIn(500);}).mouseout(function() {
>
> >> $(".fadeit").fadeOut(500);})
>
> >> </script>
>
> >> this is the nav markup
>
> >> <ul class="navigation right">
> >> <li><span class="fadeit"></span><a href="#" class="nav">home</a></li>
> >> <li><span class="fadeit"></span><a href="#" class="nav">purchaser</a></
> >> li>
> >> <li><span class="fadeit"></span><a href="#" class="nav">supplier</a></
> >> li>
> >> <li><span class="fadeit"></span><a href="#" class="nav">market</a></
> >> li>
> >> <li><span class="fadeit"></span><a href="#" class="nav">contact</a></
> >> li>
> >> </ul>
>
> >> can anyone tell me why this isn't working?
> >> I'm a little lost.

Reply via email to