Simple pop up window not opening

Status
Not open for further replies.

First-Dragon

Active Member
187
2011
130
40
I am trying to add simple JavaScript pop up window to my WordPress site but it is not working. I tried to add the code in header and in main index template but no changes. Here is a code:

Code:
<script language="JavaScript">
Test=window.open('http://test.org','Testing','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=800,top=20,left=50');
</script>

I added that just before the closing of head tag </head>, but it is not working.

Can someone help me, i don't know what can block this pop up.
 
4 comments
It is not problem in the browser, something in my site is blocking the pop up, cause i tried on my other wordpress site and it worked like charm,but i don't have an idea what can block this, something in my theme i guess, i am really not sure.
 
Hey lockdown could u provide a popunder code which is not blocked by browsers ie when we manually pop a site the browser blocks but when we add popunder code of publisher network it doesn't get blocked via the browser
 
Status
Not open for further replies.
Back
Top