Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon rewind transition

More
7 years 7 months ago #363 by opensrcguru
opensrcguru created the topic: rewind transition
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
7 years 7 months ago #366 by fAdEd1
fAdEd1 replied the 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.

More
7 years 7 months ago #367 by milos
milos replied the 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.

More
7 years 2 months ago #1436 by fota
fota replied the 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.

More
7 years 2 months ago #1439 by milos
milos replied the 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.

More
7 years 2 months ago #1440 by fota
fota replied the 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.125 seconds

Links, Partners and Social Media