L
LAshooter
I'm trying to use a javascript function that works in IE but not in Firefox.
Is there something about this code that is IE specific? If so, can I
add/alter something to make it work in more browsers?
Ex:<img src="thumbs/Dina.jpg" alt="Dina Marie Vannoni" width="39"
height="50" border="1" onClick="enlarge()"><script language="JavaScript">
function enlarge() {
oSrcElem = event.srcElement;
imgLarge.src = oSrcElem.src.replace(/thumbs/,'images');
}
</script>
Thanx,Wm(replies CC: to sdshooter at hotmail appreciated!)
Is there something about this code that is IE specific? If so, can I
add/alter something to make it work in more browsers?
Ex:<img src="thumbs/Dina.jpg" alt="Dina Marie Vannoni" width="39"
height="50" border="1" onClick="enlarge()"><script language="JavaScript">
function enlarge() {
oSrcElem = event.srcElement;
imgLarge.src = oSrcElem.src.replace(/thumbs/,'images');
}
</script>
Thanx,Wm(replies CC: to sdshooter at hotmail appreciated!)