If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Host the simpletreemenu.js script on your own domain, or if you must host it on another domain, use something other than https://sites.google.com/site/ . . . or similar which serve it as a file for download, not as a file for use on the page.

Host the simpletreemenu.js script on your own domain, or if you must host it on another domain, use something other than https://sites.google.com/site/ . . . or similar which serve it as a file for download, not as a file for use on the page.

Hi John. When you say google only host the file for download, is this an IE specific issue? The script works fine in Chrome and FF.

I can explain more about our issue:

--We have a company social networking site hosted externally
--We need to run the html that uses the script inside of a sort of widget on a page
--They can not host js files for us
--We can not host the file because it would only be available inside the network
--google just seemed like a good, free solution, and its works perfectly fine with the other browsers

If I try to navigate directly to the script in Chrome, it downloads automatically. The usual behavior is for it to appear in the browser window. So it is being served differently than a normal script. I have seen this before with scripts hosted on Google in this manner. In Opera, it asks if I want to open or save it (I have Opera set as my default application for javascript). In Firefox it asks to save or cancel. Firefox says it's jScript, rather than text/javascript. And there could also be something else about how it's served that differs from how a javascript script on the web is usually served. And yes, IE is the most finicky about that.

If you have 'normal' public web pages anywhere that you can host the script on, host it there.

The only other thing I can think of is to contact Google (or check their forum that applies to this type of script hosting if they have one) about the problem and ask them/check for a solution. The external script tag might be able to have an attribute added to it that could take care of the problem. But that's a might, not a certainty. They may have other advice.

If I try to navigate directly to the script in Chrome, it downloads automatically. The usual behavior is for it to appear in the browser window. So it is being served differently than a normal script. I have seen this before with scripts hosted on Google in this manner. In Opera, it asks if I want to open or save it (I have Opera set as my default application for javascript). In Firefox it asks to save or cancel. Firefox says it's jScript, rather than text/javascript. And there could also be something else about how it's served that differs from how a javascript script on the web is usually served. And yes, IE is the most finicky about that.

If you have 'normal' public web pages anywhere that you can host the script on, host it there.

The only other thing I can think of is to contact Google (or check their forum that applies to this type of script hosting if they have one) about the problem and ask them/check for a solution. The external script tag might be able to have an attribute added to it that could take care of the problem. But that's a might, not a certainty. They may have other advice.

Thanks John. You were right, I used Drop-Box instead and it's working now.