latheesan
08-17-2005, 03:18 PM
Hi,
i tried to popup a php file without any features like menubar, scrollbar, and so on and centerterd too, so i tried to use this script. it didnt work :(
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=511,height=304,left=278,top=238');");
}
// End -->
</script>
</head>
<body>
<a href="javascript:popUp('list.php')">Open the list</a>
</body>
why isnt it working?
i tried to popup a php file without any features like menubar, scrollbar, and so on and centerterd too, so i tried to use this script. it didnt work :(
<head>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=511,height=304,left=278,top=238');");
}
// End -->
</script>
</head>
<body>
<a href="javascript:popUp('list.php')">Open the list</a>
</body>
why isnt it working?
