Jquery 淡入 .after() 吗?
确实很简单,但无法让它工作,这是我的脚本...
$('body').after('<div id="lightBox" style="height: ' + htmlHeight + 'px;"></div>');
我怎样才能让它淡入而不是弹出?将 fadeIn()
放在 .after()
之后或之前不起作用?
Simple really but cannot get it to work, here is my script...
$('body').after('<div id="lightBox" style="height: ' + htmlHeight + 'px;"></div>');
How can I get it to fade in rather than just pop up? putting fadeIn()
after or before .after()
doesn't work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它隐藏它然后淡入
It hides it and then fades in
短途:
Short way: