Help - Search - Members - Calendar
Full Version: pop-ups
HTMLHelp Forums > Programming > Client-side Scripting
afh2007
hi

i've seen this pop-up thing (www.freewebs.com/fruitycafe/click.htm)
and i'd like to make one myself. i'm quite experienced on computers so
i should be able to do it. can anyone help?

afh2007 biggrin.gif
pandy
It's just a bunch of javasript alerts, one after the other. View source and you see how it's done. Only, there's no need to put each alert in its own script block. Just stack 'em.

alert('Boo');
alert('Hoo');
and so on.

If someone haven't figured it out by now, it's not a good idea to go to the above URL if you don't have time to waste on clicking away alert boxes. ninja.gif
Christian J
See also http://w3schools.com/js/js_popup.asp

If you really want users to reply, you can use the prompt() method instead.
Darin McGrew
QUOTE(pandy @ Apr 12 2007, 09:18 AM) *
If someone haven't figured it out by now, it's not a good idea to go to the above URL if you don't have time to waste on clicking away alert boxes.
Or if you haven't figured out how to automatically disable JavaScript when you visit unknown, untrusted sites...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.