View Full Version : Code Problems
[lhomme]
March 29th, 2002, 17:05
Could someone review my page and tell me why I'm getting Javascript errors?
http://www.acafe.net/games.php
Thanks.
ps. I know the links lead to non-existant pages.
is0lized
March 29th, 2002, 17:14
no errors for me in IE 6.0 and Mozilla 0.98
[lhomme]
March 29th, 2002, 17:29
Try clicking on some of the game links. It works fine for me in Opera but doesnt seem to work in IE6. I've also repeately refreshed and deleted my temp internet files so I dont think thats the problem.
is0lized
March 29th, 2002, 17:40
here try this :D
<!--
function cam() {
flyout=window.open("rcam.php","webcam","resizable=no,scrollbars=yes,menubar=no,status=no,directories =no,width=363,height=420");
}
//-->
<a href="javascript:cam()">
[lhomme]
April 4th, 2002, 21:14
Still doesnt work. Now whats wrong? :(
meow
April 5th, 2002, 06:44
As it says: line 11 char 28, not closed string (or whatever it says in English). You lack a quote. (The beginning quote around the window features.)
[lhomme]
April 5th, 2002, 08:43
Ok, I've corrected that - so what does the error: object expected mean?
majgik
April 5th, 2002, 08:56
im not exactly sure but i think it means u left something that should be in there out
meow
April 5th, 2002, 09:07
I still get nagged about not closed strings...ahem, you have hard line breaks in the code in every function.
function asteriods() {
flyout=window.open("games/asteriod.htm","SpaceFighter","resizable=no,scrollbars=no,
menubar=no,status=no,directories/*** HERE ***/
=no,width=300,height=400");
[lhomme]
April 5th, 2002, 09:14
That was it - thanks. :D
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.