I'm learning from a book how to make pop ups on a web site when a page loads. I'm copying the code correctly I think but I'm getting 2 errors. I went around to different sites looking for a code I couldn't copy and past to see what I was doing wrong and I get the same errors from every code. My pop up blocker is turned off. Right now my goal is to just make a blank pop up window. The errors I'm getting are
Unterminated string constant Line 8
window.html
and
Object expected line 15
<html>
<head>
<script language="javascript">
<!-- begin
function popup(Site)
{
window.open(Site,'PopupName','toolbar=no,statusbar=no,
location=no,scrollbars=yes,resizable=yes,width=275,height=200')
}
// end -->
</script>
</head>
<BODY onLoad="popup('time.html')">
</body>
</html>