Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-21-2009, 01:25 PM   PM User | #31
enderwiggin7
Regular Coder

 
enderwiggin7's Avatar
 
Join Date: Jun 2009
Posts: 131
Thanks: 22
Thanked 0 Times in 0 Posts
enderwiggin7 is an unknown quantity at this point
Update: Found and ran JSlint on custom.js, fixed all errors but this one, which I don't understand:
Quote:
Error:

Implied global: addChildmenuItem 165 166 167 168 169 170 175 177 178 179 180 182 183 184 186 187 188 189 191 192 193 205 206 207 208 209 210 211 212, addMainItem 121 123 136 149 197 215 217, addSubmenuItem 127 128 129 130 140 141 142 143 144 145 153 154 157 199 200 201 202 219 220 221, defineChildmenuProperties 160 204, defineSubmenuProperties 125 138 151 198 218, exclude 3
(Off-topic question - why can't I add an avatar? It has the radio button fixed on "none". Is there a minimum post count or something?)
enderwiggin7 is offline   Reply With Quote
Old 07-21-2009, 01:30 PM   PM User | #32
enderwiggin7
Regular Coder

 
enderwiggin7's Avatar
 
Join Date: Jun 2009
Posts: 131
Thanks: 22
Thanked 0 Times in 0 Posts
enderwiggin7 is an unknown quantity at this point
I ran the same check on style.js, who's function is unknown to me, and got a basket-full of errors:

Quote:
Error:

Implied global: aDEC 17, aLINK 17 18, allowRESIZE 14, bSIZE 12, cellCLICK 12, document 8, exclude 6, fFONT 17, fSIZE 10 12 17, fWEIGHT 12 17 18, mac 10, menuALIGN 14, mu 12, ns4 10 17, op5 10, remoteTRIGGERING 14, saDEC 17, saLINK 17, sbSIZE 12, sfFONT 17, sfSIZE 10 12 17, sfWEIGHT 12 17, shSIZE 12, stINDENT 12, staticMENU 14, svPADDING 12, tINDENT 12, vPADDING 12
Problem at line 12 character 12: Expected '{' and instead saw 'bSIZE'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 31: Expected '{' and instead saw 'fSIZE'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 52: Expected '{' and instead saw 'tINDENT'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 76: Expected '{' and instead saw 'vPADDING'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 99: Expected '{' and instead saw 'sbSIZE'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 121: Expected '{' and instead saw 'sfSIZE'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
Problem at line 12 character 144: Expected '{' and instead saw 'stINDENT'.
if(bSIZE<0)bSIZE=0;if(fSIZE<5)fSIZE=5;if(tINDENT<0)tINDENT=0;if(vPADDING<0)vP...
~
Problem at line 18 character 143: Bad escapement.
else{stySTR+='<style><!--';stySTR+='.mTD,.mTD A \{white-space:nowrap;color:'+...
Problem at line 18 character 160: Bad escapement.
else{stySTR+='<style><!--';stySTR+='.mTD,.mTD A \{white-space:nowrap;color:'+...
Problem at line 18 character 160: Too many errors. (30% scanned).

Last edited by enderwiggin7; 07-21-2009 at 01:32 PM.. Reason: trimmed for size
enderwiggin7 is offline   Reply With Quote
Old 07-21-2009, 01:34 PM   PM User | #33
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,696
Thanks: 5
Thanked 875 Times in 850 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
I tell you: You could have it all working by now if you implemented the CSS menu I provided. In the time you’re wasting on fixing an outdated script you could have converted the entire site into a semantic CSS layout at least three times.

As to the Avatar: http://codingforums.com/showpost.php...18&postcount=1
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 07-21-2009, 01:40 PM   PM User | #34
enderwiggin7
Regular Coder

 
enderwiggin7's Avatar
 
Join Date: Jun 2009
Posts: 131
Thanks: 22
Thanked 0 Times in 0 Posts
enderwiggin7 is an unknown quantity at this point
It's out of my hands - I've been asked to get THIS one working. All I need is for the navbar to appear properly and not move around or disappear on me. I care about nothing else in this. It doesn't need to be fancy or clean, it just needs to work.
enderwiggin7 is offline   Reply With Quote
Old 07-21-2009, 02:27 PM   PM User | #35
enderwiggin7
Regular Coder

 
enderwiggin7's Avatar
 
Join Date: Jun 2009
Posts: 131
Thanks: 22
Thanked 0 Times in 0 Posts
enderwiggin7 is an unknown quantity at this point
Quote:
apply a transitional html doctype, run your site through the validator, and fix the errors, then we’ll get closer to it, i promise.
. . .
enderwiggin7 is offline   Reply With Quote
Reply

Bookmarks

Tags
error, javascript, navbar, syntax

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 AM.


Advertisement
Log in to turn off these ads.