Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 12th, 2005, 02:58 PM
1up 1up is offline
Authorized User
 
Join Date: Oct 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBscript browser compatibility

I dont know if this is the right place to post this but...

The website I am working on right now is structured with ASP, VBscipt and Javascript. It works on IE and Firefox using a PC but I was told that it does not work on MAC. I wasnt told what browser was used but I have a concern that the VBscipt may be a reason for the site not working. I expressed this concern with the guy who structured the site (I basicaly did the graphics and a little Javascript) but he said that other browsers (Opera and Netscape) "don't have to support VBScript, because the VBScript is being used to write the HTML to the page."

Now, I dont know if he is 100% correct on this or not because it seems like that may have been the problem.

Here is a couple snippets of code to shed a little light on the subject.

The first line of the ASP page:

<%@LANGUAGE="VBSCRIPT"%>


Some VBscript in my Javascript:

var nextPage = 'course.asp?courseID=<%=(courseContent.Fields.Item ("courseID").Value)%>&chapterNum=<%=(courseContent .Fields.Item("chapterNum").Value)%>&contentSection =<%=(courseContent.Fields.Item("forwardSection").V alue)%>'


Would either of these chunks cause Opera or Netscape to stumble?

Thanks!

 
Old December 12th, 2005, 05:41 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

No, they wouldn't. These scripts run at the server, causing the output of the script to be sent to the client.

So, regardless of the browser, the ASP output (the resulting HTML) is the same. Unless there is more ASP that you haven't shown us that behaves differently depending on the browser used....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compatibility issue simplsoul .NET Framework 2.0 1 March 24th, 2008 12:38 PM
Cross browser compatibility hussainm BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 December 4th, 2006 07:34 AM
Backward Compatibility Neal Crystal Reports 1 March 23rd, 2006 10:48 AM
Browser compatibility chokk Beginning PHP 4 May 18th, 2005 01:51 AM
To check the browser compatibility lily611 ADO.NET 2 June 14th, 2004 07:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.