The probable cause is that the DIV's style is modified *while the
animation is playing* - but as soon as the animation completes (ie,
after 1/2 sec or so), the extra styles are removed. It is at this time
that your normal styles take effect again, causing things to
disappear. Most likely this is related to the negative margins you
mention.

So I cannot tell you what CSS is causing it, but the solution is to
try simplifying it until you isolate what rules are the cause. I also
suggest temporarily changing your code to just regular show/hide
functionality - with no animation - to see if that works well. Also
try adding position and 'layout' to the element for IE:

    position: relative;
    overflow: visible;
    zoom: 1;

You can also test if it is a browser rendering glitch by adding a
'callback' to the show method that makes the element invisible and
then visible again. This causes the browser to re-render the element,
which fixes most display glitches...

$('#myElem').show( "scale", {percent: 100}, 800, resetVisibility );

function resetVisibility () {
    $(this)
        .css("visibility","hidden")
        .css("visibility","visible")
    ;
}

If none of this helps, then you will need to provide a sample page

/Kevin


On Dec 28, 4:34 pm, Areli <areli.nathan...@gmail.com> wrote:
> Hello,
> I've set up Jquery's show effect (http://jqueryui.com/demos/show/) to
> reveal a div containing an unordered list. The content of the list is
> hidden (large negative indent) and represented by background images
> for links and hovers etc. It works fine in most browsers with the
> exception of IE6; there the show effect plays, the li images are
> revealed (more or less where they belong) for about half a second, and
> then they disappear. I can't for the life of me figure out where
> they're going. Any suggestions please?
> Thanks!

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to