主题:  运用行为面板时,这些功能都是代表什么呀?

ylwbg

职务:普通成员
等级:1
金币:0.0
发贴:86
注册:2002/1/30 14:59:09
#12002/2/16 16:42:56
在dreamweaver4.0中,运用行为面板时,这些功能都是代表什么呀?OnAbort OnAfterupDate OnBeforecopy OnBeforecut OnBeforepaste OnBeforeunload OnBlur Oncopy Oncut onDrag onDragEnd onDragEnter onDragLeave onDragover onDrop onError onfinish等等。我只理解按下鼠标、移动鼠标、移出鼠标、移上鼠标、升起鼠标、下载时等。别的就不知如何用了,望高手指点。



5DDreamweaver版主

职务:版主
等级:3
金币:10.0
发贴:1031
注册:2001/10/13 14:38:50
#22002/2/16 18:13:57
可不要问我中文啊,不可能都翻译给你吧!!
找个翻译软件看吧,如不明白的
另,最好自己看,对自己的提高英语水平也是好的!!


onAbort (NS3, NS4, IE4, IE5) is generated when the visitor stops the browser from completely loading an image (for example, when the visitor clicks the browser's Stop button while an image is loading).

onAfterUpdate (IE4, IE5) is generated when a bound data element on the page has finished updating the data source.

onBeforeUpdate (IE4, IE5) is generated when a bound data element on the page has been changed and is about to lose focus (and is therefore about to update the data source).

onBlur (NS3, NS4, IE3, IE4, IE5) is the opposite of onFocus. The onBlur event is generated when the specified element is no longer the focus of the visitor's interaction. For example, when a visitor clicks outside a text field after clicking in the text field, the browser generates an onBlur event for the text field.

onBounce (IE4, IE5) is generated when a marquee element's contents have reached the boundary of the marquee.

onChange (NS3, NS4, IE3, IE4, IE5) is generated when the visitor changes a value on the page, such as when the visitor chooses an item from a menu, or when the visitor changes the value of a text field and then clicks elsewhere on the page.

onClick (NS3, NS4, IE3, IE4, IE5) is generated when the visitor clicks the specified element, such as a link, button, or image map. (The click is not complete until the visitor releases the mouse button; use onMouseDown to make something happen as soon as the button is pressed down.)

onDblClick (NS4, IE4, IE5) is generated when the visitor double-clicks the specified element. (Double-clicking is defined as quickly pressing and releasing the mouse button while pointing to the element.)

onError (NS3, NS4, IE4, IE5) is generated when a browser error occurs while a page or image is loading.

onFinish (IE4, IE5) is generated when the contents of a marquee element have completed a loop.

onFocus (NS3, NS4, IE3, IE4, IE5) is generated when the specified element becomes the focus of the visitor's interaction. For example, clicking in a text field of a form generates an onFocus event.

onHelp (IE4, IE5) is generated when the visitor clicks the browser's Help button or chooses Help from a browser menu.

onKeyDown (NS4, IE4, IE5) is generated as soon as the visitor presses any key. (The visitor does not have to release the key for this event to be generated.) The browser cannot detect which key has been pressed.

onKeyPress (NS4, IE4, IE5) is generated when the visitor presses and releases any key; this event is like a combination of the onKeyDown and onKeyUp events. The browser cannot detect which key has been pressed.

onKeyUp (NS4, IE4, IE5) is generated when the visitor releases a key after pressing it. The browser cannot detect which key has been pressed.

onLoad (NS3, NS4, IE3, IE4, IE5) is generated when an image or page finishes loading.

onMouseDown (NS4, IE4, IE5) is generated when the visitor presses the mouse button. (The visitor does not have to release the mouse button to generate this event.)

onMouseMove (IE3, IE4, IE5) is generated when the visitor moves the mouse while pointing to the specified element. (That is, the pointer stays within the boundaries of the element.)

onMouseOut (NS3, NS4, IE4, IE5) is generated when the pointer moves off the specified element. (The specified element is usually an image, or a link attached to an image.) This event is often used in conjunction with the Swap Image Restore behavior to return an image to its original state when the visitor is no longer pointing at it.

onMouseOver (NS3, NS4, IE3, IE4, IE5) is generated when the mouse first moves to point to the specified element (that is, when the pointer moves from not pointing to the element to pointing to the element). The specified element for this event is usually a link.

onMouseUp (NS4, IE4, IE5) is generated when a pressed mouse button is released.

onMove (NS4) is generated when a window or frame moves.

onReadyStateChange (IE4, IE5) is generated when the state of the specified element changes. Possible element states include uninitialized, loading, and complete.

onReset (NS3, NS4, IE3, IE4, IE5) is generated when a form is reset to its default values.

onResize (NS4, IE4, IE5) is generated when the visitor resizes the browser window or a frame.

onRowEnter (IE4, IE5) is generated when the current record pointer of the bound data source has changed.

onRowExit (IE4, IE5) is generated when the current record pointer of the bound data source is about to change.

onScroll (IE4, IE5) is generated when the visitor scrolls up or down.

onSelect (NS3, NS4, IE3, IE4, IE5) is generated when the visitor selects text in a text field.

onStart (IE4, IE5) is generated when a marquee element's contents begin a loop.

onSubmit (NS3, NS4, IE3, IE4, IE5) is generated when the visitor submits a form.

onUnload (NS3, NS4, IE3, IE4, IE5) is generated when the visitor leaves the page.