J
janice
Hi all,
Can someone tell me why this won't work? (I get a
"document.images.whichpic is null or not an object" message.)
-----
var numbeads = 0;
function addABead(whichbead, w, h) {
var whichpic = "pic" + numbeads;
document.images.whichpic.src = whichbead;
document.images.whichpic.width = w;
document.images.whichpic.height = h;
numbeads += 1;
}
Can someone tell me why this won't work? (I get a
"document.images.whichpic is null or not an object" message.)
-----
var numbeads = 0;
function addABead(whichbead, w, h) {
var whichpic = "pic" + numbeads;
document.images.whichpic.src = whichbead;
document.images.whichpic.width = w;
document.images.whichpic.height = h;
numbeads += 1;
}