Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [solved]need help – small problem with jquery cycle on ie6 !

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29465
    jingjang
    Member

    hello there,

    i’ve small problem with jquery-cycle and ie6
    i’ve try a few days but i can’t fix this,

    here is the demo of my jquery cycle: http://dmtheme.com/jquery-cycle-demo/

    can someone help me ?
    thanks

    #78612
    jamygolden
    Member

    You have an extra comma in your script.

    Code:
    //easing: ‘bounceout’,
    delay: 6000,
    pagerAnchorBuilder: pagerFactory,
    });

    Since pagerAnchorBuilder isn’t followed by anything, it shouldn’t have a comma following the value.
    Try this:

    Code:
    $(document).ready(function() {
    /* Jquery Cycle */
    $(function() {
    $(‘#slideshow’).cycle({
    fx: ‘scrollHorz’,
    speed: 800,
    timeout: 6000,
    pause: true,
    prev: ‘#show_prev’,
    next: ‘#show_next’,
    pager: ‘#nav’,
    //easing: ‘bounceout’,
    delay: 6000,
    pagerAnchorBuilder: pagerFactory
    });

    function pagerFactory(idx, slide) {
    var s = idx > 5 ? ‘ style=”display:none”‘ : ”;
    return ‘‘+(idx+1)+’‘;
    };
    });
    });

    #78619
    jingjang
    Member

    thank you

    i’ve update my code (both css & js + easing) at
    http://dmtheme.com/jquery-cycle-demo/

    it work perfect on all web browser now (ie6 included)

    thanks you many time :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.