JaMaIcAnYuTe
IS-IT--Management
Ok.need lots of elp and i really appreciate the help guys.Im trying to make a slidewhow on a webpage to change images.at the moment,the images change when you press a forward and back button, what i really would like is to get the images to change automatically by them selve, but i have no clue what to input .
var photos=new Array()
var text=new Array()
var which=0
var what=0
photos[0]="photos[1]="images/midflorida.jpg"
photos[2]="images/somerset.jpg"
photos[3]="images/rock springs.jpg"
photos[4]="images/crystal hills.jpg"
photos[5]="images/fawn meadows.jpg"
photos[6]="images/apopka.jpg"
photos[7]="images/sawfish.jpg"
photos[8]="images/golden.jpg"
text[0]="4/2 1/2 home for sale-Kissimmee Florida"
text[1]="1/1 Loft for rent-Orlando Florida"
text[2]="4/3 home for sale-Kissimmee Florida"
text[3]="3/3 home for sale/lease-Apopka Florida"
text[4]="Triplex for sale-Lakeland Florida"
text[5]="3/2 home for sale/lease-St Cloud Florida"
text[6]="4/3 home for sale/lease-Apopka Florida"
text[7]="3/2 home for sale-Kissimmee Florida"
text[8]="3/3 home for sale-Orlando Florida"
window.onload=new Function("document.rotater.description.value=text[0]")
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which];
what--
document.rotater.description.value=text[what];
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
what++
document.rotater.description.value=text[what];
}
else window.status='End of gallery'
}
function type()
{
alert("This textbox will only display default comments")
}
var photos=new Array()
var text=new Array()
var which=0
var what=0
photos[0]="photos[1]="images/midflorida.jpg"
photos[2]="images/somerset.jpg"
photos[3]="images/rock springs.jpg"
photos[4]="images/crystal hills.jpg"
photos[5]="images/fawn meadows.jpg"
photos[6]="images/apopka.jpg"
photos[7]="images/sawfish.jpg"
photos[8]="images/golden.jpg"
text[0]="4/2 1/2 home for sale-Kissimmee Florida"
text[1]="1/1 Loft for rent-Orlando Florida"
text[2]="4/3 home for sale-Kissimmee Florida"
text[3]="3/3 home for sale/lease-Apopka Florida"
text[4]="Triplex for sale-Lakeland Florida"
text[5]="3/2 home for sale/lease-St Cloud Florida"
text[6]="4/3 home for sale/lease-Apopka Florida"
text[7]="3/2 home for sale-Kissimmee Florida"
text[8]="3/3 home for sale-Orlando Florida"
window.onload=new Function("document.rotater.description.value=text[0]")
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which];
what--
document.rotater.description.value=text[what];
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
what++
document.rotater.description.value=text[what];
}
else window.status='End of gallery'
}
function type()
{
alert("This textbox will only display default comments")
}