I have written a program in javascript and it works as I want it too. However it uses the "alert" command at various points. I wanted to make a custom alert so I googled that and all the result make nice looking alert boxes, however there is a fatal problem when I use them rather than the normal javascript "alert" command. The custom alerts never stop the program at that point until the user shuts it down by clicking on the "ok" button. My current code can be seen at -
http://www.shogiwar.webs.com/Gunnm_Paraphernalia/Chinchirorin.html
(click on "view source" in your browser to see the code). click on the "roll dice" for the alert buttons to appear. (you'll see in my code I've commented out the custom alert stuff).
How do I create a custom alert box that also stops the program at that point until the user clicks the "ok" button (or whatever button I create in my custom alert box)?
thanks in advance,