|
Subject:
|
VBscript browser compatibility
|
|
Posted By:
|
1up
|
Post Date:
|
12/12/2005 1:58:22 PM
|
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").Value)%>'
Would either of these chunks cause Opera or Netscape to stumble?
Thanks!
|
|
Reply By:
|
Imar
|
Reply Date:
|
12/12/2005 4:41:06 PM
|
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.
|