VBScript Objects


In Microsoft's colorful terminology, each entity you see on the browser's window is an object.
Objects "expose" some of their properties, which enables you to manipulate them. Some of these properties represent objects themselves, which expose their properties.

The document object represents the HTML document displayed on the browser's window or one of its frames.
Its properties and methods you can manipulate the appearance or even the contents of the document.

Window Object

The window object is the top level object in this hierarchy and acts as a container for all other objects.
This object is the browser's window you see on-screen; moreover, every parameter of the window you can adjust through VBScript code is a property of the window object.

A window can also contain frames, which you can access through the frames object.
The frames object is an array of objects, the first frames(0), the second one frames(1), and so on.

Location Object

The location object is a property of the document object, which enables you to manipulate the URL of the document displayed in the window.

One property the location object provides is called href, and is the URL of the document displayed. It is the URL displayed in Internet Explorer's Address box.

The Parent property returns the name of the parent window, which contains the specific window.
The parent property of the window object is an object itself, and through its properties, you can adjust the appearance of the parent window.

Self Object

self is a window object that represents the current window, but, although mentioned in Microsoft's documentation, it's not yet supported by Internet Explorer 3.0.
This property operates similarly to the parent and opener properties, in the sense that it returns a window object, and not the name of the window.

History Object

A history object is an invisible object that provides methods for navigating through the document's history.
It provides the functionality of the browser's navigational buttons, with the added benefit that you can access this feature through programming.

Companies

Price

Server Location

Price

Visit Now

adroitssd
Cloud SSD Hosting
$1.43 /mo. WILMINGTON, DE, US Price @ $1.43 /mo. Visit Now
247-host $2.99 /mo. LASALLE, CA Price @ $2.99 /mo. Visit Now
ehost.com $2.75/mo. Burlington, MA, US Price : $2.75/mo. Visit Now
siteground
Lifetime Free Domain
$3.95/mo. Panama, PA Start @ $3.95/mo. Visit Now
webhostingpad $1.99/mo. Arlington Heights, IL, US Start @ $1.99/mo. Visit Now
webhostingbuzz $4.95/mo AUBURN, MA, US Start @ $4.95/mo Visit Now
ipage
Cheapest Webhosting
$3.25/mo. Burlington, MA, US Start @ $3.25/mo. Visit Now
ixwebhosting $3.95/mo Columbus, OH, US Start @ $3.95/mo Visit Now
sitevalley $4.95/mo NASHUA, NH, US Start @ $4.95/mo Visit Now
liquidweb.com
Managed WordPress Hosting
$89.00/mo. Lansing, MI, US Price : $19.00/mo. Visit Now

Published by ananovareviews

I'm Communication Director with SCPL. Our goal is to deliver the most accurate information possible based on the needs of the majority of website owners and developers, and Ananova reports deliver the most reliable indicators of web host performance. - http://www.ananova.com

%d bloggers like this: