StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-08-2011, 11:29 AM
hyperhead hyperhead is offline
Registered User
Pro Plus Member
 
Join Date: Aug 2011
Posts: 1
Default Get JQuery Lightbox for Native Gallery to autoplay slideshow

The lightbox pop-up works fine normally. My objective is after pop-up, it then automatically begin running as a slideshow. Researching the plugin, I see it's taking advantage of http://colorpowered.com/colorbox/

That page shows built-in variables for colorbox for "slideshow" and "slideshowAutoplay"

I tried adding these variables to the file: /plugins/jquery-lightbox-for-native-galleries/jquery-lightbox-for-native-galleries.php in line 88, but no luck.

Here's the code:
Code:
<script type="text/javascript">
// <![CDATA[
    jQuery(document).ready(function($){
        $(".gallery").each(function(index, obj){
            var galleryid = Math.floor(Math.random()*10000);
            $(obj).find("a").colorbox({rel:galleryid, maxWidth:"95%", maxHeight:"95%", slideshow:"true", slideshowAutoplay: "true"});
        });
    });
// ]]>
</script>
Any suggestions would greatly appreciated!

Last edited by SoZo; 09-08-2011 at 01:47 PM. Reason: Changed title and moved thread
 

Tags
lightbox

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
jQuery Lightbox For Native Galleries & FCG skypilot General Discussion 4 02-13-2010 08:52 AM


All times are GMT -5. The time now is 05:21 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.