Two things wrong with your file;
[1] The head script formatting has been destroyed in the copy and paste action.
Ensure the formatting is retained
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=800,height=800,left = 560,top = 200');");
}
// End -->
</script>
[2] The 'Open link' was set to New window (_blank) - this should be 'Not specified'
Also, that demo was created for version 6. Now, in version 7 (Premium) there is no need to name placeholders <head> or indeed use a placeholder at all for the head code.
You can simply place the script code in the head section in the Page tab of Web properties.
I have attached your corrected file.
Bookmarks