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> |
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? |
I can see the rotating images, what Browser you using?
|
Thanks,
Not sure how but all is now OK, I reset all the IE setting back to default, Imust have had something set wrong. Thanks. |
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 |
All times are GMT +1. The time now is 01:23 PM. |
© 2024 MH Sub I, LLC dba Internet Brands