View Full Version : Don't Click Here pages.
-:Buro-kun Tsubasa:-
February 19th, 2006, 09:47 AM
How do I make a page that has an alert pop-up when you go onto it, like in usual Don't Click here Pages? I've done a Marquee, then 2 links, then I need the Alterts for the final page, any help? Thanks!
Innocence
February 19th, 2006, 10:10 AM
You need to know javascript. Then, when you've learned a bit, put(put script tags in the head):
<!--
function donotclickbox()
{
alert("This is a sample alert box")
}
-->
Or something like that. Now, if you want the script to be executed by a link, then put this where you want the link to be:
<a href="javascript:donotclickbox()">Do not click</a>
sorry if i got anything wrong, i havn't needed javascript much.
Eon-Rider
February 19th, 2006, 10:43 AM
<SCRIPT language=Javascript type=text/javascript> alert("Text") </SCRIPT>
Or you could use the above.
Note: Replace Text with the stuff you want in the pop up.
-:Buro-kun Tsubasa:-
February 19th, 2006, 11:11 AM
Thankyou! That will help!
Previewing, it works, Thanks you two! Can a Mod close this please?
Geometric-sama
February 19th, 2006, 01:41 PM
Closed by request of the thread starter.
*locked