[jquery-dev] Re: detecting jQuery objects constructor property

2009-09-22 Thread Mickael DANIEL
Sure, I agree that Andrea's solution is far better. I'll even update the method I use to works with the instanceof way. On Sep 21, 7:44 pm, aHeckman aaron.heckm...@gmail.com wrote: Mickael, I'd use Andrea's solution instead for the same reasons: any object could have an .is() method. On Sep

[jquery-dev] Append some parameters in every ajax call's query string automatically

2009-09-22 Thread gMinuses
Is there a way to automatically append some parameters in every ajax call's query string? ajaxStart event doesn't send ajax options to callback function, so there is not way to modify the query string. ajaxSend event doesn't work with GET request, because the query string is already appended to

[jquery-dev] Re: find on large selects

2009-09-22 Thread DBJDBJ
Web 2.0 Apps and multi-thousand chidlren dom collections is an issue (aka: problem) I already am thinking about. There will be a point in a single page + ajax web apps which will make this (widely used) ad-hoc app design not-feasible. And Matt's problem is showing this clearly. Not yet, but

[jquery-dev] Re: find on large selects

2009-09-22 Thread Andrea Giammarchi
On Tue, Sep 22, 2009 at 9:49 AM, DBJDBJ dbj...@gmail.com wrote: if huge ajax result sets do result in generation of huge dom collections , even direct dom manipulation will show a visible (over 1 sec) delay. I manage thousands of records for different collections without problems in internet

[jquery-dev] Re: find on large selects

2009-09-22 Thread Matt Maxwell
Well, the select lists everyone that has access to utilize the ticketing system for submitting feedback/kudos on them, so everyone needs to be in the select. I'll try the suggestions here. Thanks for all the good advice! On Tue, Sep 22, 2009 at 3:49 AM, DBJDBJ dbj...@gmail.com wrote: Web 2.0

[jquery-dev] Re: find on large selects

2009-09-22 Thread DBJDBJ
Some make visible on drill down mechanism is going to make UX more manageable for end-users, I think. And easier on the browser, especially for mobile platforms. For example please see 'Expandable Detail Table Rows' , Matt has an simple but very usable explanation here:

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread DBJDBJ
What happens if you change this (that fails) : $('p').find('strong ~ strong'); $('div').find('code ~ code'); To this : $( 'strong ~ strong', document.getElementsByTagName(p) ); $( 'code ~ code', document.getElementsByTagName(div) ); Am I just fishing here ? Very quick one (and on top of my

[jquery-dev] Multidimensional Animation

2009-09-22 Thread weepy
Hey I just released a plugin that allows multidimensional animation for jQuery. This is useful for Bezier Curvers among other things. Article is here http://blog.parkerfox.co.uk/2009/09/22/bezier-curves-and-arcs-in-jquery/ Demo is here http://weepy.github.com/jquery.path/ Code is actually

[jquery-dev] Re: Multidimensional Animation

2009-09-22 Thread Paul Bakaus
Hey, this is brilliant. I've been searching for this for a long time, and wanted to do it myself but had too huge time constrains. I'm definitely going to play with it asap and come back to you, I have numerous usecases that I want to try out. Cheers! Paul On Tue, Sep 22, 2009 at 2:04 PM, weepy

[jquery-dev] problem with use of null in jQuery.speed

2009-09-22 Thread weepy
recently had a problem here ... on line 3968 of jquery.js speed: function(speed, easing, fn) { var opt = typeof speed === object ? speed : { the trouble is that speed was null rather than undefined and typeof null is object, resulting in (opt == null) = true ,

[jquery-dev] Problem with selector module

2009-09-22 Thread rudi
Hi, everyone. I've recently discovered jQuery and started to use it but I had some problems with the selector module. Some selectors aren't recognised by my browser, for example: #id, ancestor descendant and parent child. I've run the jQuery Test Suite on my browsers: Mozilla Firefox 3.0.14 and

[jquery-dev] Toggle Expectations

2009-09-22 Thread joegallo
Hello all, I've got a case with some unexpected behavior related to toggle; I think it might be the root of the issues behind bugs 4681, 4960, and 5010. Basically, I think that toggle behaves in a way which is logically correct (arguably), but not what people would expect. The main point is

[jquery-dev] Re: Multidimensional Animation

2009-09-22 Thread DBJDBJ
Hm, is this not easier to do inside http://processingjs.org/ ? --DBJ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery Development group. To post to this group, send email to jquery-dev@googlegroups.com To

[jquery-dev] Re: Multidimensional Animation

2009-09-22 Thread weepy
processingjs is great, but it's a rather heavy weight solution ! On Sep 22, 2:35 pm, DBJDBJ dbj...@gmail.com wrote: Hm, is this not easier to do insidehttp://processingjs.org/ ? --DBJ --~--~-~--~~~---~--~~ You received this message because you are subscribed

[jquery-dev] Re: find on large selects

2009-09-22 Thread DBJDBJ
I have created quick and dirty test of adding 50K options to the single elements. Then I started it on this desktop and IE8 ... and waited Then I did not believed what I have seen, and executed the same test on the WIN7 64 bit + IE8 64bit ( 2 core Intel + 2GB RAM). The result was almost

[jquery-dev] Re: Append some parameters in every ajax call's query string automatically

2009-09-22 Thread Nathan Bubna
My JSON-REST plugin does this by wrapping $.ajax with other method(s). Just add an object of params to $.rest.data. http://plugins.jquery.com/project/rest You can do this by wrapping/replacing the $.ajax method yourself (function ($) { var _ajax = $.ajax, A = $.ajax =

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread Karl Swedberg
On Sep 22, 2009, at 8:02 AM, DBJDBJ wrote: What happens if you change this (that fails) : $('p').find('strong ~ strong'); $('div').find('code ~ code'); To this : $( 'strong ~ strong', document.getElementsByTagName(p) ); $( 'code ~ code', document.getElementsByTagName(div) ); Am I

[jquery-dev] Re: find on large selects

2009-09-22 Thread Matt Maxwell
It's very possible as the company continues to expand :P. Now that you mention it, though, I could probably break them out into a department and then manager menu/submenu which would filter the list out quite nicely. Though, of all the things I've used jQuery for, this being the only issue really

[jquery-dev] Re: find on large selects

2009-09-22 Thread DBJDBJ
over thinking or over engineering ... Yes that is a *very* big issue. BTW: so far John has managed to stay away from over-engineering, it seems ... PS: IE is one very good example of over-engineering .. In my (too) long career I had been few times lucky to communicate with some very big IT

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread David Zhou
He's using the unit testing framework, so that part isn't needed -- dz On Tue, Sep 22, 2009 at 3:38 PM, DBJDBJ dbj...@gmail.com wrote: It is blatantly obvious and therefore difficult to spot ... I think your test page does things without $( function () { ... }) ; It that matters ?

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread DBJDBJ
It is blatantly obvious and therefore difficult to spot ... I think your test page does things without $( function () { ... }) ; It that matters ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery Development

[jquery-dev] Re: find on large selects

2009-09-22 Thread Andrea Giammarchi
On Tue, Sep 22, 2009 at 8:35 PM, DBJDBJ dbj...@gmail.com wrote: BTW: so far John has managed to stay away from over-engineering, it seems ... a simple exposed API does not mean there is not a lot of engineering behind as well :-) ( and maniac features detection to solve self-updated

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread Karl Swedberg
Exactly, David. :) If it did matter, I suppose all of the tests would be failing. This isn't user error. Copy one of the failing selectors and paste into firebug to see for yourself. --Karl On Sep 22, 2009, at 3:42 PM, David Zhou wrote: He's using the unit testing framework, so that part

[jquery-dev] Making fadeIn and fadeOut more useful

2009-09-22 Thread Jörn Zaefferer
fadeIn() and fadeOut() cool be much more useful if they'd work together instead of queueing up against each other. A usecase where this comes up is a tooltip widget, where a single element is reused to display the tooltip of various elements (absolutely necessary for a large number of tooltipped

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread DBJDBJ
... after Karl and DZ exchanged understanding , let us try and help Karl ... My thinking is this : is this a Sizzle issue ? Or jQuery core does something ? By answering this question we will narrow down this exciting bug chase. If we observe jQuery.find() (which is Sizzle() ) we can easily see

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread DBJDBJ
General Sibling Combinator module: find(element ~ element) (2, 4, 6) 1.$('p').find('code ~ strong').length: 3 2.$('p').find('code ~ code').length, expected: 3 result: 0 3.$('p').find('strong ~ strong').length, expected: 2 result: 0 4.document.querySelectorAll(p code~ strong).length: 3

[jquery-dev] Re: Making fadeIn and fadeOut more useful

2009-09-22 Thread lrbabe
I'm often running into the same issue, trying to play with the optional parameters of .stop(), with varying success. On Sep 22, 11:47 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: fadeIn() and fadeOut() cool be much more useful if they'd work together instead of queueing up against

[jquery-dev] Re: General Sibling Combinator (~) bug

2009-09-22 Thread Karl Swedberg
Thanks for doing some more legwork on this. It's good to have this confirmed as a bug. In my initial post, I wrote: I'm wondering if anyone else might have more luck than I've had tracking down the report in Trac. If not, should I file this as a bug? Also, in recent SVN versions the

[jquery-dev] Odd behaviour of width and height function when applied to select elements

2009-09-22 Thread andor
Hi, I noticed something odd with the width and height functions when applied to select elements: - width() returns the width _minus_ the border - width(value) sets the width _including_ the border element.width(element.width()) reduces the width! See here: