标签: bgiframe

bgiframe插件在IE9中导致错误

uiquery插件bgiframe(版本2.1.1)在Internet Explorer 9中导致以下java脚本错误:

jquery.bgiframe.js, line 94 character 5
Run Code Online (Sandbox Code Playgroud)

我的菜单不再起作用,我希望原因是这个错误.

有任何想法吗?

添加:

jquery.bgiframe.js中的行是:

this.insertBefore( document.createElement(html), this.firstChild );
Run Code Online (Sandbox Code Playgroud)

和错误sais:

SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) 
Run Code Online (Sandbox Code Playgroud)

javascript bgiframe internet-explorer-9

21
推荐指数
2
解决办法
1万
查看次数

bgiframe与jQuery UI 1.8.9 Dialog和jQuery 1.5

所以我使用的是jQuery UI的对话框.但是当我读到IE6中有一个常见的错误(不幸的是我必须确保它有效),其中下拉列表不关注z-index队列.我还读到有一个方便的插件,称为bgiframe来处理我的叠加问题.我找到了人们说使用它的两种不同方式,但都不起作用.我可能只是在做一些非常愚蠢的事情,但我需要让它发挥作用.

包括jQuery.bgiframe.js版本2.1.1以下是我尝试使用它而无需工作的两种方法:(我已经在我正在处理的页面中包含了所有jQuery-UI,jQuery和bgiframe)

  1. 来自实际插件的文档说这样做:

    $("#selectDropdownThatNeedsFixing").bgiframe();
    
    Run Code Online (Sandbox Code Playgroud)

    这会导致jQuery异常,说对象是预期的.

  2. 我从下一页看到的第二种方式:http://docs.jquery.com/UI/Dialog/dialog基本上只是bgiframe: true在初始化对话框时设置:

    $( ".selector" ).dialog({ bgiframe: true });
    
    Run Code Online (Sandbox Code Playgroud)

这不会出错,但是当我测试它时,IE6中仍然存在问题.

我错过了什么吗?我应该用哪种方式使用bgiframe?任何方向都会非常感激.谢谢您的帮助!

css jquery jquery-ui bgiframe jquery-ui-plugins

3
推荐指数
1
解决办法
6070
查看次数