That's because when your new div pops up and your mouse is "in" that new div you are no longer hovering on the old location. My suggestion first is to use jquery's hover instead of specifically stating mouseenter etc... and then look at the plugin hoverintent. But for a fix to your problem you need to set the pop up div's position to absolute.
Jsfiddle. Net/DmnMQ/2 – shaahin Jul 5 at 5:55 1 By definition your code won't work. You want the tooltip to show up when you mouse over something and go away when your mouse leaves, however, as soon as the tooltip pops up to the mouse position by definition that means it leaves your original location.
I created a fiddle jsfiddle. Net/DmnMQ/12 with an example of what I'd do but if anyway possible I'd try to use existing code for jquery tool tips. – kasdega Jul 5 at 15:12 Thank you so much :) : – shaahin Jul 6 at 4:35.
My advice is that tooltips can appear quickly but disappear fast (less disturbing for the user). So your code would be: $(function () { $(". Test").
Bind("mouseenter", function (e) { $("#ToolTipDIv"). Offset({ left: e. PageX, top: e.
PageY }); $("#ToolTipDIv"). Show('normal'); }); $(". Test").
Bind("mouseleave", function (e) { $("#ToolTipDIv").hide(); //Note I removed 'slow' }); }); And, add a position: absolute; style to your tooltip element. I've updated your fiddle: jsfiddle.net/DmnMQ/3/ and it's running OK. Hope this helps.Cheers.
I Checked your fiddle. Tooltip should shows on mouse position. – shaahin Jul 5 at 4:56 So you could use mousemove instead of mousenter – Edgar Villegas Alvarado Jul 5 at 6:15.
Why don't you use the tiptip jquery plugin found in the link below since its much simpler. code.drewwilson.com/entry/tiptip-jquery-... You can wrap your code inside a span like so and let the plugin take care of the rest. No point in reinventing the wheel.1.
I am loading tooltip content form AJAX request. – shaahin Jul 5 at 4:57 You could just as easily set the title of the span via javascript cant u? – Harindaka Jul 5 at 6:10.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.