The problem I have is if one is opened & not closed & another of the small jpg's is clicked on then the popup
will not show on the screen. It will just drop to the bottom menu bar. I really only want one popup to show at a time so is there a way to
set the window.open or something similar so it will automatically close whatever else is opened or even just take its place?
Here is some of my code:
Code: Select all
// Function to open up pictures in a popup window, an example of how its used is below
// <img style="..." alt="..." src="s1carib.jpg" onclick="pictures('01carib.jpg')">
function pictures(jimage)
{
window.open (jimage,"The_Pics","menubar=no,statusbar=no,location=no,toolbars=no,scrollbars=yes,width=675,height=675,resizable=0,top=50,left=50");
}