【问题标题】:Slide Tab form is not working in IE7滑动选项卡表单在 IE7 中不起作用
【发布时间】:2013-11-27 02:45:17
【问题描述】:

我正在使用这个 jQuery 滑出表单:

http://wpaoli.building58.com/2009/09/jquery-tab-slide-out-plugin/

在所有浏览器中运行良好,除了IE7,它在功能上给出错误:

“对象不支持函数或方法”

它所指的功能行是:

<script type="text/javascript">

         $(function(){
             $('.slide-out-div').tabSlideOut({
                 tabHandle: '.handle',                              //class of the element that will be your tab
                 pathToTabImage: 'sites/all/themes/my_theme/images/contact_tab.gif',          //path to the image for the tab (optionaly can be set using css)
                 imageHeight: '122px',                               //height of tab image
                 imageWidth: '40px',                               //width of tab image    
                 tabLocation: 'right',                               //side of screen where tab lives, top, right, bottom, or left
                 speed: 300,                                        //speed of animation
                 action: 'click',                                   //options: 'click' or 'hover', action to trigger animation
                 topPos: '200px',                                   //position from the top
                 fixedPosition: true                               //options: true makes it stick(fixed position) on scroll
             });
         });

</script>

它适用于所有其他浏览器,即使是 IE8 也有一些样式问题,但 jQuery 仍然有效。有谁知道我如何在 IE7 中实现此功能,上面示例代码的网站可以在 IE 中找到,所以如果我使用相同的代码,它怎么会被破坏。

【问题讨论】:

    标签: jquery internet-explorer


    【解决方案1】:

    看来 jquery 有一个“旧浏览器的主要问题”

    http://jquery.com/browser-support/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多