Elxis CMS Forum

Extensions => Components => Topic started by: jimmyz on June 16, 2009, 14:24:28

Title: Galleriffic - Slideshow delay time
Post by: jimmyz on June 16, 2009, 14:24:28
OK, it's time to ask for help...
All I want to do is increase the time  between changing pics.
From the settings panel in administration, I do not see any posibility to set the delay when in slideshow mode, in Galleryffic. So, I opened /components/com_gallery/js/jquery.galleriffic.js and I changed line 150:
Code: [Select]
var defaults = {
delay:                  3000,
to
Code: [Select]
var defaults = {
delay:                  10000,
Nothing changed.  :(
Which is the correct setting?
Three secs is too short, pics don't even get displayed.
Title: Re: Galleriffic - Slideshow delay time
Post by: datahell on June 16, 2009, 15:03:10
No, dont edit the js file. The slideshow speed is controlled in file:
components/com_gallery/gallery.html.php
In line 330, or somewhere around there, you will find this:
delay: 3000,

Do also a small change if you like, it will make the image description not to expand too much:
line 288 (or so) change this:
<div class="caption">
to this:
<div class="caption" style="width: <?php echo intval($iosgal->cfg->get('GFHTMLPICW') + 10); ?>px;">
Title: Re: Galleriffic - Slideshow delay time
Post by: jimmyz on June 16, 2009, 15:19:51
Done!  :D
I'm happy now!
Thank you, datahell.