I’m trying to pass a variable into a function but can’t find the right syntax:
I have a number of image sources called nav1.src, nav2.src, nav3.src etc
I want to use something like the following function to change them around
function navigate {
document.circles.src=”nav” + n + “.src”;
}
Can anyone help?
Bob Levien.
I have a number of image sources called nav1.src, nav2.src, nav3.src etc
I want to use something like the following function to change them around
function navigate {
document.circles.src=”nav” + n + “.src”;
}
Can anyone help?
Bob Levien.