共用方式為


IHTMLBodyElement3 interface

This interface extends the IHTMLBodyElement2 interfaces with support for Asynchronous JavaScript and XML (AJAX) Connection Services.

Members

The IHTMLBodyElement3 interface inherits from the IDispatch interface. IHTMLBodyElement3 also has these types of members:

  • Properties

Properties

The IHTMLBodyElement3 interface has these properties.

Property Description

background

Sets or retrieves the background picture tiled behind the text and graphics on the page.

onhashchange

Sets or retrieves a pointer to the event handler function associated with the HTMLWindowEvents3::onhashchange event.

onoffline

Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::onoffline event.

ononline

Sets or retrieves a pointer to the event handler function associated with the HTMLElementEvents3::ononline event.

 

Remarks

Online and offline events are available on Windows Vista only.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

IHTMLWindow6