Cycle Plugin + Lightbox 2

Out of context: Reply #4

  • Started
  • Last post
  • 6 Responses
  • 3030

    That might work:
    jQuery.noConflict();
    jQuery(function() {
    jQuery('#slideshow').cycle({
    fx: 'scrollHorz',
    speed: 'fast',
    timeout: 0,
    pager: '#nav',
    pagerAnchorBuilder: function(idx, slide) {
    // return sel string for existing anchor
    return '#nav li:eq(' + (idx) + ') a';
    }
    });

    jQuery('#direct').click(function... {
    jQuery('#nav li:eq(2) a').triggerHandler('click');
    return false;
    });

    });

    Note - I replaced $ with jQuery assuming that all of the code in that block belongs to jQuery

    • I will give it a go.pillhead
    • No, didn't work, I might try the jQuery fancybox option.pillhead

View thread