Click to See Complete Forum and Search --> : code for pop up windows


sfx7753
10-30-2005, 02:12 PM
id like to know how to create the pop up windows that are just a message and you can click yes, no, etc on. not the kind that pop up for advertising. Ive tried looking other places but it has always just been for advertisement pop ups. If anyone could help that would be awesome

Ultimater
10-30-2005, 02:33 PM
Do you mean a JavaScript dialog popup?

<script type="text/javascript">
var myChoice=confirm("click OK or CANCEL");
if(myChoice)alert('You clicked "OK"');
else alert('You clicked "CANCEL"');
</script>

sfx7753
10-30-2005, 02:36 PM
yea thanks