Forums

Give help. Get help.

  • # November 20, 2012 at 3:47 pm

    Hi everyone

    I am just learning the syntax of jQuery and I was wondering if you could help me to see where I am going wrong.

    I know it can be done with CSS easily, it’s just something I am trying out with jQuery instead to get used to it, I want the darkgreen colour to take effect when I hover over each anchor in the navigation and go back to its original colour when the mouse leaves the anchor. It seems to be activating ALL anchors, how do I single it out to just one at a time?

    Here is my pen – http://codepen.io/Watson90/pen/icAFl

    Thanks in advance…

    # November 20, 2012 at 4:00 pm

    @ToxicFire YES! I remembered seeing something about ‘this’ but I couldn’t figure out how to put it into the code, works perfect now. Thanks!

    Would you recommend anything else to help me learn jQuery? Or is it best to just play around with the code to explore the possibilities?

    # November 20, 2012 at 4:03 pm

    @ToxicFire – thanks will do :)

    # November 20, 2012 at 5:16 pm

    Cheers for that @andy_unleash :)

    Really want to get more confident with jQuery, seems so difficult at the minute though…

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag