Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Disabling the gallery auto-slideshow on Mobile (http://forum.bytesforall.com/showthread.php?t=19147)

bangert Dec 16, 2012 05:41 PM

[SOLVED] Disabling the gallery auto-slideshow on Mobile
 
Hi

I've managed to disable the gallery auto-slideshow on the theme, at least when your browsing from a laptop/pc. When browsing using a mobile, the auto-slideshow is on.

I disabled by commenting out this in get_javascript.php:

Code:

/*
if( jQuery().colorbox ) {
        $('.gallery figure a span').colorbox({rel: 'gal', slideshow: false, slideshowSpeed: 3500, opacity: 0.7, href: function(){
                var src = $(this).prev('img').attr('src').replace( /-\d+x\d+./, '.' ); // full src = remove '-150x150' from thumb src
                return src;
        }});
}
*/

How do I do the same for the mobile version of the theme?

Thanks.

bangert Dec 16, 2012 06:23 PM

Seems to have sorted itself now. About 8hrs later the mobile version of the theme has caught up with the changes on it's own.

Anyhow, no help needed. Thanks.


All times are GMT -6. The time now is 09:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.