[HTML][JS] Advanced Popup Guide!

Results 1 to 3 of 3
  1. #1
    Proficient Member Virtue~ is offline
    MemberRank
    Jul 2008 Join Date
    181Posts

    [HTML][JS] Advanced Popup Guide!

    Ok, this popup will allow you to put and html code in the popup!

    Preview: http://virtueco.zapto.org/EternalCo%20Domain/index.php
    Cause i know many people have been looking for something like this for a vote popup ect.

    Guide:
    Ok start with getting the js file and image files
    http://www.zerowaitingtime.com/36249-download-popup.rar

    Place this in your head tags:
    Code:
    <script language="JavaScript" src="popup.js">
    </script>
    And then in your html file put this in the begining of the body:
    Code:
    <script>
    
    window.onload=function(){
    new popUp(200, 100, LENGTH, HEIGHT, "Div", "HTML CODE HERE", "white", 
    
    "black", "bold 10pt sans-serif", "TITLE BAR TEXT", "TITLE BAR COLOR", "white", "#dddddd", "red", 
    
    "black", true, true, true, true, false);
    }
    
    </script>
    200, 100 is the position of the popup on the screen (middle, center)
    And then your done!

    Credits-
    Me for guide
    Brian Gosselin for the popup coding (js)

    - Good Luck Virtue
    Last edited by Virtue~; 14-07-08 at 05:15 AM.


  2. #2
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,077Posts

    Re: [HTML][JS] Advanced Popup Guide!

    Or just do window.onload=window.open();

    But nice guide =)

  3. #3
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [HTML][JS] Advanced Popup Guide!

    Quote Originally Posted by EliteGM View Post
    Or just do window.onload=window.open();

    But nice guide =)
    lol.. Yeah there's gotta be 100's of ways to do it.. But it's helpful for everyone who isn't me and EliteGM so what've I got to say :2gunsfiring_v1:



Advertisement