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中top、clientTop、scrollTop、offsetTop ...NS、FF 认为 offsetHeight 和 scrollHeight 都是网页...scrollHeight obj.offsetLeft 挃 obj 间隑左方戒上层...
GE:Gecko ;SA:Safari; OP:Opera; NS:Netscape IE NS 4 GE ≥ 1.0 SA ... obj.style.top = current+"px"; }); var $ = function(id){ return ...
JavaScript学习手册_互联网_IT/计算机_专业资料。这...第一个值:第二个值 例: NS = (document.layers...(obj) { obj.style.color='red'; obj.style....
JavaScript使用手册_工作计划_计划/解决方案_应用...(obj) { alert("你输入的值是:"+ obj.value);...Cookie 文件的格式: 文件的格式: NS:Cookie.txt ...
javascript 常用代码大全(超级收藏,强烈推荐)(3)_... this.ns=(this.ns4
使用javascript调用webservice示例_IT/计算机_专业...ns + "/" : ns) + this this.method; this....{ 32. //obj 是一个 xmlHttpRequest 对象 33. ...
这里是 javascript 中制作滚动代码的常用属性 页可见....availHeight; 1、offsetLeft 假设 obj 为某个 ...NS、 FF 认为 offsetHeight 和 scrollHeight 都是...
JavaScript经典效果集锦(经典的带阴影的可拖动的浮动层)_院校资料_高等教育_...NS) document.routeEvent(objName); } return retVal; } function loadwin(obj...
obj.offsetHeight 指 obj 控件自身的绝对高度, 不...NS、FF 认为 offsetHeight 和 scrollHeight 都是网页... var p = document.getElementById("p"); p...
JavaScript标准手册_互联网_IT/计算机_专业资料。...第一个值:第二个值例: NS = (document.layers)...(var i in obj) str += objString + "." + ...
热门文档