-
trouble opening files
script: Top Navigational Bar (aka Smart menu)
http://www.dynamicdrive.com/dynamicindex1/sm/index.htm
I am having trouble opening JScript files. All I keep getting is "document undefined". I am trying to open menucontext so I can edit the nav bar. I am pretty new at this so I dont know if this is a common problem or not. Please help!
-
-
Not a common problem, no. Try opening it in Notepad (or Simple Text, if you Mac).
-
-
I am not being given an option of what to open it with. Even when I right click I cant force it to open in any piticular program. I just learned that not all js files say error, just the menu.js. When I click on menucontext.js it brings up a box titled "file download-security warning" (as all js. files from dynamic drive oddly seem to do). It tells me info on the file (name, publisher, type) and gives me the option to either open or close. When I select to open the file nothing seems to happen other than the window disappearing.
I am very confused, any suggestions are welcome and worth a shot, thanks
Aaron
-
-
If you are using a browser like IE6 that can be very picky about .js files, you need to download the entire package and unzip it, that is the simplest way to obtain the files (from the demo page):
Simply download the following file, and follow the instructions in the readme.txt file.
By way of explanation, I thought you had already done that and were having trouble opening the files locally on your computer.
-
-
The problem is that the extension .js is used for Microsoft's JScript command scripting. After right-clicking and saving the target somewhere, open Notepad, click press ctrl-o, select "all files" in the drop-down box, then navigate to the file and open it.
-
-
Thanks
I am now able to open them...thanks alot!
-
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
Bookmarks