PDA

View Full Version : no buttons on swiss army slide show



regulatorjohnson
03-14-2007, 04:23 PM
1) Script Title: swiss army slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/swissarmy/

3) Describe problem: i want to have no buttons at all on my slideshow. but still use the mouseover pause feature and the links probably.

seems like a simple thing but i couldn't figure it out

thanks.

jon

jscheuer1
03-15-2007, 03:50 AM
This as an array declaration in the head section would do that:


var array_name=[];
//configure the below images and descriptions (empty here) to your own, note optional links.
array_name[0] = ["1_side.jpg", "", "http://www.google.com"];
array_name[1] = ["2_side.jpg", "", "http://www.yahoo.com"];
array_name[2] = ["3_side.jpg", "", "http://www.dynamicdrive.com"];
array_name[3] = ["5_side.jpg", "", "http://www.msn.com"];
//optional properties for these images:
array_name.no_descriptions=1; //use for no descriptions displayed
array_name.pause=1; //use for pause onmouseover
array_name.no_controls=1; //use images for controls

You didn't specify if you wanted descriptions or not so, I chose not.