JavaScript
  Home arrow JavaScript arrow Javascript Pop-up Boxes
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Javascript Pop-up Boxes
By: James Payne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2007-11-07

    Table of Contents:
  • Javascript Pop-up Boxes
  • Pop-up Boxes
  • Confirm Box
  • Prompting the Prompt Box

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Javascript Pop-up Boxes


    (Page 1 of 4 )

    In our last article I filled your puny brain with the knowledge of JavaScript operators. In this article we are going to learn about pop-up boxes. That's right, those sometimes annoying, sometimes helpful things that leap out at the user and ask them to do stuff will be covered here.

    Rock 'Em Sock 'Em Pop-up Boxen

    This is the part of the article where I ramble, but right now I am torn as to which direction I should ramble in. Should I discuss how a box is a box, but a bunch boxes, indeed a herd of them, should be called a boxen. I mean if you have several oxes (or oxi) you say: "Look at those oxen." So if you are moving and go to a grocery store to gather more than one box, you should say: "Point me to your boxen."

    But I think what I really want to ramble about is those Jack in the Boxes. What a horrible toy. I mean, you give these things to infants. First of all, they are made of like 20 pounds of steel. Babies like to pick stuff up and what would happen if they dropped it on their heads? And second, you wind this thing and here is this sweet, mellow music and the baby is thinking wow, life is nice. And he continues on expecting nothing bad to happen and then BAM! This giant freak-faced clown springs into action, right up in your baby's face. Sometimes it even hits them. Like here baby, have a clown-invoked black eye.

    It totally sets them up to always expect the worst in life. For the next 80 years of their lives they will always think...things are pretty cool right now, and then instantly worry that a clown will punch them.

    Well, Pop-Ups in Javascript usually aren't so bad. They at least warn you that you are doing something wrong or that you might be about to do something wrong. They don't just lay the smack down on you. Heck, some even compliment you, tell you you're doing a fine job. Of course there are those cryptic <insert well known operating system name here> pop-ups that give you some enigmatic Matrix-looking warning like: Exception Error C00D19hjKlM04Youarescrewed. I mean, what do those even mean? Why not just take a second of your time and program what happened instead of just throwing random characters at us?

    More JavaScript Articles
    More By James Payne


       · Hi, thanks for dropping by and reading my article. In this issue we discuss the...
     

    JAVASCRIPT ARTICLES

    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in
    - Active Client Pages at the Server
    - ACP Tab Web Page







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT