× Discussion about Hot Image Slider free Joomla module.

Topic-icon rewind transition

More
8 years 4 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 or Create an account to join the conversation.

More
8 years 4 months ago #366 by fAdEd1
Replied by fAdEd1 on topic 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 or Create an account to join the conversation.

More
8 years 4 months ago #367 by milos
Replied by milos on topic 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 or Create an account to join the conversation.

More
7 years 11 months ago #1436 by fota
Replied by fota on topic 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 or Create an account to join the conversation.

More
7 years 11 months ago #1439 by milos
Replied by milos on topic rewind transition
This is great! Can you show us how your modifications look on live site?

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #1440 by fota
Replied by fota on topic rewind transition
the site is still under development. i ll post the link as soon as it's up and running.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.111 seconds