•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,483 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 758 | Replies: 2
![]() |
•
•
Join Date: Mar 2007
Location: Brisbane, Australia
Posts: 227
Reputation:
Rep Power: 2
Solved Threads: 13
How are you addressing it from the HTML page?
If you addressed it with website absolute addressing, the computer running the version on CD won't be able to find the file.
If you addressed it from the C: drive, the computer running the version on CD (the D: drive) won't be able to find the file.
If the HTML is in one folder and the JS is in another folder, it won't work. The method needed to address this on a website is different from the method needed to address this on a local disk on the computer browsing it.
To make it work reliably on both a website and a CD, both files must be in the SAME folder, and only the filename must appear in the script tag call.
I run JS from CDs and it works fine.
If you addressed it with website absolute addressing, the computer running the version on CD won't be able to find the file.
If you addressed it from the C: drive, the computer running the version on CD (the D: drive) won't be able to find the file.
If the HTML is in one folder and the JS is in another folder, it won't work. The method needed to address this on a website is different from the method needed to address this on a local disk on the computer browsing it.
To make it work reliably on both a website and a CD, both files must be in the SAME folder, and only the filename must appear in the script tag call.
I run JS from CDs and it works fine.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- "Must visit from" javascript wont work in IE... (JavaScript / DHTML / AJAX)
- Why javascript does not work on firefox? (JavaScript / DHTML / AJAX)
- Javascript won't work... :( (JavaScript / DHTML / AJAX)
- My Javascript won't work... (JavaScript / DHTML / AJAX)
- Javascript not working under Mac! Why O why?! (JavaScript / DHTML / AJAX)
- Javascript , PLEASE HELP (JavaScript / DHTML / AJAX)
- Can't get Javascript to work (Web Browsers)
- JavaScript (Windows 9x / Me)
- On Internet Explorer, My Java does not work! (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: No tab/page refresh when internet options internet settings are set to never
- Next Thread: How to find latitude and longitude using javascripts



Linear Mode