The problem I encountered with Safari (or more specifically webkit)
was triggered when attempting to switch the 'position' of an element
from 'fixed' to 'absolute' and back again in order to animate it's
position. The position property seemed to get stuck - leaving me with
a nasty redraw mess on my screen.

I think it might be related to this bug:
http://www.quirksmode.org/bugreports/archives/2006/10/Parent_Element_Sticky_Position.html

The workaround suggested here didn't work for me. I worked around the
problem by positioning the element off the page and animating the
padding-top on the element - pushing it into the viewable area. I
don't remember if I tried margin-top. Perhaps something like this
could work for you?

    .toggle(
    function(){$("#ui .panel").animate({paddingTop:200},"fast");},
    function(){$("#ui .panel").animate({paddingTop:0},"fast");}
    );

Cheers
Ollie

On 21/11/06, PragueExpat <[EMAIL PROTECTED]> wrote:

> I am also having problems with animation and absolute positioning in Safari.
> Could you please explain how you worked around this problem?  I didn't see
> any mention of this bug in the Safari quirks link you provided.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to