Books
in black and white
Main menu
Home About us Share a book
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

Javascript for dummies. Quick Reference - Vander

Vander Javascript for dummies. Quick Reference - Wiley Publishing, 2002. - 115 p.
Download (direct link): javascriptquickreference2002.pdf
Previous << 1 .. 63 64 65 66 67 68 < 69 > 70 71 .. 72 >> Next

link objects described, 64
event handlers, 154, 158-159 properties, 132-134, 140-142, 145 JavaScript syntax, 39 linkColor property, 136 links array, 136 LiveConnect, 199 LiveWire, 199 LN2 property, 136 LN10 property, 136 location objects described, 64-65 properties, 132-134, 140-142 JavaScript syntax, 39 reload() method, 111 location property, 137 log() method, 108 LOG2E property, 137 logical operators precedence order, 50 types of, 48-49 loops endless, 156 in JavaScript, 43-47
M_______________________________________
Macromedia, Shockwave for Director, 165 <MAP> tag, 31-32, 51 Math utility objects described, 65 E property, 130 JavaScript syntax, 40 LN2 property, 136 LN10 property, 136 LOG2E property, 137 PI property, 140 SQRT1_2 property, 144 SQRT2 property, 144 mathematical operators, 49 max() method, 108 method property, 137 methods
See also functions; names of specific methods described, 92, 200 reserved words, 189-190 MIME (Multipurpose Internet Mail Extension), 109, 138, 144, 200 mimeTypes array, 138, 144, 146 mimeTypes objects described, 200 description property, 130 enabledPlugin property, 131 mimeTypes array and, 138 min() method, 108
JavaScript For dummies Quick Reference
minus sign (-), in assignment operators, 47 minutes, specifying, 103, 114 modulus (%)
JavaScript assignment operator, 47, 48 JavaScript mathematical operator, 49 money fields, formatting, 173-175 months, specifying, 102, 103, 113, 114 mouse clicks See click( ) method mouse pointer, 159 moving images, in Web pages, 165 multicolored bubbles, 30-31 multimedia, in Web pages, 164-165 MULTIPLE attribute, for <SELECT> element, 25 multiplication (*=), JavaScript assignment operator, 47 multiplication (*), JavaScript mathematical operator, 49
N__________________________________________
NAME attribute, for radio buttons, 24 name property, 126, 138-139 natural logarithms, 108, 136 navigator objects appCodeName property, 127 appName property, 127 appVersion property, 127 described, 66
javaEnabledO method, 106 JavaScript syntax, 39 mimeTypes array, 138 plugins array, 140 user Agent property, 147 navigator properties, 181 nested objects, 171, 172-173 nested quotes, 40-41 Netscape Navigator accessing embedded plug-ins, 168 accessing images, 16 accessing source code, 177 ActiveX compatibility, 15, 167 calculating values for HTML tags, 183 clickable maps, 180 interacting with applets, 167 interacting with JavaScript, 167 JavaScript security issues, 36 JavaScript support, 3 LiveConnect technology, 199 LiveWire tool, 199 loading files, 179 onSelect event handler, 160 plug-in objects, 168-169 plug-ins, 32 resetO method, 112 resetting functions assigned to event handlers, 150
SRC attribute, 177 stopping onClick events, 153-154 viewing source code, 180 Netscape PowerStart, 178 new operator, creating objects, 89-90,169 newline character See writelnO method not (!), JavaScript logical operator, 49 not equal to (!=), JavaScript comparison operator, 48 null data type, syntax, 37 number data type, syntax, 37 numeric, field-level validation, 185-186 numeric computations See also integers; values cos( ) method, 99 eval() function, 84-85 floor() method, 100 LN2 property, 136 LN10 property, 136 LOG2E property, 137 max() method, 108 min() method, 108 randomQ method, 111 setTimeoutO method, 115-116 sin() method, 116 sort() method, 117 sqrt() method, 118 SQRT1_2 property, 144 SQRT2 property, 144 tan() method, 120
0______________________________________
object model, 36-40 «OBJECT> tag, embedding ActiveX component, 15-16 objects
See also HTML (HyperText Markup Language); names of specific objects blur() method and, 95-96 bypassing, 51 creating, 169-170 custom functions and, 89-90 debugging, 172 described, 56, 200 focus() method, 100 length property, 135-136 NAME attribute, 138-139 nested, 171-173 properties, 126 prototype property, 141 reserved words, 189-190 type property, 146 value property, 147 onAbort event handler, 150 onBiur event handler, 151-152
onChange event handler, 152-153 onClick event handler, 153-155 onError event handler, 155 onFocus event handler, 155-157, 198 onLoad event handler, 157-158, 171 onMouseOut event handler, 51, 158-159 onMouseOver event handler, 51, 159 onReset event handler, 160 onSelect event handler, 160 onSubmit event handler, 161, 184 onUnload event handler, 161-162 open (document) method, 108-109, 139 open (window) method, 109-110, 139 opener property, 139 operators, 47-52 Option utility objects defaultSelected property, 129 described, 77-78 index property, 134 JavaScript syntax, 40 name property, 138 selected property, 143 text property, 145 value property, 147 <OPTION> tag, repeating, 26 options array, 139, 143, 147 or (I I), JavaScript logical operator, 49, 50 output stream, 108-109
P_________________________________________
pairs, in JavaScript, 41 parameters, for custom JavaScript functions, 88-89 parent property, 139-140 parentheses omitting in event handlers, 150 precedence order for JavaScript operators, 49, 50 parse() method, 110 parseFloat() function, 85-86, 185 parselnt() function, 86-87, 185 password objects defaultValue property, 130 defining for interactive forms, 24 described, 66-67 JavaScript syntax, 38 name property, 138 selectQ method, 113 type property, 146 value property, 147 path name, image source, 165 pathname property, 140 PI property, 140 pictures, in Web pages, 165 See also image objects platform dependence, 121
Previous << 1 .. 63 64 65 66 67 68 < 69 > 70 71 .. 72 >> Next