Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Pop Up  (Read 2831 times)

0 Members and 1 Guest are viewing this topic.

DFND-jimjim1

    Topic Starter


    Beginner

  • What would you do if you knew you could not fail?
    Pop Up
    « on: May 03, 2009, 01:47:12 PM »
    I was wondering how I make it so when someone goes to my website, a messagebox pops up.
    Like this
    a = MsgBox("Text",64,"Title")

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Pop Up
    « Reply #1 on: May 03, 2009, 02:41:50 PM »
    I was wondering how I make it so when someone goes to my website, a messagebox pops up.
    Like this
    a = MsgBox("Text",64,"Title")

    Alert...
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Pop Up
    « Reply #2 on: May 04, 2009, 04:11:08 AM »
    Alert...

    In other words:

    Code: [Select]
    <html>
    <head>
    <script type="text/javascript">
    function showAlert {
      alert("This is an alert box!");
    }
    </script>
    </head>

    <body>
    <input type="button" onclick="showAlert()" />
    </body>
    </html>