HBCMS更多的中文手册参考: 模板Smarty语法 Big5繁體顯示 宏博cms自助建站系统(PHP+MYSQL完全免费,欢迎试用)
 

frameElement参数属性

DHTML文档教程

Retrieves the frame or iframe object that is hosting the window in the parent document.

dhtml语法

[ owinframe = ] window.frameelement

dhtml可能的值

oWinFrame Object that receives the frame or iframe.

The property is read-only. The property has no default value.

Remarks

The window must be a frame or iframe.

DHTML代码范例

The following example retrieves the frame element of the window and sets its source URL to Microsoft Developer Network (MSDN) Online.

<SCRIPT LANGUAGE="JScript">
var oFrame = window.frameElement;
oFrame.src = "http://msdn.microsoft.com";
</SCRIPT>

是否符合公共标准

There is no public standard that applies to this property.

Applies To

window
欢迎您学习DHTML