文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > javascript_Ns4_obj
侵权投诉

javascript_Ns4_obj

Netscape Navigator 4 Object Road Map window closedN3,M4 defaultStatus document frames[i] history innerHeightN4,(S) innerWidthN4,(S) location locationbarN4,(S) menubarN4,(S) name onerrorN3,M4 openerN3,M3 outerHeightN4,(S) outerWidthN4,(S) pageXOffsetN4 pageYOffsetN4 parent personalbarN4,(S) scrollbarsN4,(S) self status statusbarN4,(S) toolbarN4,(S) top window alert("msg") back()N4 onDragDrop=N4,(S) blur()N3,M4 onFocus=N3,M4 captureEvents(type)N4 onLoad= clearInterval(ID)N4,M4 onMove=N4 clearTimeout(ID) onResize=N4,M4 close() onUnload= confirm("msg") disableExternalCapture()N4,(S) enableExternalCapture()N4,(S) find(["str"][,case, bkwd])N4 focus()N3,M4 forward()N4 handleEvent(event)N4 home()N4 moveBy( x, y)N4,(S) moveTo(x,y)N4,(S) open(URL,"name","specs")(1),(S) print()N4 prompt("msg","reply") releaseEvents(type)N4 resizeBy( x, y)N4,(S) resizeTo(width,height)N4,(S) routeEvent(event)N4 scroll(x,y)N3,M4 scrollBy( x, y)N4 scrollTo(x,y)N4 setInterval(func, msec[,args])N4,M4,(2) setTimeout(func, msec[,args])N4,M4,(3) stop()N4 onBlur=N3,M4 history window frame self top parent

Learn how to create"Web Pages That Think"

document

location

toolbar, etc.

link

anchor

layer

form

applet

image

area

text textarea password

radio

button reset submit

fileUpload

select option

checkbox

Netscape Navigator 4 Document Object Model Containment Hierarchy

document alinkColor anchors[i] applets[i]N3,M4 bgColor cookie domainN3,M4 embeds[i]N3,M4 fgColor forms[i] images[i]N3,M4 lastModified layers[i]N4 linkColor links[i] location(1) referrer title URLN3,M4 vlinkColor (None) captureEvents(type)N4 clear() close() getSelection()N4,(2) handleEvent(event)N4 open("mimetype"[,replace])(3) releaseEvents(type)N4 routeEvent(event)N4 write("string") writeln("string") above background below bgColor clip.top clip.left clip.right clip.bottom clip.width clip.height document left name pageX pageY parentLayer siblingAbove siblingBelow src top visibility zIndex

layer N4 load("filename",y) moveAbove(layerObj) moveBelow(layerObj) moveBy( x, y) moveTo(x, y) moveToAbsolute(x, y) resizeBy( x, y) resizeTo(width, height) onBlur= onFocus= onLoad= onMouseOut= onMouseOver= onMouseUp=

(1)New window specs for all browsers: height, width, toolbar, location, directories, status, menubar, scrollbars, resizable, copyhistory. Add'l specs for Navigator 4: alwaysLowered(S), alwaysRaised(S), dependent, hotkeys, innerHeight, innerWidth, outerHeight, outerWidth, screenX, screenY, titlebar(S), z-lock(S). (2)Optional args parameter added to N4; 3rd parameter in M4 is for scripting language. (3)Third parameter in N4 for args; in M4 for scripting language.

locationbar N4, menubar N4, personalbar N4, scrollbars N4, statusbar N4, toolbar N4 visible (None) (None)

(1)Replaced by the URL property in Navigator 3. (2)M4 has a document.selection property to retrieve the currently selected text. (3)mimetype parameter new in M4, but only"text/html" type supported.

How to Use This

Map location hash host hostname href pathname port protocol search assign("URL") (None) reload([unconditional])N3,M4 replace("URL")N3,M4

history length current(S),(1) next(S),(1) previous(S),(1) back() forward() go(int|"URL") (None)

The hierarchy diagram shows the relationships among various HTML-generated objects in Netscape Navigator 4. Follow the dark lines to create references to objects: window.document.formName.textName.value

(1)Introduced in Navigator 3.0 for use with a trial security method no longer in use. Available in Navigator 4 with signed scripts.

The three columns in the individual object listings show the Properties, Methods, and Event Handlers for the object. 1

©1998 Danny Goodman. All Rights Reserved.

javascript_Ns4_obj

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email