【问题标题】:Problem display in IE 7 & IE 6 - simplemodal-1.3.4 and Jquery 1.4.2IE 7 和 IE 6 中的问题显示 - simplemodal-1.3.4 和 Jquery 1.4.2
【发布时间】: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


    【解决方案1】:

    我找到了解决问题的方法:)

    在具有id="content"<div> 标记中,我包含了两个表。在我删除表之后。解决了!

    感谢观看:)

    【讨论】:

      猜你喜欢
      • 2010-10-14
      • 1970-01-01
      • 1970-01-01
      • 2011-07-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多