I've got an array of images. I put them on the page fine. When clicked on the image calls a function to change the page background that image. The funtion is entered correctly (I can get the varibles from within the function) and it works in Netscape v7.1 and Mozilla 1.4 but NOT IE v6 or Opera v7.11
The function is really simple ...
<script language="JavaScript">
function ChngBGImg(imgnum){
document.body.background=bgimgarray
;
}
</script>
Does anyone have anything similar that will work in all the above browsers or failing that, can work in IE or Opera.
You can see that this is part of a larger project.
Ray
The function is really simple ...
<script language="JavaScript">
function ChngBGImg(imgnum){
document.body.background=bgimgarray
}
</script>
Does anyone have anything similar that will work in all the above browsers or failing that, can work in IE or Opera.
You can see that this is part of a larger project.
Ray