Mr_Person Posted December 15, 2005 Share Posted December 15, 2005 <html><head><title>Intro to Web Page Programming, Exam II Part II, Fixing the Code</title><script language="javascript" type="text/javascript"><!-- start hiding scriptfunction PopWin(url) { newwindow=window.open(url,'name','height=150,width=150' + ',toolbar=no,status=no,menubar=no,directories=no' + ',location=no,resizable=yes,scrollbars=auto' + ',top=225,left=325'); if (window.focus) { newwindow.focus() }}// end hiding script --></script><script language="JavaScript" type="text/javascript"><!-- start hiding scriptfunction PopImg(url) { newwindow=window.open(url,'name','height=268,width=364' +',top=166,left=218'); if (window.focus) { newwindow.focus() }}// end hiding script --></script><!--<script language="JavaScript" type="text/javascript">function goDestination(a){ if (document.mymenu.menuopts.value != "null") { document.location.href = a }}</script>--*</head><body><p><a href="javascript:PopWin('popup1.html')">Pop Up Window Here</a><p><script language="JavaScript" type="text/javascript"><!-- start hiding scriptif (Data.parse(document.lastModified) > 0) { document.write("Page Last Modified: "+document.lastModified)}// end hiding script --></script></body></html> ok, something is wrong here but i cant figure out what? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 15, 2005 Share Posted December 15, 2005 lol. trying to get us to do your homework again??? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 15, 2005 Share Posted December 15, 2005 document.location.href = a}}</script>--*</head><body> change '*' to a '>' Link to comment Share on other sites More sharing options...
F-Man Posted December 15, 2005 Share Posted December 15, 2005 language="JavaScript" is wrong. The rest is mainly scripting errors.But you really should try to learn this stuff by yourself. Link to comment Share on other sites More sharing options...
lugos Posted December 16, 2005 Share Posted December 16, 2005 I agree with F-Man... Link to comment Share on other sites More sharing options...
Skemcin Posted December 16, 2005 Share Posted December 16, 2005 Do your homework - we've already done ours! (check your PM please) Link to comment Share on other sites More sharing options...
Recommended Posts