Free Republic
Browse · Search
General/Chat
Topics · Post Article

Do I have to do something with this script? Or do I have to add it to the page that is being loaded in the popup window?

Thanks in advance for your help!

1 posted on 04/18/2007 8:39:35 AM PDT by Tanniker Smith
[ Post Reply | Private Reply | View Replies ]


To: JRandomFreeper

Can you help?


2 posted on 04/18/2007 8:44:07 AM PDT by Dog
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Tanniker Smith

First of all avoid pop-ups like the plague!! - explore DHTML layers instead.


3 posted on 04/18/2007 8:46:41 AM PDT by RC51
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Tanniker Smith

When that fails use:

//— Begin Script —
var newwindow = ‘’;

function popitup(url) {
if (!newwindow.closed && newwindow.location) {
newwindow.location.href = url;
}
else {
newwindow=window.open(url,’name’,’height=200,width=150’);
if (!newwindow.opener) newwindow.opener = self;
}
if (window.focus) {newwindow.focus()}
return false;
}

//— End Script —


4 posted on 04/18/2007 8:47:33 AM PDT by RC51
[ Post Reply | Private Reply | To 1 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson