View Full Version : Modifying Ultimate Fade-in slideshow (v2.4)

10-28-2010, 11:59 PM
Forgive me for not putting this in the correct place- it's been about 12 years since I posted here.

1) Script Title:
Ultimate Fade-in slideshow (v2.4)

2) Script URL (on DD):

3) Describe needed direction:
Where would I get started? I like the script, but I am trying to figure out how to implement some variables on specifying the use of photos. I would like to set an activate date and expiration date for the photo so only active photos will be used.

Then I was wanting to establish an order of 6 picture Sets. Within these sets I want to have the option to Randomly pick one of the ACTIVE photos within the set.

The End result will be:

First photo will be consistent week to week.
Second photo will be a Random Active photo.
Third Photo will be one of four Active photos (changes weekly)
Fourth Photo will be a Random Active photo.
Fifth photo will be an Active photo (may have more than one- dunno)
Sixth photo will be a Random Active Photo.

Then the cycle repeats.

I've got this from years ago:
<SCRIPT LANGUAGE="javascript">
function randompic()
//Scrit Name:Random background V1.0
//Created By:Garadon

var number=Math.floor(Math.random()*5);
backpic=new Array('images/LargeScultpure.jpg','images/disFalenderHouseHeadBoard.jpg','images/discopperfoursome4.jpg',



<body text="#0099FF" link="#FFFF00" vlink="#00FFFF" onLoad=randompic() id=body background="images/default.gif">

and I am trying to mash the codes together- Direction anyone?