Comments on: Build a Better Tooltip with jQuery Awesomeness http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/ Web Development & Design Tutorials Sun, 21 Mar 2010 12:26:28 +0000 http://wordpress.org/?v=2.9.2 hourly 1 By: 40 Exceptional jQuery Interface Techniques and Tutorials « HUE Designer http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-4/#comment-234197 40 Exceptional jQuery Interface Techniques and Tutorials « HUE Designer Wed, 17 Mar 2010 12:16:06 +0000 http://net.tutsplus.com/?p=3478#comment-234197 [...] 4. Build a Better Tooltip with jQuery Awesomeness [...] [...] 4. Build a Better Tooltip with jQuery Awesomeness [...]

]]>
By: 30个非常流行的提示信息插件(jQuery Tooltip Plugin) - IETester http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-4/#comment-234024 30个非常流行的提示信息插件(jQuery Tooltip Plugin) - IETester Wed, 17 Mar 2010 09:01:03 +0000 http://net.tutsplus.com/?p=3478#comment-234024 [...] 6. Awesomeness [...] [...] 6. Awesomeness [...]

]]>
By: 8 Solutions To Improve Your Design Layout | Techy Minds http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-233711 8 Solutions To Improve Your Design Layout | Techy Minds Wed, 17 Mar 2010 03:04:09 +0000 http://net.tutsplus.com/?p=3478#comment-233711 [...] Build a Better Tooltip with jQuery Awesomeness [...] [...] Build a Better Tooltip with jQuery Awesomeness [...]

]]>
By: Emrul Hasan Anni http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-228398 Emrul Hasan Anni Thu, 11 Mar 2010 09:22:30 +0000 http://net.tutsplus.com/?p=3478#comment-228398 This is a very nice and easy-setup tooltip. I want to know about 2 things. 1st - the tooltip disappears if the cursor is over the tooltip. It should not disappear if the cursor over it and 2nd - browser resizing problem. the position does not change if i scroll down. is there any solution to these problems? This is a very nice and easy-setup tooltip. I want to know about 2 things.
1st – the tooltip disappears if the cursor is over the tooltip. It should not disappear if the cursor over it and
2nd – browser resizing problem. the position does not change if i scroll down.
is there any solution to these problems?

]]>
By: 提升品质的8种设计布局方案 | TechTrack- 科技追踪 http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-227594 提升品质的8种设计布局方案 | TechTrack- 科技追踪 Wed, 10 Mar 2010 15:21:32 +0000 http://net.tutsplus.com/?p=3478#comment-227594 [...] Build a Better Tooltip with jQuery Awesomeness [...] [...] Build a Better Tooltip with jQuery Awesomeness [...]

]]>
By: 30个jQuery插件-Tooltip气泡悬浮框的 - 空杯网(EmptyCup.cn) – WEB前端开发设计_免费模版下载_网页设计素材分享! http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-226297 30个jQuery插件-Tooltip气泡悬浮框的 - 空杯网(EmptyCup.cn) – WEB前端开发设计_免费模版下载_网页设计素材分享! Tue, 09 Mar 2010 09:20:33 +0000 http://net.tutsplus.com/?p=3478#comment-226297 [...] 6. Awesomeness [...] [...] 6. Awesomeness [...]

]]>
By: yxwang http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-224369 yxwang Sun, 07 Mar 2010 14:48:43 +0000 http://net.tutsplus.com/?p=3478#comment-224369 So how can the width set to auto growth, I am English is not very good, do not know if you can understand not? So how can the width set to auto growth, I am English is not very good, do not know if you can understand not?

]]>
By: 30 jQuery Tooltip Plugins To Enhance Your Web Design | Creative Urbia http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-219655 30 jQuery Tooltip Plugins To Enhance Your Web Design | Creative Urbia Tue, 02 Mar 2010 16:10:55 +0000 http://net.tutsplus.com/?p=3478#comment-219655 [...] Build a Better Tooltip with jQuery Awesomeness [...] [...] Build a Better Tooltip with jQuery Awesomeness [...]

]]>
By: jQuery ipucu araçları « Web Önerilerimiz http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-212912 jQuery ipucu araçları « Web Önerilerimiz Wed, 24 Feb 2010 18:16:57 +0000 http://net.tutsplus.com/?p=3478#comment-212912 [...] 6. Awesomeness [...] [...] 6. Awesomeness [...]

]]>
By: Alvin C http://net.tutsplus.com/tutorials/javascript-ajax/build-a-better-tooltip-with-jquery-awesomeness/comment-page-3/#comment-209055 Alvin C Sat, 20 Feb 2010 04:21:01 +0000 http://net.tutsplus.com/?p=3478#comment-209055 Great tutorial! For those who haven't figured out the problem of resizing windows and the tip does not reposition itself, then the solution is basically re-calculate the offset every time the mouse hovers: <code> /* var offset = $(this).offset();//move inside the mouse over fn var tLeft = offset.left;//move inside the mouse over fn var tTop = offset.top;//move inside the mouse over fn //var tWidth = $this.width();//not referenced therefore not needed //var tHeight = $this.height();//not referenced therefore not needed */ /* Mouse over and out functions*/ $this.hover( function() { var offset = $(this).offset(); tipInner.html(tTitle); setTip(offset.top, offset.left); setTimer(); }, function() { stopTimer(); tip.hide(); } ); </code> Great tutorial!
For those who haven’t figured out the problem of resizing windows and the tip does not reposition itself, then the solution is basically re-calculate the offset every time the mouse hovers:


/*
var offset = $(this).offset();//move inside the mouse over fn
var tLeft = offset.left;//move inside the mouse over fn
var tTop = offset.top;//move inside the mouse over fn
//var tWidth = $this.width();//not referenced therefore not needed
//var tHeight = $this.height();//not referenced therefore not needed
*/

/* Mouse over and out functions*/
$this.hover(
function() {
var offset = $(this).offset();
tipInner.html(tTitle);
setTip(offset.top, offset.left);
setTimer();
},
function() {
stopTimer();
tip.hide();
}
);

]]>