[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Open slideshow automatically

Posted on 2014-08-06
2
Medium Priority
?
134 Views
Last Modified: 2014-08-07
I created a nice little photo gallery for work using ColorBox. Everything works perfectly. However, you have to click on one of the photo's to start the slideshow. I am sure there is a nice little piece of jquery code I can insert to start the slide show on page load or document ready just I can't figure out what to search by to find that code.

Here is my external link:
http://www.liveaboardvacations.com/photogallery.php?id=5
0
Comment
Question by:Robert Saylor
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 40244516
In your slideshow initialisation script add to the options

open: true  

e.g.
$(".group4").colorbox({rel:'group4', slideshow:true,open:true});
0
 
LVL 7

Author Comment

by:Robert Saylor
ID: 40245793
Thank you!!! That worked!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Requirements JQuery 1.6+ HTML CSS Introduction This article was inspired by an EE question (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28372511.html) on how to make a page show some balloons animate up a page…
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question