Saj
06-10-2003, 10:11 PM
Hi.
Can any of you spot whats wrong with this script?
<script type="text/javascript">
function load_popup {
window.open("images/demo.swf", "Demo", "width=832,height=556");
self.close();
}
</script>
</head>
<body onload="javascript:load_popup()">
MS Script debugger picks on the onload="javascript:load_popup()" and something else, though I have no idea what since it didn't highlight anything.
Help would be appreciated.
Saj
Can any of you spot whats wrong with this script?
<script type="text/javascript">
function load_popup {
window.open("images/demo.swf", "Demo", "width=832,height=556");
self.close();
}
</script>
</head>
<body onload="javascript:load_popup()">
MS Script debugger picks on the onload="javascript:load_popup()" and something else, though I have no idea what since it didn't highlight anything.
Help would be appreciated.
Saj