Open slideshow automatically

Posted on 2014-08-06
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:
Question by:Robert Saylor
    LVL 58

    Accepted Solution

    In your slideshow initialisation script add to the options

    open: true  

    $(".group4").colorbox({rel:'group4', slideshow:true,open:true});
    LVL 6

    Author Comment

    by:Robert Saylor
    Thank you!!! That worked!

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
    I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
    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…

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now