OhLordy
09-05-2003, 05:13 AM
Hi, when I try to run the following in netscape or mozilla I get this error
<script language="javascript">
function load_image(product_code, image, width, height)
{
window.open('image_view.php?product_code='+product_code+'?='+image,'_blank','location=no,left=200, top=200, screenX=200, screenY=200, menubar=no, resizable=no, scrollbar=no, toolbar=no, titlebar=no, width='+width+', height='+height);
}
</script>
<a href="java script:load_image('7302','product',350,450)">
<img src="http://images7.wowwoman.com/images/7/LING014_6870big.jpg" width="160" height="216" class="product" /></a>
the error
Error: load_image is not defined
Thanks in advance
Rob
<script language="javascript">
function load_image(product_code, image, width, height)
{
window.open('image_view.php?product_code='+product_code+'?='+image,'_blank','location=no,left=200, top=200, screenX=200, screenY=200, menubar=no, resizable=no, scrollbar=no, toolbar=no, titlebar=no, width='+width+', height='+height);
}
</script>
<a href="java script:load_image('7302','product',350,450)">
<img src="http://images7.wowwoman.com/images/7/LING014_6870big.jpg" width="160" height="216" class="product" /></a>
the error
Error: load_image is not defined
Thanks in advance
Rob