PDA

View Full Version : Featured Content Slider v2.4 Script Help



Jisworking
12-03-2012, 02:16 PM
Hi,
I am using Featured Content Slider v2.4 (http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm) on a site and it is up and running fine. The issue I am having is getting the first slide to show first all the time, no matter what slide they leave the page on. I understand I have to edit the:


onChange: function(previndex, curindex){
//custom code here
}

section but I am having trouble adding the right code to make this possible. Can anyone share their code to make the first slide appear first all the time? Thanks

vwphillips
12-03-2012, 02:43 PM
at the top if the script


var featuredcontentslider={

//3 variables below you can customize if desired:
ajaxloadingmsg: '<div style="margin: 20px 0 0 20px"><img src="loading.gif" /> Fetching slider Contents. Please wait...</div>',
bustajaxcache: true, //bust caching of external ajax page after 1st request?
enablepersist: false, //persist to last content viewed when returning to page?

Jisworking
12-03-2012, 03:44 PM
Awesome! Thanks Vic