rewind transition

More
14 years 11 months ago #363 by opensrcguru
After all the images are rotated through the first time, the images do somewhat of a fast rewind through all previously displayed images. can that behavior be set to something different? i'd like a simple loop just like the initial load of the slider. nothing fancy.

Please Log in to join the conversation.

More
14 years 11 months ago #366 by fAdEd1
Replied by fAdEd1 on topic Re: rewind transition
I agree. How is this done?

I'd also like to edit the transition, such as fade effects and slide directions..

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 11 months ago #367 by milos
Replied by milos on topic Re: rewind transition
Currently, this is not possible, unless you are familiar with Javascript and jQuery to manually edit module. We are currently busy with other jobs, but we will consider to add these features in one of the next versions.

Please Log in to join the conversation.

  • fota
    Inactive member
  • New Member
  • New Member
More
14 years 6 months ago #1436 by fota
Replied by fota on topic Re: rewind transition
a small workaround to do the trick i.e. when you get to the last image, start going backwards until you get to the first one (one by one). then it repeats. So:

in scripts.js replace:

auto: function () {
.....

slider.slide(next);
},


with:

auto: function () {
if (!slider.ar) return false;

if (direction==1) var next = slider.cur + 1;
if (direction==0) var next = slider.cur - 1;
if (next >= slider.num) {next = slider.cur - 1; direction=0;}
if (next < 0) {next = slider.cur + 1; direction=1;}
slider.slide(next);
},


Then at the beginning of the file add:

var direction = 1;

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 6 months ago #1439 by milos
Replied by milos on topic Re: rewind transition
This is great! Can you show us how your modifications look on live site?

Please Log in to join the conversation.

  • fota
    Inactive member
  • New Member
  • New Member
More
14 years 6 months ago #1440 by fota
Replied by fota on topic Re: rewind transition
the site is still under development. i ll post the link as soon as it's up and running.

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum