External javascript question
#1
External javascript question
Hey up,
Any idea why this link to an external script fie is egnored once I upload it to my sites hosting server?
<script src="bannerad3.js" type="text/javascript"></script>
It works fine on my PC????
it is in the head section and the file bannerad3.js is there
if you veiw source of page its not there ??
Shows this when you veiw source:
<HTML><HEAD><TITLE> Links2</TITLE>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
</HEAD>
<body>
<script src="myadd1.js" type="text/javascript"></script>
<p>
<br>
<script src="myadd2.js" type="text/javascript"></script>
<p>
<br>
<script src="myadd3.js" type="text/javascript"></script>
</BODY>
</HTML>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}
function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>
Any idea why this link to an external script fie is egnored once I upload it to my sites hosting server?
<script src="bannerad3.js" type="text/javascript"></script>
It works fine on my PC????
it is in the head section and the file bannerad3.js is there
if you veiw source of page its not there ??
Shows this when you veiw source:
<HTML><HEAD><TITLE> Links2</TITLE>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
</HEAD>
<body>
<script src="myadd1.js" type="text/javascript"></script>
<p>
<br>
<script src="myadd2.js" type="text/javascript"></script>
<p>
<br>
<script src="myadd3.js" type="text/javascript"></script>
</BODY>
</HTML>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}
function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>
Last edited by MoonCat; 04 September 2004 at 05:32 PM.
#2
Right it might be some setting on my PC
Can any of you see the rotating images on this site?
http://www.schev.edu/
As I cant, I have enables scripting etc within the options ,is there any other setting that could cause this not to show?
Can any of you see the rotating images on this site?
http://www.schev.edu/
As I cant, I have enables scripting etc within the options ,is there any other setting that could cause this not to show?
#5
I have finally got to the bottom of this, in case anyone else has this problem.
It is Norton Internet Security!! Inserting the SymError and also is automatically blocks any scripts with ad, add or adds in the title (my script was called bannerads3)
You can either disable the add blocking etc in the NIS options, which is what I must have done this morning or now I have found this out I have renamed my external script files and it works with all the NIS stuff turned back on.
This yet again reminds me to get some other AV software !!
Paul
It is Norton Internet Security!! Inserting the SymError and also is automatically blocks any scripts with ad, add or adds in the title (my script was called bannerads3)
You can either disable the add blocking etc in the NIS options, which is what I must have done this morning or now I have found this out I have renamed my external script files and it works with all the NIS stuff turned back on.
This yet again reminds me to get some other AV software !!
Paul
Thread
Thread Starter
Forum
Replies
Last Post
gazzawrx
Non Car Related Items For sale
13
17 October 2015 06:51 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM