Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

External javascript question

Thread Tools
 
Search this Thread
 
Old 04 September 2004, 05:30 PM
  #1  
MoonCat
Scooby Regular
Thread Starter
 
MoonCat's Avatar
 
Join Date: Jul 2002
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default 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>

Last edited by MoonCat; 04 September 2004 at 05:32 PM.
Old 04 September 2004, 06:14 PM
  #2  
MoonCat
Scooby Regular
Thread Starter
 
MoonCat's Avatar
 
Join Date: Jul 2002
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default

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?
Old 04 September 2004, 08:28 PM
  #3  
tommy1980
Scooby Newbie
 
tommy1980's Avatar
 
Join Date: Apr 2004
Posts: 21
Likes: 0
Received 0 Likes on 0 Posts
Default

I can see the rotating images, what Browser you using?
Old 05 September 2004, 04:30 PM
  #4  
MoonCat
Scooby Regular
Thread Starter
 
MoonCat's Avatar
 
Join Date: Jul 2002
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default

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.
Old 05 September 2004, 10:29 PM
  #5  
MoonCat
Scooby Regular
Thread Starter
 
MoonCat's Avatar
 
Join Date: Jul 2002
Posts: 98
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
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
Littleted
Computer & Technology Related
4
25 September 2015 09:55 PM



Quick Reply: External javascript question



All times are GMT +1. The time now is 10:45 PM.