小编ale*_*one的帖子

jQuery IE7问题(使用jQuery Cycle插件)

我不能让jQuery与IE7一起工作.我正在使用jQuery Cycle插件,但我相信这个问题与jQuery有关(事实上我是一个新手).我正在尝试使用横幅旋转器,它适用于Firefox,Safari和IE8.在IE7上,它甚至没有激活......它只是一个接一个地显示每个div.

先感谢您!

示例 http://testing.observerpapers.com/lv

JS

$(document).ready(function() {
    $('#myslides')
    .before('<div id="nav">')
    .cycle({
        fx: 'fade', // choose your transition type
        speedIn:  600, 
        speedOut: 600,
        timeout: 8000,
        pause: 0, // so that pauses when user hovers over a slide
        pager:  '#nav', // instructs the plugin to create navigation elements
    }); // every child element of the container becomes a slide     

    /*ddsmoothmenu.init({
        mainmenuid: "smoothmenu1", //menu DIV id
        orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
        classname: 'ddsmoothmenu', //class added to …
Run Code Online (Sandbox Code Playgroud)

jquery

5
推荐指数
1
解决办法
3922
查看次数

标签 统计

jquery ×1