PDA

View Full Version : help with Ultimate Slideshow



djvip
06-02-2008, 04:56 PM
1) Script Title: Ultimate Fade-in slideshow (v1.51)

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

3) Describe problem: 'fadeshow' is undefinded

I saw another user had this same issue and I tried to follow the help, but I'm still unable to get the slide show to work. I am not using an external js file, just using the exact script. Please help!!!!


Header info:
<script type="text/javascript">

/***********************************************
* Ultimate Fade-In Slideshow (v1.51): Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
var vipslides=new Array();

//SET IMAGE PATHS. Extend or contract array as needed
vipslides[0]=["<a href="images/Photo1.JPG">images/Photo1.JPG</a>", "JD High School"];
vipslides[1]=["<a href="images/Photo2.JPG">images/Photo2.JPG</a>", "DJ VIP Working Hard"];
vipslides[2]=["<a href="images/Photo3.jpg">images/Photo3.JPG</a>", "Kids Just Wanna Have Fun"];
vipslides[3]=["<a href="images/Photo4.jpg">images/Photo4.JPG</a>", "Lunch is Served"];
vipslides[4]=["<a href="images/Photo5.jpg">images/Photo5.JPG</a>", "Dance to the Music"];
vipslides[5]=["<a href="images/Photo6.jpg">images/Photo6.JPG</a>", "VIP Presents Wedding Shelf"];
vipslides[6]=["<a href="images/Photo7.jpg">images/Photo7.JPG</a>", "TouchStone Health Family"];
vipslides[7]=["<a href="images/Photo8.jpg">images/Photo8.JPG</a>", "Go Red Rams"];
vipslides[8]=["<a href="images/Photo9.jpg">images/Photo9.JPG</a>", "DJ VIP About to Start"];
vipslides[9]=["<a href="images/Photo10.jpg">images/Photo10.JPG</a>", "Wow Needed to Rest"];
vipslides[10]=["<a href="images/Photo11.jpg">images/Photo11.JPG</a>", "Nice Lunch Set Up"];
vipslides[11]=["<a href="images/Photo12.jpg">images/Photo12.JPG</a>", "Shake Shake Shake"];
vipslides[12]=["<a href="images/Photo13.jpg">images/Photo13.JPG</a>", "DJ VIP Hello"];
vipslides[13]=["<a href="images/Photo14.jpg">images/Photo14.JPG</a>", "Strike a Pose"];
vipslides[14]=["<a href="images/Photo15.jpg">images/Photo15.JPG</a>", "VIP Presents Center Piece"];
vipslides[15]=["<a href="images/Photo16.jpg">images/Photo16.JPG</a>", "DJ VIP Hardest Working DJ"];
vipslides[16]=["<a href="images/Photo17.jpg">images/Photo17.JPG</a>", "TouchStone Health Luncheon"];
vipslides[17]=["<a href="images/Photo18.jpg">images/Photo18.JPG</a>", "DJ VIP Never Stops"];

var fadebgcolor="white"

////NO need to edit beyond here/////////////

etc........

Body Info:
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow=(vipslides, 300, 164, 0, 3000, 1)
</script>

boogyman
06-02-2008, 05:00 PM
//SET IMAGE PATHS. Extend or contract array as needed
vipslides[0]=["<a href="images/Photo1.JPG">images/Photo1.JPG</a>", "JD High School"];
vipslides[1]=["<a href="images/Photo2.JPG">images/Photo2.JPG</a>", "DJ VIP Working Hard"];
vipslides[2]=["<a href="images/Photo3.jpg">images/Photo3.JPG</a>", "Kids Just Wanna Have Fun"];
vipslides[3]=["<a href="images/Photo4.jpg">images/Photo4.JPG</a>", "Lunch is Served"];
vipslides[4]=["<a href="images/Photo5.jpg">images/Photo5.JPG</a>", "Dance to the Music"];
vipslides[5]=["<a href="images/Photo6.jpg">images/Photo6.JPG</a>", "VIP Presents Wedding Shelf"];
vipslides[6]=["<a href="images/Photo7.jpg">images/Photo7.JPG</a>", "TouchStone Health Family"];
vipslides[7]=["<a href="images/Photo8.jpg">images/Photo8.JPG</a>", "Go Red Rams"];
vipslides[8]=["<a href="images/Photo9.jpg">images/Photo9.JPG</a>", "DJ VIP About to Start"];
vipslides[9]=["<a href="images/Photo10.jpg">images/Photo10.JPG</a>", "Wow Needed to Rest"];
vipslides[10]=["<a href="images/Photo11.jpg">images/Photo11.JPG</a>", "Nice Lunch Set Up"];
vipslides[11]=["<a href="images/Photo12.jpg">images/Photo12.JPG</a>", "Shake Shake Shake"];
vipslides[12]=["<a href="images/Photo13.jpg">images/Photo13.JPG</a>", "DJ VIP Hello"];
vipslides[13]=["<a href="images/Photo14.jpg">images/Photo14.JPG</a>", "Strike a Pose"];
vipslides[14]=["<a href="images/Photo15.jpg">images/Photo15.JPG</a>", "VIP Presents Center Piece"];
vipslides[15]=["<a href="images/Photo16.jpg">images/Photo16.JPG</a>", "DJ VIP Hardest Working DJ"];
vipslides[16]=["<a href="images/Photo17.jpg">images/Photo17.JPG</a>", "TouchStone Health Luncheon"];
vipslides[17]=["<a href="images/Photo18.jpg">images/Photo18.JPG</a>", "DJ VIP Never Stops"];


wrong... if you look at the config file they need to be declared in



slideArray[num] = ["/path/to/img", "/path/to/link", "_target"];


the ultimate slideshow doesn't support "captions" by default

boogyman
06-03-2008, 03:14 PM
// please use this forum for discussion, not email

If the values you put up there are correct, you would need to declare the values as such



vipslides[0]=["images/Photo1.JPG", "images/Photo1.JPG", ""];
vipslides[1]=["images/Photo2.JPG", "images/Photo3.JPG", ""];
vipslides[2]=["images/Photo3.JPG", "images/Photo3.JPG", ""];

etcetc...



//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

the configuration states the three ways to declare (initialize) a new slide in the show

I am assuming the last portion that you put in above

JD High School ... DJ VIP Working Hard ... etc
were some type of "caption" that you would also like to be displayed with the image? I am telling you that the script doesn't support captions as it is currently configured. maybe in the future it will, but presently it does not