Lambo
06-21-2006, 02:57 PM
Hi.
I have found the attached code on the net to open a pop-up window. Can anyone tell me how to convert this so that I get it as an iframe instead of a pop up window.
Many thanks.
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
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=400,height=400,left = 312,top = 184');");
}
</script>
<BODY onLoad="javascript:popUp('http://www.bbc.co.uk')">
I have found the attached code on the net to open a pop-up window. Can anyone tell me how to convert this so that I get it as an iframe instead of a pop up window.
Many thanks.
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
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=400,height=400,left = 312,top = 184');");
}
</script>
<BODY onLoad="javascript:popUp('http://www.bbc.co.uk')">