javascript - Horizontal Overflow with slideDown() / slideUp() -
i trying use slideup() / slidedown() animate revelation of page element have had trouble relatively positioned icon negative (outside element) placement. while these animations execute sets overflow hidden rendering icon cut in half until animation completes.
the jsfiddle here illustrates issue. need horizontal overflow of blue box visible during whole execution of animation instead of magically appearing @ end. need vertical overflow remain hidden.
i've tried amending,
$(this).parent().find("div:eq(0)").slidedown(1000).css("overflow-x", "visible");
but seems ignored , using,
$(this).parent().find("div:eq(0)").slidedown(1000).css("overflow", "visible");
also makes vertical overflow visible.
any insight appreciated.
just wrap divs : div.clickevent inside other div.hide
<div class="hide"><div class="clickevent"> ... </div>
Comments
Post a Comment