Re: [jQuery] Designing for reuse

2006-12-02 Thread Jörn Zaefferer
Hi Alan! Thus, jQuery can take the controller centric model and make it lot more powerful. It would be really great if you could put an example showing what you described here. Something to click trough to see it in action. -- Jörn Zaefferer http://bassistance.de

Re: [jQuery] Designing for reuse

2006-12-02 Thread Jörn Zaefferer
Alan Gutierrez schrieb: I'm now growing partial to this convention... $(div.grid).grid() .data(gridData). .columns(2, 3, 7) .select() .sortable() .grid() .rowHeight(22)

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Jörn Zaefferer
Karl Swedberg schrieb: When I was updating the jTip plugin, I ran into the same problem that Brice mentions below with the scrollbar flicker (in FF only.) http://test.learningjquery.com/jtiptest.htm I never did get around to exploring the issue any further, but if I find some time and

Re: [jQuery] Designing for reuse

2006-12-02 Thread Christof Donat
Hi, // imagine yourself some code in these functions. [...] Event.observe($(#switch), 'click', switchViews) I like that. In jQuery-style it could be something like this: jQuery('#switch').bind('click',function() { var showme = jQuery.treeView('#mytree'); var hideme =

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Brice Burgess
Jörn Zaefferer wrote: Karl Swedberg schrieb: When I was updating the jTip plugin, I ran into the same problem that Brice mentions below with the scrollbar flicker (in FF only.) http://test.learningjquery.com/jtiptest.htm I never did get around to exploring the issue any further, but if

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Karl Swedberg
On Dec 2, 2006, at 11:09 AM, Brice Burgess wrote: Did you try setting overflow on body (or parent element) to hidden -- then switching back to previous condition after calculations display? ~ Brice That's a great idea, Brice. Thanks for the tip! (pun intended.) I'll try it out as soon as

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Jörn Zaefferer
I tried to find a soltuin again, but it's pretty ugly: jQuery's hack to calulate the dimensions while the element is not visible doesn't help, because it has to at the right position to take the right dimension. But it doesn't even work with a fixed width, maybe there is still something

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Jörn Zaefferer
Did you try setting overflow on body (or parent element) to hidden -- then switching back to previous condition after calculations display? In addition to my previous message: Of couse this isn't so nice when there are already scrollbars. D'oh. -- Jörn Zaefferer http://bassistance.de

Re: [jQuery] Tooltip plugin update

2006-12-02 Thread Brice Burgess
Jörn Zaefferer wrote: Did you try setting overflow on body (or parent element) to hidden -- then switching back to previous condition after calculations display? In addition to my previous message: Of couse this isn't so nice when there are already scrollbars. D'oh. True :)

[jQuery] removeAttr() break in IE

2006-12-02 Thread Mehdi Kabab
Hi, I'm encountering a bug in removeAttr() method. Under IE, removeAttr's action doesn't work. You can test this in this page : http://gimp4you.eu.org/sandbox/js/test/removeAttr.html (jQuery 1.0.3) Mehdi. -- View this message in context:

Re: [jQuery] removeAttr() break in IE

2006-12-02 Thread Jörn Zaefferer
Mehdi Kabab schrieb: Hi, I'm encountering a bug in removeAttr() method. Under IE, removeAttr's action doesn't work. You can test this in this page : http://gimp4you.eu.org/sandbox/js/test/removeAttr.html It's true that removeAttr is quite limited. But your examples can be easily

Re: [jQuery] removeAttr() break in IE

2006-12-02 Thread Jörn Zaefferer
Mehdi Kabab schrieb: Hi, I'm encountering a bug in removeAttr() method. Under IE, removeAttr's action doesn't work. You can test this in this page : http://gimp4you.eu.org/sandbox/js/test/removeAttr.html After a second thought, maybe something like this could fix it. Extend this:

Re: [jQuery] Window Size

2006-12-02 Thread Brice Burgess
wycats wrote: Is there a jQuery way to get the window size cross-platform, or should I be using the algorithm at: I stripped the code used to get the window height from the dimensions plugin created a very small extension reminiscent of Klaus's old function; $.viewportHeight =

[jQuery] Slider with jquery?

2006-12-02 Thread Tolis Christomanos
Can anyone tell me if theres a slider plugin for jquery? Thanks in advance. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Slider with jquery?

2006-12-02 Thread Ⓙⓐⓚⓔ
Yehuda was working on a slider a few months ago... his demo page doesn't work right now... he may have a demo somewhere... wait for him! On 12/2/06, Tolis Christomanos [EMAIL PROTECTED] wrote: Can anyone tell me if theres a slider plugin for jquery? Thanks in advance.

Re: [jQuery] Slider with jquery?

2006-12-02 Thread Brice Burgess
Tolis Christomanos wrote: Can anyone tell me if theres a slider plugin for jquery? Thanks in advance. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Scripting Iframes

2006-12-02 Thread meekish
I already posted about this, but it was a bit of a half-hearted post and (big surprise) no one replied. So let's try this again... Here's what I need to do: I am using an iframe on my web site to display other pages on my site. So, I have full control over the parent page and the page in the

Re: [jQuery] Scripting Iframes

2006-12-02 Thread Ⓙⓐⓚⓔ
Since everybody is off partying or doing other things, I'll throw a few hints your way... 1) drop the onload! 2) your iframe with id iframe is not in a div , so the code won't find it! you want $(#iframe) 3) you don't need charset for inline scripts 4) you have/script/script in the iframe 5) I