0% found this document useful (0 votes)
34 views2 pages

Danny Goodman'S "Javascript Bible" Object Road Map (Navigator 3.0 Edition)

The document provides an overview of JavaScript objects in Navigator 3.0, including: 1) Window objects like window, frames, and document. 2) Form objects like form, text, and select. 3) Location and history objects. 4) Non-HTML objects like Math, Date, String, Array, and Function. 5) Navigator properties like appName, appVersion, and plugins.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Danny Goodman'S "Javascript Bible" Object Road Map (Navigator 3.0 Edition)

The document provides an overview of JavaScript objects in Navigator 3.0, including: 1) Window objects like window, frames, and document. 2) Form objects like form, text, and select. 3) Location and history objects. 4) Non-HTML objects like Math, Date, String, Array, and Function. 5) Navigator properties like appName, appVersion, and plugins.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Danny Goodmans JavaScript Bible Object Road Map (Navigator 3.

0 Edition)
HTML-Generated JavaScript Objects window
frames[i] parent self top status defaultStatus name window opener* onerror* blur()* onLoad= focus()* onUnload= scroll(x,y)* onBlur=* alert("msg") onFocus=* confirm("msg") prompt("msg","reply") open(URL,"name","specs") close() setTimeOut("exp",ms) clearTimeOut(ID) alinkColor anchors[i] applets[i]* bgColor cookie domain* embeds[i]* fgColor forms[i] images[i]* lastModified linkColor links[i] location** referrer title URL* vlinkColor

document
clear() (None) close() open("mimetype") write("string") writeln("string") action elements[i] encoding method name target

form
reset()* submit() onReset=* onSubmit=

text, textarea, password


defaultValue name type* value focus() blur() select() onBlur= onChange= onFocus= onSelect=

history
length current*** next*** previous*** back() forward() go(int | "URL") (None)

radio link
target (None) checked defaultChecked length name type* value click() onClick=

location
hash host hostname href pathname port protocol search reload()* replace(URL)* (None)

onClick= onMouseOut=* onMouseOver=

anchor
(None) (None) (None)

button, reset, submit


name type* value click() onClick=

applet*
(Java vars) (Java methods) (None)

checkbox
checked defaultChecked name type* value click() onClick=

area*
hash host hostname href pathname port protocol search target (None) onMouseOut= onMouseOver= border complete height hspace lowsrc name src vspace width

image*
(None) onAbort= onError= onLoad=

select
length blur()* name focus()* options[i] selectedIndex options[i].defaultSelected options[i].index options[i].selected options[i].text options[i].value type* onBlur= onChange= onFocus=

fileUpload*
*New in Navigator 3.0 **Do not use. To be deleted in a future release ***Only with data tainting enabled
name value blur() focus() select() onBlur= onFocus= onSelect=

1996 Danny Goodman. All Rights Reserved.

Non-HTML JavaScript Objects Math


E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2 abs(val) acos(val) asin(val) atan(val) atan2(val1, val2) ceil(val) cos(val) exp(val) floor(val) log(val) max(val1, val2) min(val1, val2) pow(val1, power) random() round(val) sin(val) sqrt(val) tan(val) length prototype*

string
anchor("anchor") big() blink() bold() charAt(index) fixed() fontcolor(#rrggbb) fontsize(1to7) indexOf("str" [,i]) italics() lastIndexOf("str" [,i]) link(URL) small() split(char)* strike() sub() substring(intA, intB) sup() toLowerCase() toUpperCase()

fold here

JavaScript Object Road Map


(Navigator 3.0 Edition)
2 September 1996

Date
prototype* get/setDate() get/setDay() get/setHours() get/setMinutes() get/setMonth() get/setSeconds() get/setTime() get/setYear() getTimezoneOffset() parse("dateString") toGMTString() toLocaleString() toString() UTC(date vals) length prototype*

Array*
join("char") reverse() sort(compareFunc)

Excerpted from:

Function*
caller (None) arguments[] prototype

JavaScript Bible
by Danny Goodman ISBN 0-7645-3022-4

navigator
appName javaEnabled()* appVersion taintEnabled()* appCodeName mimeTypes[i]* plugins[i]* userAgent (None)

mimeType*
description (None) enabledPlugin type suffixes (None) description filename length name

plugin*
refresh() (None)
fold here

For continued updates about JavaScript in Netscape Navigator 3.0, visit the JavaScript Bible Support Center at http://www.dannyg.com

*New in Navigator 3.0

1996 Danny Goodman. All Rights Reserved.

You might also like