元素比其父元素宽,在jQuery幻灯片动画期间未显示 [英] Element wider than its parent not shown during jQuery slide animation

查看:113
本文介绍了元素比其父元素宽,在jQuery幻灯片动画期间未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当显示(使用jQuery UI的显示)一个#content元素,且子元素#footer比#content宽时,#content外的#footer部分仅在动画完成后出现,而#content中的所有内容都已在动画片.为什么?有人可以帮忙吗?

When showing (using jQuery UI's show) a #content element with a child #footer wider than #content, the #footer part outside #content appears only once the animation is finished, while everything within #content is already shown during the animation. Why? Anybody can help?

谢谢

七月

推荐答案

动画在动画过程中设置了overflow:hidden.您可以尝试在CSS中设置overflow:visible !important.

Animate sets overflow:hidden during the animation. You can try setting overflow:visible !important in your css.

这篇关于元素比其父元素宽,在jQuery幻灯片动画期间未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆