Re: [jQuery] Plugin Release: Tooltip

2006-11-11 Thread Roger Ineichen
Hi Jörn Any guidelines for testing or finding circular references? Drip is probably what you are looking for. http://outofhanwell.com/ieleak/index.php?title=Main_Page Regards Roger Ineichen _ Projekt01 GmbH www.projekt01.ch

Re: [jQuery] Plugin Release: Tooltip

2006-11-10 Thread Michael Geary
From: Michael Geary (function($) { // plugin code here })(jQuery); From: Sam Collett I've seen that used before, but can it have memory leak or other issues? Sorry about the very slow reply, Sam. That's a good point. The use of the closure could result in memory leaks

Re: [jQuery] Plugin Release: Tooltip

2006-11-10 Thread Jörn Zaefferer
Michael Geary schrieb: I've seen that used before, but can it have memory leak or other issues? Sorry about the very slow reply, Sam. That's a good point. The use of the closure could result in memory leaks depending on what the rest of the code does. They should be fixable -

Re: [jQuery] Plugin Release: Tooltip

2006-11-07 Thread Jörn Zaefferer
Hi Klaus! Now you could basically bind the tooltip showing to whatever event you can think of. Dunno what else then mouseover and click make any sense... The focus event! Finally a tooltip solution that would be device independent! Yeah! You should make focus the default! Just tried

Re: [jQuery] Plugin Release: Tooltip

2006-11-07 Thread Klaus Hartl
Jörn Zaefferer schrieb: Hi Klaus! Now you could basically bind the tooltip showing to whatever event you can think of. Dunno what else then mouseover and click make any sense... The focus event! Finally a tooltip solution that would be device independent! Yeah! You should make focus the

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Jörn Zaefferer schrieb: Hi jQueryians! I actually managed to release my first official and documented jQuery plugin, a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title and href attributes and some styles. You can customize the delay after which it should be

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi jQueryians! I actually managed to release my first official and documented jQuery plugin, a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title and href attributes and some styles. You can customize the delay

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Sam Collett schrieb: On 06/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi jQueryians! I actually managed to release my first official and documented jQuery plugin, a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title and href attributes and some styles. You can

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Michael Geary
From: Jörn Zaefferer I actually managed to release my first official and documented jQuery plugin, a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title and href attributes and some styles. You can customize the delay after which it should be displayed, default is

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Michael Geary
http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/ A suggestion - perhaps you should use 'jQuery' instead of '$' as isn't that the convention for plugin authoring? The code does use jQuery instead of $. Jörn used the trick I suggested a while back to get the best of both

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
A suggestion - perhaps you should use 'jQuery' instead of '$' as isn't that the convention for plugin authoring? Jörn took care of that and simulated block scope: (function($) { ... })(jQuery); Aye, another lesson I learned from the great Michael Geary :-) It allows me to

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Jörn Zaefferer schrieb: A suggestion - perhaps you should use 'jQuery' instead of '$' as isn't that the convention for plugin authoring? Jörn took care of that and simulated block scope: (function($) { ... })(jQuery); Aye, another lesson I learned from the great Michael Geary :-)

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, Michael Geary [EMAIL PROTECTED] wrote: http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/ A suggestion - perhaps you should use 'jQuery' instead of '$' as isn't that the convention for plugin authoring? The code does use jQuery instead of $. Jörn used the

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: By the way, as nearly no one uses the convention for filenaming (jquery.xxx.js): I think it's time to simply remove it, any objections? -- Jörn Zaefferer http://bassistance.de -- I do find it helpful as it shows that jQuery is required

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
I like it! Using the title attribute instead of XHR degrades much better (uh, it degrades at all). I have done something similiar for Plazes, not very mature, quick and easy. Maybe I'm going to switch, but I'd need a clickable tooltip (appears on click only). Maybe you will add that some

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
It doesn't behave the same as a standard tooltip, though. Tooltips don't usually track the mouse - once a tooltip is displayed it doesn't move. It would be nice to have that option. In fact, instead of the defaults being no delay and mouse tracking, I'd suggest making the defaults follow the

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Andy Matthews
I get an error in IE6/PC on your demo page. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Paul McLanahan
Excellent work Jörn (yet again), The only suggestion I have deals with displaying the tips close to the right side of the screen. You do an excellent job of handling the width of the tip when it is close to the right edge of the window, but if a word is too long inside of the tip it will push

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
I get an error in IE6/PC on your demo page. I just tested it again but couldn't see any issues. Could give me a hint what exactly is failing? By the way, it's interesting that IE reports src attributes as href attributes... -- Jörn Zaefferer http://bassistance.de -- Der GMX SmartSurfer

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
The only suggestion I have deals with displaying the tips close to the right side of the screen. You do an excellent job of handling the width of the tip when it is close to the right edge of the window, but if a word is too long inside of the tip it will push outside of the viewable area

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Christopher Jordan
I get the error too. Here's a screen shot: Hope this helps. Chris Jrn Zaefferer wrote: I get an error in IE6/PC on your demo page. I just tested it again but couldn't see any issues. Could give me a hint what exactly is failing? By the way, it's interesting that IE

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Andy Matthews
programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jörn Zaefferer Sent: Monday, November 06, 2006 8:36 AM To: jQuery Discussion. Subject: Re: [jQuery] Plugin Release: Tooltip

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
I'm getting... $(a, label, input).not(#yahoo).Tooltip is not a function In FF 1.5.0.7/Win, and FF 2.0 Linux. And I get the Object doesn't support this property or method worthless error in IE7. Oh bugger. I just forgot to update the html file, sorry for the confusion. All reported

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Andy Matthews
PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Matthews Sent: Monday, November 06, 2006 8:59 AM To: jQuery Discussion. Subject: Re: [jQuery] Plugin Release: Tooltip In IE6/PC I get the following error

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Jörn Zaefferer
Original-Nachricht Datum: Mon, 6 Nov 2006 09:12:06 -0600 Von: Andy Matthews [EMAIL PROTECTED] An: jQuery Discussion. discuss@jquery.com Betreff: Re: [jQuery] Plugin Release: Tooltip I just tested the demo page with FF 1.5.0.7 and it works great, but there's an oddity that I

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Jörn Zaefferer schrieb: So show would have either a Number value (delay) or a String like onclick or click. click would be intersting, then I could implement that like this: [...] if(typeof settings.show == String) this[settings.show](show); [...] Interesting how ideas evolve at the

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Jörn Zaefferer schrieb: Yeah, JavaScript rocks! Still learning... Yep. Just after writing the answer to your proposal, I modified it to this: options = $.extend({ [...] event: mouseover, [...] }, options || {}); [...] .bind(options.event, bind); // bind is the callback to

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Klaus Hartl
Klaus Hartl schrieb: The focus event! Finally a tooltip solution that would be device independent! Yeah! You should make focus the default! -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Michael Geary
From: Paul McLanahan The only suggestion I have deals with displaying the tips close to the right side of the screen. You do an excellent job of handling the width of the tip when it is close to the right edge of the window, but if a word is too long inside of the tip it will push

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Karl Swedberg
On Nov 6, 2006, at 11:59 AM, Michael Geary wrote: Great idea, and it's not too hard to do... [see full email below] Well done, Michael! Wow, I have so much to learn. On Nov 6, 2006, at 9:51 AM, Jörn Zaefferer wrote: Your suggestion of flipping the tooltip would be the best solution, but not