jquery hover

Out of context: Reply #6

  • Started
  • Last post
  • 12 Responses
  • bigtrickagain0

    i'm not sure what the problem is? amullins' script should work - you're just adding and then removing the hoverClass, you're not changing any other class. like if you had

    <a class="red" /> <a class="red" /> <a class="blue" /> <a class="blue" />

    and you used jquery's hover class in the way amullins specified, if you mouseovered the third link you'd have

    <a class="red" /> <a class="red" /> <a class="blue hoverClass" /> <a class="blue" />

    and when you mouseouted again you'd have:

    <a class="red" /> <a class="red" /> <a class="blue" /> <a class="blue" />

    that seems to be what you're asking for right there - if not, clarify plz (:

View thread