I'm trying to help out a friend who is having problems with his website. The URL is For the past 2 days, he's been having problems with the Javascript, but he says he hasn't changed any of the .js files or the .css file. All he did was update the news page.
I've been testing it here at home, since I don't have access to his server, and the only difference I see from before is that he had his .css file in the root directory, and now it is in common.
This is how this was before:
<SCRIPT LANGUAGE="JAVASCRIPT" src="/common/script.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" src="/common/scriptlayer.js"></SCRIPT>
<LINK REL="STYLESHEET" HREF="/common/style.css" TYPE="text/css">
and I created a folder here named common, and saved those files in there. I was still getting the error messages.
If I moved the script.js, scriptlayer.js & style.css files to the directory where the news.asp file resides, and changed those lines to:
<SCRIPT LANGUAGE="JAVASCRIPT" src="script.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" src="scriptlayer.js"></SCRIPT>
<LINK REL="STYLESHEET" HREF="style.css" TYPE="text/css">
then it works fine.
Do those files need to be in the same directory?
Am I missing something else?
Thanks
C
I've been testing it here at home, since I don't have access to his server, and the only difference I see from before is that he had his .css file in the root directory, and now it is in common.
This is how this was before:
<SCRIPT LANGUAGE="JAVASCRIPT" src="/common/script.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" src="/common/scriptlayer.js"></SCRIPT>
<LINK REL="STYLESHEET" HREF="/common/style.css" TYPE="text/css">
and I created a folder here named common, and saved those files in there. I was still getting the error messages.
If I moved the script.js, scriptlayer.js & style.css files to the directory where the news.asp file resides, and changed those lines to:
<SCRIPT LANGUAGE="JAVASCRIPT" src="script.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" src="scriptlayer.js"></SCRIPT>
<LINK REL="STYLESHEET" HREF="style.css" TYPE="text/css">
then it works fine.
Do those files need to be in the same directory?
Am I missing something else?
Thanks
C