[jQuery] attr() does not return undefined in IE8

2008-06-10 Thread jrabbit
I've just discovered a slight compatibility issue with the IE8 beta when running in the default standards mode. The following code should return undefined, but it actually returns an empty string: hello alert($("div").attr("doesnotexist")); It works correctly whe

[jQuery] Re: Superfish problem with pathClass

2008-03-27 Thread jrabbit
I managed to make it work by altering the hasUl function to return all tags, not just those with children, which makes a mockery of the function name, but solves the issue that the over() function never runs for 's without children, and thus doesn't hide its sibling's children. hasUl = function

[jQuery] Superfish problem with pathClass

2008-03-25 Thread jrabbit
I'm having a problem with Superfish v1.4.1 by Joel Birch. I'm not sure if it's a bug, or behaving this way by design. The problem can be seen if you take the example page: http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/ and remove the child UL tag from the third menu i