PDA

View Full Version : Pop Up Window Help


mikevaleriani
11-06-2002, 08:24 AM
Hello,

Does anyone know how to change this pop up window's buttons from "OK" & "Cancel" to "Yes" & "No"?


<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript">
function entrance(){
if (confirm("Would you like to listen to music while visiting this site?"))
window.location="http://www.mikevaleriani.com/frame_music.html"
else
window.location="http://www.mikevaleriani.com/frame_main.html"
}
</script>
</head>
<body onload="entrance()">
</body>
</html>


Thank you so much for your help. :)

glenngv
11-06-2002, 08:52 AM
you can't do it in javascript.
or use vbscript's msgbox but that's not cross-browser.