Difference between revisions of "JavaScript"

From GcatWiki
Jump to: navigation, search
(Created page with '*Usually put javascript within html head *Hide javascript for browsers without support **<!-- begin hiding //Stop --> *// stuff = commented out like in java *If s…')
 
Line 1: Line 1:
 
*Usually put javascript within html head
 
*Usually put javascript within html head
 
*Hide javascript for browsers without support
 
*Hide javascript for browsers without support
**<!-- begin hiding                //Stop -->
+
**'''< ! -- begin hiding                //Stop -->"""
 
*// stuff = commented out like in java
 
*// stuff = commented out like in java
 
*If statements (ect) just like in java... also add ; after every line
 
*If statements (ect) just like in java... also add ; after every line
 
*Div and Span html tags = essential
 
*Div and Span html tags = essential

Revision as of 21:28, 24 June 2011

  • Usually put javascript within html head
  • Hide javascript for browsers without support
    • < ! -- begin hiding //Stop -->"""
  • // stuff = commented out like in java
  • If statements (ect) just like in java... also add ; after every line
  • Div and Span html tags = essential