在 Eric Martin 的 Simplemodal jQuery 插件中,可以动态调整 CSS 吗?
我想调整简单容器的高度,以匹配使用 $.ajax 从服务器返回的数据传递的不断变化的深度要求。
似乎一旦模式被触发,所有 CSS 都会即时更改,例如 $('#someid').css('height','500px')
无论如何要覆盖设置的 CSS 吗?
谢谢
I would like to adjust the height of the simple-container to match changing depth requirements passed on data returned from the server using $.ajax.
It seems that once the modal is fired, all CSS changes on the fly, e.g. $('#someid').css('height','500px')
Anyway to override the set CSS?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,这个问题已经以不同的形式提出和回答了。这是我的代码,现在我有一个动态调整大小的模式。
添加:
如:
Sorry, this had been asked and answered in a different form. Here my code and now I have a dynamically resizing modal.
Added:
as in: