JohannIcon
Programmer
Dear All,
I have a Javascript function that basically opens an image in a popup window the same size as the image. Here is the Javascript code:-
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
And then to open the images I use this code:-
<map name="Map">
<area shape="rect" coords="37,14,118,56" href="#" onMouseUp="MM_openBrWindow('homepop1.html','','width=320,height=240')">
<area shape="rect" coords="126,14,197,58" href="#" onMouseUp="MM_openBrWindow('homepop2.html','','width=320,height=240')">
<area shape="rect" coords="209,13,283,66" href="#" onMouseUp="MM_openBrWindow('homepop3.html','','width=320,height=240')">
</map>
However, if the user does not close the popup window, three popup windows open up with the three images.
Is there a way on how I can display the images in the same popup, so that instead of 3 popup windows I have only 1?
Thanks for your help and time
I have a Javascript function that basically opens an image in a popup window the same size as the image. Here is the Javascript code:-
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
And then to open the images I use this code:-
<map name="Map">
<area shape="rect" coords="37,14,118,56" href="#" onMouseUp="MM_openBrWindow('homepop1.html','','width=320,height=240')">
<area shape="rect" coords="126,14,197,58" href="#" onMouseUp="MM_openBrWindow('homepop2.html','','width=320,height=240')">
<area shape="rect" coords="209,13,283,66" href="#" onMouseUp="MM_openBrWindow('homepop3.html','','width=320,height=240')">
</map>
However, if the user does not close the popup window, three popup windows open up with the three images.
Is there a way on how I can display the images in the same popup, so that instead of 3 popup windows I have only 1?
Thanks for your help and time