Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2006
    Location
    my computer
    Posts
    141
    Tokens
    0

    Default whats the html script for a pop up would be greatful for it and ill give +rep :)

    as the title says i need a html script for a popup and ill give +rep for the person that tells me

    thank you
    :rolleyes::eusa_clap:eusa_clap
    :eusa_danc:eusa_danc:eusa_danc:eusa_danc:eusa_danc :eusa_danc:eusa_clap

  2. #2
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    If you want a popup where you click a button use this:
    HTML Code:
    <form>
    <input style="font-size:12px;color:#000000;font-family:verdana;" type=button value="Ok" onClick="alert('Your Message Here');">
    </form>
    If you want a popup that automatically opens when you enter a page use this:
    HTML Code:
    <SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
    <!--
    var popupWindow=null;
    function popup(mypage,myname,w,h,pos,infocus){
    
    if (pos == 'random')
    {LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
    else
    {LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
    settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';popupWindow=window.open('',myname,settings);
    if(infocus=='front'){popupWindow.focus();popupWindow.location=mypage;}
    if(infocus=='back'){popupWindow.blur();popupWindow.location=mypage;popupWindow.blur();}
    
    }
    // -->
    </script>
    (PUT THIS IN THE HEAD SECTION OF YOUR PAGE.
    HTML Code:
    <body onLoad="popup('http://POPUP URL HERE','Popup Name Here','200','100','center','front');">
    AND ADD THAT TO THE <BODY> TAG ON YOUR PAGE (CHANGE HIGHLIGHTED THINGS)
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  3. #3
    Join Date
    Dec 2006
    Posts
    137
    Tokens
    0

    Default

    It's not HTML, it's JS.

    Impossible to do with HTML I think.

  4. #4
    Join Date
    Nov 2006
    Posts
    7,395
    Tokens
    2,222

    Latest Awards:

    Default

    It still works on a .html page, so just use it anyway
    Hi

  5. #5
    Join Date
    Dec 2006
    Posts
    137
    Tokens
    0

    Default

    Quote Originally Posted by Blad3r View Post
    It still works on a .html page, so just use it anyway
    oh my god.

    :eusa_wall:eusa_wall:eusa_wall

  6. #6
    Join Date
    Nov 2006
    Posts
    7,395
    Tokens
    2,222

    Latest Awards:

    Default

    and you want god for...
    Hi

  7. #7
    Join Date
    Nov 2006
    Location
    In habbo :)
    Posts
    1,027
    Tokens
    0

    Latest Awards:

    Default

    Code:
     <SCRIPT language="JavaScript">alert("TEXT") </SCRIPT>

  8. #8
    Join Date
    Dec 2006
    Posts
    137
    Tokens
    0

    Default

    Quote Originally Posted by Blad3r View Post
    and you want god for...
    you're annoying me to no end.

    of course js works on a .html page fgs.

  9. #9
    Join Date
    Nov 2006
    Posts
    7,395
    Tokens
    2,222

    Latest Awards:

    Default

    I know, I am just saying you can still use it, and i wasnt typing towards you?
    Last edited by Cixso; 15-12-2006 at 07:56 PM.
    Hi

  10. #10
    Join Date
    Dec 2006
    Posts
    137
    Tokens
    0

    Default

    Quote Originally Posted by Blad3r View Post
    I know, I am just saying you can still use it, and i wasnt typing towards you?
    yes you was, because you was commenting on my post about it being js.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •