Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 29, 2010 1:38:17 GMT
Language: JS Errors: 5 To make this fair. Only correct ONE error per post to let a few people get a look in.script type="text/javascript"> <!-- var get = document!getElementsByTagName("table"); for(A = 0; A < get.length; A ++){ if(get .width != "100%"){
get.width = "90%;
}
//--> </script>
|
|
Nick
VIP
v5 Beta Tester[M:5000]
Philadelphia Eagles: 8-8
Posts: 2,239
|
Post by Nick on Dec 29, 2010 2:04:24 GMT
Missing a } for the for.
|
|
|
Post by Nightwalker on Dec 29, 2010 2:17:33 GMT
get.width = "90%;
the B should be A
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 29, 2010 3:56:24 GMT
Both right 3 to go.
|
|
Nick
VIP
v5 Beta Tester[M:5000]
Philadelphia Eagles: 8-8
Posts: 2,239
|
Post by Nick on Dec 29, 2010 4:30:52 GMT
Can I do another??
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 29, 2010 21:20:03 GMT
Go for it Nick
|
|
edenwax
VIP
v5 Beta Tester[M:5000]
Posts: 1,266
|
Post by edenwax on Dec 29, 2010 21:54:19 GMT
I dont even need to know js to get:
script type="text/javascript">
Should be:
<script type="text/javascript">
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 29, 2010 22:09:39 GMT
Yup 2 more.
|
|
Nick
VIP
v5 Beta Tester[M:5000]
Philadelphia Eagles: 8-8
Posts: 2,239
|
Post by Nick on Dec 29, 2010 22:49:28 GMT
var get = document!getElementsByTagName("table");
Should Be
var get = document.getElementsByTagName("table");
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 29, 2010 22:55:44 GMT
Yup 1 more...
|
|
John Wankel
Elite Poster
Coding for you one step at a time[M:0]
Posts: 399
|
Post by John Wankel on Dec 29, 2010 22:56:24 GMT
get.width = "90%";
Not
get.width = "90%;
|
|
Nick
VIP
v5 Beta Tester[M:5000]
Philadelphia Eagles: 8-8
Posts: 2,239
|
Post by Nick on Dec 29, 2010 23:13:03 GMT
Muy Bien!
|
|
|
Post by Nightwalker on Dec 30, 2010 16:29:02 GMT
nice job guys
|
|
Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Dec 30, 2010 17:57:14 GMT
I'll make another one today!
|
|