I seem to be hogging this discussion group but I think you'll see the back of me after this one for a while!
I've got some rollovers that don't seem to be happening and I'm not sure why; it doesn't give any error, it just doesn't rollover!
Here's my code - it's included in all files using an inline script tag:
<script src="includes/java_function.
js" language="javascript" type="text/javascript"></script>
<script language="JavaScript">
function imgOver() {
}
function imgOut() {
}
</script>
and this is the java_function.
js coding:
enter_up = new Image
btn_home_up = new Image
about_us_up = new Image
projects_up = new Image
ir_up = new Image
pic_up = new Image
contact_up = new Image
enter_over = new Image
btn_home_over = new Image
about_us_over = new Image
projects_over = new Image
ir_over = new Image
pic_over = new Image
contact_over = new Image
enter_up.src = "image_bin/enter_up.gif"
btn_home_up.src = "image_bin/btn_home_up.gif"
about_us_up.src = "image_bin/about_us_up.gif"
projects_up.src = "image_bin/projects_us_up.gif"
ir_up.src = "image_bin/ir_up.gif"
pic_up.src = "image_bin/pic_up.gif"
contact_up.src = "image_bin/contact_up.gif"
enter_over.src = "image_bin/enter_over.gif"
btn_home_over.src = "image_bin/btn_home_over.gif"
about_us_over.src = "image_bin/about_us_over.gif"
projects_over.src = "image_bin/projects_over.gif"
ir_over.src = "image_bin/ir_over.gif"
pic_over.src = "image_bin/pic_over.gif"
contact_over.src = "image_bin/contact_over.gif"
function imgOver(thisImg) {
document[thisImg].src = "image_bin/" + thisImg + "_up.gif"
}
function imgOut(thisImg) {
document[thisImg].src = "image_bin/" + thisImg + "_over.gif"
}
many thanks
Adam