dr_bay
09-19-2005, 11:55 PM
Any idea how I can get this display one number higher than it would display, i.e. if "which" is equal to 4 I want it to display 5. Any help will be appreciated.
function changepic(which)
{
var goodnum = which;
document.img.src = pic[goodnum];
document.getElementById('imgText').innerHTML = which;
}
Image <span id='imgText'>#</span> of 11
function changepic(which)
{
var goodnum = which;
document.img.src = pic[goodnum];
document.getElementById('imgText').innerHTML = which;
}
Image <span id='imgText'>#</span> of 11