Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Feb 24, 2000

Netscape Does Not Support VBScript

Question:

I recently rewrote my entire Web site using frames and VBScript to load the appropriate pages into the proper frame. My Web site looked fine in Internet Explorer, but in Netscape Navigator 4.5, it gave me "JavaScript" errors and the frames would not load the pages as they did in IE.

Needless to say, it was necessary for me to rewrite the VBScript into JavaScript in order for the site to function properly. What did I do wrong? Why didn't the VBScript work in Netscape? Here is a sample of the VBScript I used:



Answer:

You did nothing wrong...you were just uninformed. In the early days of the browser war between Netscape and Microsoft, Netscape promised to include ActiveX functionality (including VBScript) to Navigator. It seems, however, that they never got around to it. Netscape Navigator does not natively support VBScript or any other form of ActiveX. That fact basically relegates the usefulness of client-side VBScript to only local intranets were IE will always be used and Navigator will never be used. The moral of this story is that if you want to write pages that will run in either of the major browsers, you should invest some time into learning JavaScript.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap