java script代码_Java script脚本常用代码(全)(国外英语资料).doc

Java script脚本常用代码(全)(国外英语资料)

Java script脚本常用代码(全)(国外英语资料)

Java script script code (complete)

Click () object. Click () causes the object to be clicked

Closed object. Closed object window has closed true/false

ClearTimeout (object) clears the setTimeout object already set

ClearInterval (object) clears the setInterval object already set

Confirm (" prompt information ") pop-up confirmation box to determine return true to return false

Cursor: the style changes the mouse style hand crosshair text wait help default auto e/s/w/n - resize

Event.clientx returns the last click of the mouse X

Event.clienty returns the last click of the mouse Y

Event.offsetx returns the current mouseover X position

Event.offsety returns the current hover over the Y value

The last time the document.write (document.lastmodified) page is updated

Document.ondblclick = x when you double-click the mouse to generate an event

Document.onmousedown = x clicks the mouse button to produce an event

Document. The body. The scrollTop; To return and set the coordinates of the current vertical bar,

Document. Body. ScrollLeft; To return and set the coordinates for the current horizontal scrolling,

Document. Title = "message"; The title bar of the current window

Document.bgcolor document.bgcolor = "color value"; Change the background color of the window

Document.fgcolor document.fgcolor = "color value"; Change body color

Linkcolor document.linkcolor = "color value"; Change the hyperlink color

Document.alinkcolor document.alinkcolor = "color value"; Change the color of the click join

Document.vlinkcolor document.vlinkcolor = "color value"; Change the color of the access connection

Document.form.length returns the current form count

Document.anchors. Length returns the current number of anchor pages

Document.links. Length returns the number of current page joins

Document.onmousedown = x click the mouse trigger event

Document.ondblclick = x double-click the mouse to trigger the event

DefaultStatus window. The status = defaultStatus; Set the sta

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值