spamfiend
09 Jan 2006, 07:41 PM
Can anyone perhaps confirm the below:
I did a website that uses some javascript mouseovers, which I'd used before and just basically copied and pasted blocks of text. I uploaded the website onto his windows server and started fretting when things didnt work. When I tried it on my linux server it worked perfectly.
I was stumped cos javascript is supposed to run on the end users browser so the server shouldnt have anything to do with it. After days of "running into a brick wall" I noticed that the filename extension of my javascript file was .jss and all website references was .js
So I changed the filename and all the pages to point to a .js file and it worked.
My question is thus: On a Windows server is the extension of the filename for javascript files important? and can someone else check it out?
THanks
I did a website that uses some javascript mouseovers, which I'd used before and just basically copied and pasted blocks of text. I uploaded the website onto his windows server and started fretting when things didnt work. When I tried it on my linux server it worked perfectly.
I was stumped cos javascript is supposed to run on the end users browser so the server shouldnt have anything to do with it. After days of "running into a brick wall" I noticed that the filename extension of my javascript file was .jss and all website references was .js
So I changed the filename and all the pages to point to a .js file and it worked.
My question is thus: On a Windows server is the extension of the filename for javascript files important? and can someone else check it out?
THanks