TYPE THE DOCUMENT TITLE 6 JavaScript Code ..................................................................................................... JavaScript Blocks ................................................................................................... JavaScript Comments. JavaScript Multi-Line Comments .......................................................................... Using Comments to Prevent Execution ................................................................. Using Comments at the End of a Line ................................................................... JavaScript Variables. Example ................................................................................................................. Declaring (Creating) JavaScript Variables ............................................................ Assigning Values to Undeclared JavaScript Variables .......................................... 123
Redeclaring JavaScript Variables .......................................................................... JavaScript Arithmetic. JavaScript Operators .................................................................................................. JavaScript Arithmetic Operators ............................................................................ JavaScript Assignment Operators .......................................................................... The + Operator Used on Strings ............................................................................ Adding Strings and Numbers ................................................................................. What is DHTML? .................................................................................................. 127
DHTML in IE 4 ..................................................................................................... The style object of IE 4 ............................................................................. Dynamic content .................................................................................................... Dynamic content in IE 4 ........................................................................... Moving elements around in the document ............................................................. Moving elements in IE 4 ........................................................................... Creating cross-browser DHTML ........................................................................... Creating a "cross-browser" layer .......................................................... Browser sniffing- object detection ........................................................ 132
Share with your friends: