1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to place pop ups in my site

Discussion in 'Pay Per View' started by multiclick, Jul 30, 2010.

  1. multiclick

    multiclick Newbie

    Joined:
    Jan 16, 2010
    Messages:
    24
    Likes Received:
    10
    I want to place pop ups in my site but I don't know where to place the code of the pop up. I mean when somebody clicks on SEARCH I want to be open a pop up or when somebody clicks somewhere else to be open a pop up...
    Please help me?

    sorry for my bad english
     
  2. multiclick

    multiclick Newbie

    Joined:
    Jan 16, 2010
    Messages:
    24
    Likes Received:
    10
    please help...I need this
     
  3. flexnds

    flexnds Power Member

    Joined:
    Jan 4, 2010
    Messages:
    643
    Likes Received:
    680
    Occupation:
    Internet Marketing, Web development, Internet Repu
    Location:
    AZ
    If you're using wordpress there are many plugins that do this. I can't post URLs yet, but there are many pop up generators that you can just plug your info into and it will give you the javascript to copy and paste.
     
  4. multiclick

    multiclick Newbie

    Joined:
    Jan 16, 2010
    Messages:
    24
    Likes Received:
    10
    I have the javascript but I don't know where to paste it?
     
  5. multiclick

    multiclick Newbie

    Joined:
    Jan 16, 2010
    Messages:
    24
    Likes Received:
    10
    ??????
     
  6. flexnds

    flexnds Power Member

    Joined:
    Jan 4, 2010
    Messages:
    643
    Likes Received:
    680
    Occupation:
    Internet Marketing, Web development, Internet Repu
    Location:
    AZ
    most simple pop ups require some code between the <head> tags. Some may require some code to be placed in the head tags and in the body. Or you can place some of it in an external file and link to it. Just depends. See if you can paste all of the code here and I will play with it...
     
  7. flexnds

    flexnds Power Member

    Joined:
    Jan 4, 2010
    Messages:
    643
    Likes Received:
    680
    Occupation:
    Internet Marketing, Web development, Internet Repu
    Location:
    AZ
    Add this to your website as you see below.

    HTML:
    <HTML> 
    <HEAD> 
    <TITLE>Opening a Popup Window</TITLE> 
    <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> 
    <!-- Hide script from old browsers
     
    function popup(){
     
    popupwindow = window.open("somewhere.html","","toolbar=no,location=no,scrollbars=no,resizable=no,width=400,height=200,left=500,top=200")	
     
    }
    // End hiding script from old browsers --> 
    </SCRIPT> 
    </HEAD> 
    <BODY onLoad="popup()" onunLoad="popup()"> 
     
    </BODY> 
    </HTML>
    Now you need to make a file named somewhere.html and put it in the public directory of the domain you are making the pop up for. I'm assuming you know how to use your FTP. This html file is your pop.
     
    Last edited: Jul 30, 2010