Add Javascript to Cause JQuery Slideshow to Start at Random

I am working on the following site:

the pictures advance in alphabetical order. I would like
to modify the script so they start in random order each
time the page is loaded.

The script is located between lines 556-586.

Would I do this as an array?
Who is Participating?
Jeffrey DakeConnect With a Mentor Senior Director of TechnologyCommented:
Looking at the docs of the library you are using you should be able to just start = random and the javascript library should already be able to pick a random picture to start with.

<script type="text/javascript">
                                start: random,
				responsive: true,
				width: '100%',
				auto: true,
				circular	: true,
				infinite	: false,
				prev : {
					button		: "#car_prev",
					key			: "left",
				next : {
					button		: "#car_next",
					key			: "right",
				swipe: {
					onMouse: true,
					onTouch: true
				scroll : 1500,
				items: {
					visible: {
						min: 1,
						max: 1

Open in new window

Hope that helps
domgarofaloAuthor Commented:
Unfortunately it did not. It lists all the profiles vertically instead with no scrolling. Any other ideas?
domgarofaloAuthor Commented:
When added random here,

items: {
                              start: 'random',
                              visible: {
                                    min: 1,

it did the trick. Thanks for the help.
Jeffrey Dake Senior Director of TechnologyCommented:
Sorry I put it in the wrong spot. Glad it helped you out
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.