【发布时间】:2010-04-08 04:31:26
【问题描述】:
我有一个链接,点击这个链接后,会显示一个模式。我在代码中使用了 ModalDialog:
$(document).ready(function() {
//linkTTT is link id
$("a#linkTTT").click(function() {
//content is id of div that contains content
$("#content").modal({ onOpen: function(dialog) {
dialog.overlay.fadeIn('slow', function() {
dialog.data.hide();
dialog.container.fadeIn('slow', function() {
dialog.data.slideDown('slow');
});
});
}
});
}); //end a click
});
内容包含在一个中,它包括两个包含文本和一些图像的表格。
此应用程序在 Firefox 3+、Chrome 和 IE8 中运行良好。
图片在这里:[http://bian.vn/normal.png]
我在使用 IE 6 和 IE 7 时遇到问题。 在 IE 6 中:
图片在这里:[http://bian.vn/IE6.png]
在 IE 7 中,内容在加载后会被清除...
图片在这里:[http://bian.vn/IE7.png]
您可以在link text观看截屏视频
让我知道你对这个问题的回答 非常感谢。
【问题讨论】:
标签: jquery-plugins simplemodal