spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column22
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

Logo

JavaScript Enhancement with VBScript
inter-language communication for Explorer


This tutorial can be appreciated by users of any browser, any version. The in-line examples will work on all browsers, but the display will be browser-specific. The VBScript examples will display only in Explorer 4.

VBScript???

No, I'm not going crazy. Yes, JavaScript is the Web scripting standard, and yes, JavaScript is the script language of DHTML Lab, and yes, we will continue to use it exclusively.

However, much of the "cross-browser" code we have created here is really a single script that contains browser-specific code for both browsers. We often use browser-specific features in a cross-browser script.

That's what we'll be doing this column: using extended features of Explorer for added functionality. No knowledge of VBScript is necessary. All VBScript enhancements will be called from JavaScript, with the simplest of routines.

The only pre-requisite for appreciating this column is a knowledge of the JavaScript alert(), confirm() and prompt() methods, which we have all used since JavaScript 1.0 (Navigator v2). In this column, we'll learn how to enhance these methods through JavaScript-VBScript communication.

In This Column

We will discuss:

First let's discuss the reasons for enabling communication between the two languages.


Produced by Peter Belesis and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

All Rights Reserved. Legal Notices.
Created: Nov. 18, 1998
Revised: Nov. 18, 1998

URL: http://www.webreference.com/dhtml/column22/