I'm using a jquery script to have a background image slideshow, but I can't make the images to shuffle. I need to do this, as on every click on the website, page reloads, and the background slideshow starts again on the first picture. I would prefer a random pic start.
The script so far is doing the job on covering the whole browser screen, fade on transition, and user controls (back, play / pause, next), wich I need to keep.
Any help would be terrific.
var slideshowSpeed = 10000;
var photos = [ { "image" : "01.jpg", "url" : "http://www.domain.com/img", "firstline" : "text displayed under the pic", }, { "image" : "02.jpg", "url" : "http://www.domain.com/img", "firstline" : "text displayed under the pic", }, { "image" : "03.jpg", "url" : "http://www.domain.com/img", "firstline" : "text displayed under the pic", }, { "image" : "04.jpg", "url" : "http://www.domain.com/img", "firstline" : "text displayed under the pic", }, ];