PDA

View Full Version : how do i make a alert box come up when some one clicks on a link?



TiMę:*)
10-01-2003, 11:12 AM
I want to make one of those alert boxes that come up when some one clicks on a link. I want it so it ask the user a question. and if the user clicks yes or ok, the box closes and procede to the link and if the user clicks no i want the box to close and open another link. does any one no the html to do this?

Tim

honeylaser
10-01-2003, 11:38 AM
I don't think you can do it with straight HTML. There are some good instructions and various javascripts you can use at HTML Bootcamp (http://mylibrarian.com/lis/workpad21/workpad21.html) to get that working though.

honeylaser
10-01-2003, 11:45 AM
If you can't find it amongst all of the other stuff on the page:

The Link Text (thepageyouarelinkingto.html)

Chuck that code in the <body> of your code.