The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> pop-ups, i need help to create this kind of pop-up thing
afh2007
post Apr 12 2007, 10:03 AM
Post #1





Group: Members
Posts: 1
Joined: 12-April 07
Member No.: 2,498



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 12 2007, 11:18 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 12 2007, 11:21 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



See also http://w3schools.com/js/js_popup.asp

If you really want users to reply, you can use the prompt() method instead.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 12 2007, 11:52 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 12:44 AM