|
-
Mar 30th, 2007, 10:06 AM
#1
Thread Starter
Frenzied Member
Win98, PWS, Javascript and VBScript Q's
I've used MS Virtual PC 2007 and installed Win98 with PWS so I can practice working with ASP.
Win98 is using IE v4.72, I'd kind of like to keep the low version to test pages for browser compatibility.
I want to make a web site that will use VBScript to work with a DB and do some other tasks.
I've found a server side JavaScript menu I want to use.
But the menu doesn't show when I try to view a page through PWS or even just double click the test html.
1. What do I need to do to see the JS menu?
2. Will I be able use both JavaScript and VBScript on the same pages?
-
Apr 2nd, 2007, 10:35 AM
#2
Addicted Member
Re: Win98, PWS, Javascript and VBScript Q's
hmmn.. can you check the advanced tab of the internet options of IE4? maybe the javascript is disabled (if that's possible) or probably, there's an error.. so look at the bottom left of the IE window, and see if there's a warning icon...
yeah, you can use JS and VBS on the same page.. if you plan on using VBS to perform client-side actions, then you will just have to add the attribute "runat=client" at the starting tag...
another thing.. sometimes, the JS is placed in a .js file.. so you will have to be certain that the .js file is included or linked to from the html page.
let us know what happens
-
Apr 2nd, 2007, 05:47 PM
#3
Thread Starter
Frenzied Member
Re: Win98, PWS, Javascript and VBScript Q's
Thx Dev
The Java Console was disabled, but turning it on didn't work.
Checking the JScript, I found that it required IE5 or higher.
I wasn't able to download the update from IE4, it just couldn't handle the MS web sites.
Even Foxfire wouldn't install right.
Finally downloaded IE 6 using WinXP the copied it to Win98.
The script works fine now.
Another question, since this is a Server Side script, does that mean that web site visitors don't have to have Java, but will still be able to see the menu?
-
Apr 2nd, 2007, 08:26 PM
#4
Hyperactive Member
Re: Win98, PWS, Javascript and VBScript Q's
 Originally Posted by longwolf
Another question, since this is a Server Side script, does that mean that web site visitors don't have to have Java, but will still be able to see the menu?
if you had to upgrade the browser to use your script, there's your sign...
-
Apr 2nd, 2007, 09:21 PM
#5
Thread Starter
Frenzied Member
Re: Win98, PWS, Javascript and VBScript Q's
I had to upgrade the browser so that PWS could run the script.
But if PWS or IIS is handling the script, it sounds like the surfers may not have to have java enabled.
So my question stands
-
Apr 2nd, 2007, 11:14 PM
#6
Addicted Member
Re: Win98, PWS, Javascript and VBScript Q's
hmmn...
if it's a server-side script, then there's nothing a client browser needs to get that page run/processed...
but then.. if the returned results have client-side scripts in it, then now there's a browser dependency...
what i mean is.... if, let's say.. an ASP page is requested, like www.domain.com/page1.asp, then the code of page1.asp is run on the server, and it returns the results back to your browser... now.. if the returned results have javascript that should run on the client, like menus or ajax codes.. then the browser first has to be able to interpret javascript, and second, the client-side scripts should be compatible with the browser being used....
i hope you get my point, at least somehow. also, i don't have the java "console" enabled.. so i guess you can disable it again...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|