J
janice
Hi this is the script I am using for my pop-up box, it is for pictures that
are small and pop to a small box to show an enlarged version... now what I
want to do is reuse the same box over instead of having like 30 boxes open
that people have to close. I think it might be annoying to close all those
boxes so what do I have to add to make all my pictures reuse the same box?
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=330,left = 262,top = 222');");
}
// End -->
</script>
are small and pop to a small box to show an enlarged version... now what I
want to do is reuse the same box over instead of having like 30 boxes open
that people have to close. I think it might be annoying to close all those
boxes so what do I have to add to make all my pictures reuse the same box?
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=420,height=330,left = 262,top = 222');");
}
// End -->
</script>