• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jquery script help ...

I have a big list of tags for posts, and they look something like this, coming from a foreach so there could be a lot of them
<div id="$id_tag" class="tagWrap">
<div class="tagRight"></div>
<div class="tagLeft">$tag_text</div>

But what I'm trying to do is in jquery on .mouseover() make just the one moused over fade so I can show a delete button.
I don't know how to get the id from .tagWrap ??

$(document).ready(function() {
$('.tagWrap').mouseover(function() {


where is .closeButton located in the XPATH? Do you have a .closeButton for every post? or you have only one .closeButton for all then make it beside the post when you mouseover? This seems like this should be in the jQuery forums. But could you send at least a complete view of your HTML with at least only two posts?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.