Custom HTML popups

by Jeff8500
A quick simple example of how to create an HTML popu
A small demo on how to create HTML pop ups for your game, which typically look better than your average alert()/input(). Please tell me if there are any mistakes etc. that need to be fixed.

Version 1: It was released
Version 1.1: Small fix added; now players can't enter HTML in their name.
Version 1.2: Added a better fix (the html_encode() proc) and removed the old one.
Hey Jeff,

Your little library has helped me out a load. While not everything made 'perfect' sense, with a little bit of experimentation and a bit of looking up HTML on the internet, I learned how to make browser windows, and take info retrieved on it for variables.