I have a script that changes a main/enlarged image when you click on a
thumbnail. It works fine in IE, but for some reason it won't do anything in
Netscape 7.1. Does anyone know if this is a problem with Netscape, or is
there something I can alter in this script that will allow it to work in
both IE and Netscape?
<script language="JavaS cript">
function enlarge() {
oSrcElem = event.srcElemen t;
imgLarge.src = oSrcElem.src.re place(/thumbs/,'images');
}</script>
Example line: <img src="thumbs/JosielynI26.jpg " width="33" height="50"
border="1" onClick="enlarg e()">Thanks for any/all assistance, and any
replies CC'd to my LAshooter HoTMaiL acct would be greatly appreciated!
Wm
thumbnail. It works fine in IE, but for some reason it won't do anything in
Netscape 7.1. Does anyone know if this is a problem with Netscape, or is
there something I can alter in this script that will allow it to work in
both IE and Netscape?
<script language="JavaS cript">
function enlarge() {
oSrcElem = event.srcElemen t;
imgLarge.src = oSrcElem.src.re place(/thumbs/,'images');
}</script>
Example line: <img src="thumbs/JosielynI26.jpg " width="33" height="50"
border="1" onClick="enlarg e()">Thanks for any/all assistance, and any
replies CC'd to my LAshooter HoTMaiL acct would be greatly appreciated!
Wm
Comment