Change this:
Code:
function keeptrack(){
window.status="Image "+(which+1)+" of "+photos.length
}
to:
Code:
function keeptrack(){
var dyndat=document.all&&document.all['dyndata']? document.all['dyndata'] : document.getElementById&&document.getElementById('dyndata')? document.getElementById('dyndata') : null;
if(dyndat)
dyndat.innerHTML="Image "+(which+1)+" of "+photos.length;
}
With that change, you can have this wherever you like in the body of the page:
Code:
<div id="dyndata">Image 1 of 3</div>
It will display the information, be sure to change 3 to the total number of images.
Bookmarks