Activity Stream
48,167 MEMBERS
61040 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Member

    Default Simple pop up window not opening

    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.
    First-Dragon Reviewed by First-Dragon on . Simple pop up window not opening 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: <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. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Try a different browser and make sure you don't have a pop-up blocker set as it worked for me.

    If not post a link.

  4.     
    #3
    Member
    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.

  5.     
    #4
    Respected Member
    Sorry not familiar with WP..

  6.     
    #5
    Member
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. want window vps.
    By interorther in forum VPS Hosting Offers
    Replies: 8
    Last Post: 20th Mar 2012, 09:47 PM
  2. [VPS] I need window vps
    By sunrisesss in forum Archive
    Replies: 1
    Last Post: 20th Jan 2012, 05:06 PM
  3. Vps opening kloxo opening but site not !
    By janu123 in forum Webmaster Discussion
    Replies: 4
    Last Post: 11th Apr 2011, 08:52 PM
  4. Need buy a Window VPS
    By chipve in forum Hosting Discussion
    Replies: 1
    Last Post: 25th Dec 2010, 07:48 AM
  5. WTB: Simple Window VPS- Fast/Instant Activation
    By kohkindachi in forum Hosting Discussion
    Replies: 2
    Last Post: 7th Jun 2010, 12:11 PM

Tags for this Thread

BE SOCIAL