I have a popup window created through a link (as the trigger). My web designer 10 is creating the pages so that it opens 2 times.
Is there a way to force this to open only 1 time? This appears to be happening only in Firefox.
trigger call code.
Code:
javascript:popUp('http://www.signstopusa.com/login%20page.htm')
Placeholder javascript code.
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=660,height=550,left = 500,top = 275');");
}
// End -->
</script>
I need to fix the double window opening. But also, is there a way to make this open as a smaller popup window in Safari (right now it opens as a tab on an ipad)?
Any help will be appreciated.
Bookmarks