I have a rather strange issue. When I have nortan popup blocker disabled, there are no problems. However, I expect my target audience to have security system such as nortan security. So let me tell you what happens when the popup blocked is enabled, and I hope there is a solution.
First, nortan pop-up blocker inserts the following code above my line of code calling a javascript file. I read on the internet that this is normal for the popup blocker to insert code above the first script tag.
Code:
<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>
<script type="text/javascript" src="../javascript/createProject.js"></script>
The strange part is that I have code below the javascript file call. Something like this...
Code:
<script type="text/javascript">
<cfoutput>#ToScript(catIDList, "catIDList")#</cfoutput>
<cfoutput>#ToScript(subcatIDList, "subcatIDList")#</cfoutput>
etc...
</script>
All this code does is convert a coldfusion array into a javascript array. When nortan pop-up blocker is enabled, it actually deletes this code!
Furthermore, I know how to turn javascript on and off. I have tried this in both IE7 and Firefox. I have a noscript tag that displays further down the page when the popup blocker is enabled, even when javascript is enabled. If I swap the scripts, making the toScript calls above the createProject.js file, the noscript acts normal.
Lastly, nortan popup blocker inserts the following code at the bottom of the page:
Code:
<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>
I have read that is normal though.
If anybody has any information to help solve this, it will be GREATLY APPRECIATED as I have been pulling my hair out for hours
Thanks in advance!!!
Sincerely,
Travis Walters