Hi, I'm using a customized theme based on the upright-20-theme. Designing that has already cost me some days, so I don't want to do it again from scratch.

So is there an easy possibility (with a custom jquery circle plugin option, probably?) to have the prev/next pagers always both visible, so that once I am on the last slide, the "next" pager doesn't dissapear but links to the first slide again? (and the other way round, too, of course)?

Thanks for your answer, and: great module by the way.

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

You can comment the lines in the ddblock.js file

    // Only show prev if previous slide exist - Only show next if next slide exist
    var index = $(this).parent().children().index(this);
    $("#ddblock-"+ opts.ddblocknr + ' ' + '#prev2')[index == 0 ? 'hide' : 'show']();
    $("#ddblock-"+ opts.ddblocknr + ' ' + '#next2')[index == opts.slideCount - 1 ? 'hide' : 'show']();

so it becomes:

    // Only show prev if previous slide exist - Only show next if next slide exist
    //var index = $(this).parent().children().index(this);
    //$("#ddblock-"+ opts.ddblocknr + ' ' + '#prev2')[index == 0 ? 'hide' : 'show']();
    //$("#ddblock-"+ opts.ddblocknr + ' ' + '#next2')[index == opts.slideCount - 1 ? 'hide' : 'show']();

In newer version of the module this will be a setting in the configuration page of the slideshow.

Hope this helps you further, please let me know.

NelsonEC’s picture

Status: Postponed (maintainer needs more info) » Active

Wow, I'm amazed how quick the answers come here.

Well, this solution obviously works a bit, but it's not all. The pager is there, initially, but as soon as the slide (the grey bar) starts sliding in, it disappears.

Do I have to change any other files?

Thanks for your patience.

NelsonEC’s picture

Status: Active » Fixed

Rubbish, was just a layer-8-error - sorry about that.

Thanks for your support.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.