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:

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

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

[jQuery] Animation dimensions - problem and solution

2006-08-31 Thread Alistair Potts
When jquery tries to get the height of a (display:none) element, it clones the element as (visiblity:hidden display:block), appends it to the BODY, calculates the dimensions, and removes it. Which is all very clever. The problem comes that if you style your element using css selectors, then