Title Text Goes Here



Download 2.8 Mb.
View original pdf
Page4/37
Date16.06.2022
Size2.8 Mb.
#59010
1   2   3   4   5   6   7   8   9   ...   37
com-225-web-technology-theory
Adding a Script ............................................................................................. 105
Triggering a Script ...................................................................................... Dynamic modification of documents ................................................... 110
Calling an External Script ....................................................................... 111
Hide Scripts from Older Browsers .................................................... 111
Alternate Information for Older Browsers .................................. 111
Set a Default Scripting Language ...................................................... 112
Introduction to JavaScript......................................................................... 113
What You Should Already Know ........................................................ 113
What is JavaScript? ................................................................................... 113
Are Java and JavaScript the Same? ................................................. 113
What can a JavaScript Do? .................................................................... 114
The Real Name is ECMAScript .............................................................. JavaScript Designs ..................................................................................................... How to Put a JavaScript Into an HTML Page. Example Explained ...................................................................................... HTML Comments to Handle Simple Browsers ..................................................... Whereto Put the JavaScript ................................................................................... Using an External JavaScript ................................................................................. JavaScript Statements ................................................................................................ JavaScript is Case Sensitive ................................................................................... JavaScript Statements ............................................................................................ 119

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

Download 2.8 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   37




The database is protected by copyright ©ininet.org 2024
send message

    Main page