Hi there,
Simple one (I hope). I have this jquery code:
Code JavaScript:$('.maps').hover(function() {$(".maps > div").animate({top:'-192px'},200)}, function() {$(".maps > div").animate({top:'2px'},150)});
It's a simple content-hover effect making a div - .maps > div - slide up to show some extra info when hovering over .maps. Since I have three different instances of .maps, when I hover over any of them, I have the .animate effect running in all three of them at the same time. I guessed (this) would sort the thing out, but I don't seem to be able to find the right place, or way to insert it in my code. Any tips?
Thx and kind regards.



Reply With Quote
Bookmarks