11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

onresizeend Fires when the user finishes changing the dimensions of the object in a<br />

selection. In IE4+ does not bubble and is not cancelable.<br />

onresizestart Fires when the user begins to change the dimensions of the object in a<br />

selection. In IE4+ does not bubble but is cancelable.<br />

onrowenter Fires to indicate that the current row has changed in the data source and<br />

new data values are available on the object. In IE4+ bubbles but is not cancelable.<br />

onrowexit Fires just before the data source control changes the current row in the<br />

object. In IE4+ does not bubble but is cancelable.<br />

onrowsdelete Fires when rows are about to be deleted from the recordset. In IE4+<br />

bubbles but is not cancelable.<br />

onrowsinserted Fires just after new rows are inserted in the current recordset. In IE4+<br />

bubbles but is not cancelable.<br />

onscroll Fires on a scrollable object when the user repositions the scroll box on the<br />

scroll bar. In IE4+ does not bubble and is not cancelable.<br />

onselectionchange Fires whenever the selection state of a document changes. In<br />

IE4+ does not bubble and is not cancelable.<br />

onselectstart Fires when the object is being selected. In IE4+ bubbles and is<br />

cancelable.<br />

onstart Fires on elements at the beginning of every loop. In IE4+ does not<br />

bubble and is not cancelable.<br />

onstop Fires when the user clicks the Stop button or leaves the Web page. In IE4+<br />

does not bubble and is not cancelable.<br />

external (Proprietary Browser Object)<br />

This object provides methods for calling into native code. It is primarily used when IE is being<br />

used as a component, but can also be used in conjunction with Browser Helper Objects (BHOs)<br />

and to access certain browser features like adding a bookmark. For full details about this object<br />

see Microsoft's documentation at MSDN.<br />

Properties<br />

menuArguments Returns the window object where the context menu item was<br />

executed. (IE4+)<br />

Methods<br />

AddChannel(url) Presents a dialog box to allow a user to add or change a channel.<br />

<strong>The</strong> parameter url references a Channel Definition Format (CDF) file. Internet<br />

Explorer‘s push channel technology is rarely used now.<br />

AddDesktopComponent(url, type [, left] [, top] [, width] [, height]) Adds a Web site<br />

or image as defined by url to the Active Desktop. <strong>The</strong> type attribute is set either to<br />

"image" or "website" and the optional parameters indicate the position and size of the<br />

component to add.<br />

AddFavorite(url) Prompts user to add a specified URL to their favorites.<br />

Auto<strong>Complete</strong>SaveForm(form) Saves the data in the passed form object to IE‘s auto<br />

form completion system. (IE5+)<br />

AutoScan(query, errorURL [, target]) Attempts to load the query value using IE‘s<br />

standard URL expansion. For example a query of "microsoft" would be translated to<br />

www.microsoft.com. If the site cannot be connected the errorURL should be<br />

displayed instead; otherwise, the browser uses a default error page. <strong>The</strong> optional<br />

target parameter is used to specify the window or frame to load the page into. (IE5+)<br />

ImportExportFavorites(importExport,url) Allows the importing and exporting of<br />

brower favorites or bookmarks. A value of true for importExport indicates importing<br />

while false indicates exporting. <strong>The</strong> url parameter indicates the path or URL to export<br />

from or import to. <strong>The</strong> user will be prompted to allow this activity.<br />

IsSubcribed(url) Returns a Boolean value indicating if the user is subscribed to the<br />

channel defined by the CDF file referenced by the passed url parameter.<br />

NavigateAndFind(url,searchText,target) Navigates to the specified url and finds and<br />

highlights the passed searchText. <strong>The</strong> target value should be set if this is to be<br />

performed in another frame or window.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!