[jQuery] Re: Safari and the wrap() method.

2007-04-12 Thread Klaus Hartl
Remy Sharp schrieb: Sorry - I should add the test: The JS: $(function() { $('#test').wrap(''); }); Then standard HTML with a P tag with the ID of 'test' and some dummy content within it. This test is not guaranteed to work because a element cannot contain a block level element like a pa

[jQuery] Re: Safari and the wrap() method.

2007-04-12 Thread Giant Jam Sandwich
Thanks Remy for verifying. I was just about to do that, when I discovered what the real issue was - this is one for the old mental database. In Safari, if you have a relatively positioned element with overflow hidden, and you have no width declared, anchor tags will cease to function that follow

[jQuery] Re: Safari and the wrap() method.

2007-04-12 Thread Remy Sharp
Sorry - I should add the test: The JS: $(function() { $('#test').wrap(''); }); Then standard HTML with a P tag with the ID of 'test' and some dummy content within it.

[jQuery] Re: Safari and the wrap() method.

2007-04-12 Thread Remy Sharp
I've just giving it a test in Safari 2 - and it works. I'm sure it works in 1.3 also. On 12 Apr, 14:08, "Giant Jam Sandwich" <[EMAIL PROTECTED]> wrote: > Is the wrap() method supported by Safari 1.3 and above? I've been