F
Frances Del Rio
this code is supposed to flip imgs at intervals of one second, but it
flipps them much faster, it seems it flips them all in that first
second, the more seconds the faster it flips them, instead of the other
way around... (I mean it seems to me the more seconds I put in there the
more seconds should go by betw. flips... each photo is in a div, each
div has a z-index of 0, 1, 2, etc..)
http://www.francesdelrio.com/cassini
(pls reload a few times, my stuff loads a bit slow b/c my site is hosted
abroad, their int'l traffic is slower..)
code:
var photos = new
Array("one","two","three","four","five","six","seven","eight")
function flip() {
for (i=1; i < photos.length; i++) {
var photoDiv = eval('document.getElementById(' + "photos" + ')')
var doIt = photoDiv.style.visibility = "visible"
setTimeout("doIt",1000)
}
}
thank you.. Frances
flipps them much faster, it seems it flips them all in that first
second, the more seconds the faster it flips them, instead of the other
way around... (I mean it seems to me the more seconds I put in there the
more seconds should go by betw. flips... each photo is in a div, each
div has a z-index of 0, 1, 2, etc..)
http://www.francesdelrio.com/cassini
(pls reload a few times, my stuff loads a bit slow b/c my site is hosted
abroad, their int'l traffic is slower..)
code:
var photos = new
Array("one","two","three","four","five","six","seven","eight")
function flip() {
for (i=1; i < photos.length; i++) {
var photoDiv = eval('document.getElementById(' + "photos" + ')')
var doIt = photoDiv.style.visibility = "visible"
setTimeout("doIt",1000)
}
}
thank you.. Frances