Live() Mouseenter mouseleave? Child div on hover dissapears. please help me.
- $( '#editableimage' ).live( 'mouseover', function() {
var topar = $(this).offset().top; var leftar = $(this).offset().left;
var elementwidth = $(this).width();
var customoffset = elementwidth - 32;
var lefta = leftar + customoffset;
var topa = topar + 10;
$('body').append( '<span id="editimg">asd</span>' );
$('span#editimg').css("top", topa+"px").css("left", lefta+"px").fadeIn("slow"); } )
.live( 'mouseout', function() { $('span#editimg').fadeOut("slow").remove(); } );
This is my code and its supposed to work like coda bubble and i have this problem when 'bubble' shows up i cant hover it it just dissappears. please help me if you need further details say so.