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?
Next: Pop-up Boxes >>
More JavaScript Articles
More By James Payne