hey peeps, i have a pretty simple script that changes an image source when a link is clicked. it works in explorer, but not in netscape.
here's the script:
this is in the <head>
<script type="text/javascript">
function changePic(source,w,h){
img.src=source;
img.width=w;
img.height=h;
}
</script>
and this is the link
<a href="javascript:changePic('../../../images/hay_forage/rbale_carrier/control.jpg',156,243)">Link</a>
thanks everyone. PEACE!
here's the script:
this is in the <head>
<script type="text/javascript">
function changePic(source,w,h){
img.src=source;
img.width=w;
img.height=h;
}
</script>
and this is the link
<a href="javascript:changePic('../../../images/hay_forage/rbale_carrier/control.jpg',156,243)">Link</a>
thanks everyone. PEACE!