0
<script type ="text/jscript" >
         $(function(){
             $('.slide-out-div').tabSlideOut({
                 tabHandle: '.handle1',                              //class of the element that will be your tab
                 pathToTabImage: 'images/todolist.png',          //path to the image for the tab (optionaly can be set using css)

                 imageHeight: '135px',                               //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>

我在 vs2010 开发的 Web 应用程序的母版页中有上述代码。它在 chrome、IE 中运行良好。但在 Mozilla Firefox 中根本不起作用。什么可能导致这个问题?我已经在 Firefox 的设置选项卡中启用了 javascript。请帮忙。

谢谢。

4

2 回答 2

3

您的问题是 text/jscript 与 text/javascript 不同。你想要后者。

于 2013-01-09T05:02:19.023 回答
0

我认为你应该使用 type="text/javascript" 而不是 type ="text/jscript"

于 2013-01-09T05:22:12.330 回答