If it only was the old fashion browser alert I wouldn't have started this topic I have such a script but that is the upgly gray browser alert box and that only gives you the option OK in the browsr and not the options YES and NO.
I wanted a more up-to-date alert box that has colors that suits the colors of the site.
The page isn't online yet but I'm running it on my local host. If you really want all the files I can send them as attachment in an email to you but therefore I need your email address. You can always send me a pm with your email address. Do not write it here.
PS the onclick code you sent me, also gives an undefined error even when I put the vars in the very beginning of the allert.js script and remove them out of the fuction where they were.
i understand that you want to make a pretty alert box, i was saying to display it with a custom function instead of rewriting the normal alert box, so it would still pull up your custom box, but would not change the native alert() code. i'll send you a pm with my email
Thanks to the excellent help AND a lot of patience of bsmbahamas, my problem has been solved. Hurray !!!
thanks it was fun.