How to slow the fade effect for Highslide JS slideshow?

Phoca Gallery - image gallery extension
chrisjclay
Phoca Member
Phoca Member
Posts: 26
Joined: 06 Oct 2011, 19:56

How to slow the fade effect for Highslide JS slideshow?

Post by chrisjclay »

Hi,

I'm using the "Highslide JS (image only)" option to display the images in a modal slideshow (i.e. after someone clicks on a thumbnail image.) I now how to set the slide duration (i.e. 3 seconds, 4 seconds etc.) but the fade effect seems too fast (i.e. when one image fades into the next) - is there a way to slow down the transition?

I don't see a setting within the Phoca Gallery options, so I'm wondering if I can hack a bit of code in this file - components > com_phocagallery > assets > js > highslide > highslide-full.js. I'm guessing there is a parameter in there somewhere that controls the speed of the transition from one slide to the next.

Thanks :)

Chris
Last edited by chrisjclay on 20 Oct 2011, 05:35, edited 1 time in total.
chrisjclay
Phoca Member
Phoca Member
Posts: 26
Joined: 06 Oct 2011, 19:56

Re: How to slow the fade effect for Highslide JS slideshow?

Post by chrisjclay »

Never-mind, I found it... Around line 60, I changed "transitionDuration" from 250 to 1000.

Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to slow the fade effect for Highslide JS slideshow?

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply