[jquery-dev] Re: Request: innerWidth/Height option for CSS size

2008-12-16 Thread ALLPRO
"margins ... are spacing and not part of the element's body" Oops - a typo - I meant "padding and borders", not margins. "it would be nice if innerWidth/Height and outerWidth could work as setters" This is *exactly* what I was talking about. To set outerWidth, a 'css- width' must be calculated

[jquery-dev] Re: First Round of 1.3 Patches

2008-12-16 Thread Diogo Baeder
Great ones, John! What about "isOrphan()" or "inDOM()" methods, to prevent uneeded JS processing for non-existant elements, as discussed before?: http://groups.google.com/group/jquery-dev/browse_thread/thread/ac5ca8eaa64fe9f1/af83ebdd79de479a?q=indom&lnk=ol&; Maybe a long discussion, but everyb

[jquery-dev] Re: First Round of 1.3 Patches

2008-12-16 Thread chris thatcher
mutli-namespace patch makes my day. On Tue, Dec 16, 2008 at 3:40 PM, Joe [at] subprint.com < joseph.is...@gmail.com> wrote: > > Nice one John...dig the new "closest()" method as well. > > cheers. > > --Joe > > http://www.subprint.com > > On Dec 16, 2:32 pm, "John Resig" wrote: > > Hi Everyone -

[jquery-dev] Re: First Round of 1.3 Patches

2008-12-16 Thread Joe [at] subprint.com
Nice one John...dig the new "closest()" method as well. cheers. --Joe http://www.subprint.com On Dec 16, 2:32 pm, "John Resig" wrote: > Hi Everyone - > > I have the first round of jQuery 1.3 patches > ready:http://dev.jquery.com/~john/jquery1.3/ > > This is in addition to the Sizzle selector

[jquery-dev] FF ajax errors

2008-12-16 Thread Lev Lvovsky
Apologies if this is a question more suited to a Firefox/Mozilla list. We're performing a recurring ajax call, wherein we use setTimeout to recursively call a function an n'th time after the nth-1 invocation of it has completed. In using both Firefox (Linux, OSX), and Safari (OSX), performin

[jquery-dev] First Round of 1.3 Patches

2008-12-16 Thread John Resig
Hi Everyone - I have the first round of jQuery 1.3 patches ready: http://dev.jquery.com/~john/jquery1.3/ This is in addition to the Sizzle selector engine patch which I posted a little bit ago (and which I'll be making an updated version of very soon). The patches are as follows: append.patch:

[jquery-dev] Re: What about a first-parent ?

2008-12-16 Thread Just
Hi Ricardo ! Thanks to answering :). Yea should be "first-ancestor" so. On 16 déc, 13:43, Ricardo Tomasi wrote: > If you'll allow me, I believe what Just suggested should indeed be > possible with CSS only, as the same can be achieved in the other > direction. But the naming is confusing, there

[jquery-dev] Re: What about a first-parent ?

2008-12-16 Thread Just
Hi Karl, and thanks to answering :). That's actually what I do. But I think a selector could be useful... in css too ^^. On 15 déc, 18:10, Karl Swedberg wrote: > You could do this: > > $('input.toto').each(function() { >    $(this).parents('li:first').remove(); > > }); > > --Karl > > __

[jquery-dev] Re: Request: innerWidth/Height option for CSS size

2008-12-16 Thread Ricardo Tomasi
On Dec 15, 3:11 pm, ALLPRO wrote: > This greatly simplifies calculating a 'css width' that will result in > a predictable outerWidth. Ditto for height. This is pretty basic > stuff. What is predictable is behaviour that corresponds to what you have with CSS. Margins should be taken in conside

[jquery-dev] Re: What about a first-parent ?

2008-12-16 Thread Ricardo Tomasi
If you'll allow me, I believe what Just suggested should indeed be possible with CSS only, as the same can be achieved in the other direction. But the naming is confusing, there is only one possible parent so 'first-parent' would be redundant. Wouldn't that be the case of making the :first pseudo