tags:

views:

40

answers:

1

Hi written tool tip snippet , its throwing Error like TOO MUCH RECURSION ERROR ,

How to fix this error ,

Here is the URL please look thanks

plz look this

+1  A: 

Change

onmouseout="onmouseout();" 

to something like

onmouseout="onmouseoutfncall();" 

Also you don't have to each time append and remove the tool tip. Just show and hide that.

$("a.screenshot").hover(function(){
    var title_a = $(".screenshot").attr("rel");
    var tip = $("#screenshot");
    tip.children("span").text(title_a);
    tip.show();                              
}
},
function(){
    var tip = $("#screenshot");
    tip.hide();
}).bind("mousemove", function(){
    $("#screenshot").css({"top": "41px", "left": "41px"}).fadeIn("fast");
});

<p id='screenshot'><SPAN></SPAN></p>
rahul
i thing some other script stopping my tooltip...can you please refer very simple tool tip snippet, Thanks
Bharanikumar