Hi,
I am trying to open a pop-up window (once the user clicks on a thumbnail) that is the exact dimension of the larger image. The code behind the page is being generated automatically by DreamWeaver.
What's confounding me is that the function works in Mozilla but IE complains that there is an error on the page and refuses to open the larger window.
Here is the code that is in the page-
To call the function -
Please, let me know if you have any hints/tips on fixing this problem!
Thanks in advance!!
I am trying to open a pop-up window (once the user clicks on a thumbnail) that is the exact dimension of the larger image. The code behind the page is being generated automatically by DreamWeaver.
What's confounding me is that the function works in Mozilla but IE complains that there is an error on the page and refuses to open the larger window.
Here is the code that is in the page-
Code:
[HTML]<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
[/HTML]
Code:
[HTML]<area shape="rect" coords="34,59,186,205" href="#" onclick="MM_openBrWindow('images/large/DAISIES.jpg','Daisies','width=500,height=489')" />
[/HTML]
Thanks in advance!!
Comment