我有一个链接,单击此链接后,会显示一个模式。我将 ModalDialog 与代码一起使用:
$(文档).ready(函数() {
//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]
您可以在链接文本中看到截屏视频
让我知道你对这个问题的回答非常感谢。