Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread Alistair Potts
OK, I've done some more work on this and it's a hopeless task. While you can rewrite the pseudo-apply function to work, IE5.0 can't seem to work out the length of the jquery object correctly. But even if you get that working, IE5.0 doesn't support rudimentary RegExp, e.g. "?=\w". It's time to

Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread Alistair Potts
John Resig wrote: >> ok with ie55 and 6 but error with ie50 > > Now I remember why I opted not to support IE 5.0 :-( > > --John The thing is - IE5.0 doesn't support .apply AT ALL! So we've created a function to emulate it. It works fine for objects passed in as the first argument, but I don't

Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread John Resig
> ok with ie55 and 6 but error with ie50 Now I remember why I opted not to support IE 5.0 :-( --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread christian lefebvre
On Fri, 2006-09-08 at 06:56 -0400, John Resig wrote: > Wow, if you can't set the context to a string, then that's pretty > silly. Can anyone else verify this? The simple case would be: > > function test(){ > alert("Should be 'foo': " this); > } > > test.apply( "foo", [] ); ok with ie55 and 6

Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread John Resig
> I can't really make sense of what happens when the first > argument is a string. The documentation says > "apply(object, args) - apply() is a method of a function > which calls the function as though it is a method of the > object." So I don't really understand what's happening > when we pass in

Re: [jQuery] IE5 Compatibility - Help needed.

2006-09-08 Thread Alistair Potts
Here's what's happening in the new version, and why it's failing in IE5.0. On init, jquery reads in each axis selector - jQuery.each(jQuery.macros.axis, The axes look like this: parent: "a.parentNode", ancestors: jQuery.parents, parents: jQue

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Daimajin
Chris Ovenden wrote: > John's plugin solution sounds eminently sensible, but if you really > are worried about code bloat you could use a conditional comment to > hide jQuery from those browsers altogether. If you're doing proper > unobtrusive javascript your site should still work without it. The

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Daimajin
Alistair Potts wrote: Hello, I put the script together. Works for me! Is it failing on even the most basic jquery? Like $('mydiv').hide()? This is what I'm doing:
    $(document).ready( function() {
        $("#clickme").click( function() {
            alert("I've been c

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Alistair Potts
Hello, I put the script together. Works for me! Is it failing on even the most basic jquery? Like $('mydiv').hide()? Basically all it does is make up the missing js functions that ie5.0 doesn't have - it doesn't change any jquery code. Alistair Daimajin wrote: > John, is there any news about t

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Chris Ovenden
On 9/7/06, Onno Timmerman <[EMAIL PROTECTED]> wrote: > > > Why make jquery compatible whit dinosaure browsers. If I'm correct it > only makes jquery more complicated and more Kb's. IE 5.0 IE 5.5 should > be dropped out of support. IE 6 and IE 7 is ok and less buggy. Who > still uses IE 5.0 ? > Be

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Jörn Zaefferer
> Why make jquery compatible whit dinosaure browsers. If I'm correct it > only makes jquery more complicated and more Kb's. IE 5.0 IE 5.5 should > be dropped out of support. IE 6 and IE 7 is ok and less buggy. Who > still uses IE 5.0 ? > Besides one more year and nobody uses it anymore. The ba

Re: [jQuery] IE5 Compatibility

2006-09-07 Thread Onno Timmerman
Daimajin schreef: > John, is there any news about this plugin? I've tried what has been > suggested on the bug tracker > (http://liorean.web-graphics.com/scripts/array.js), this script seems to > work but jQuery still fails to load. > > John Resig wrote: >> Hello - >> >> I'm currently planning

Re: [jQuery] IE5 Compatibility

2006-09-06 Thread Daimajin
John, is there any news about this plugin? I've tried what has been suggested on the bug tracker (http://liorean.web-graphics.com/scripts/array.js), this script seems to work but jQuery still fails to load. John Resig wrote: > Hello - > > I'm currently planning on spinning off IE 5.0 support i