Hello, I am fairly new to PHP and I am trying to mimic some of the win32 functions that I feel will be useful. One function that I would like to mimic is the MessageBox function. I feel that it would be extremely useful. I have seen examples all over the web and some are okay...but most are limited. Others require inclusion of GTK libraries which I really do not want to do. Does anybody know of any existing code or code that I could easily modfy to give me all the functionality that I need. Or is there some existing out on the web that would fit the bill. Thanks in advance!
Any of your design functionality is going to be HTML/CSS/Javascript unless you're referring to PHP's GTK library. But if you're using the GTK library, that's only going to work for the local machine and if you have PHP-GTK installed. So the easiest way to mimic it would be to design it and make it in HTML/CSS, then add the functionality of dragging, minimize, maximize, close, and resize with Javascript.
Check out the jQuery UI library's modal: http://jqueryui.com/demos/dialog/#modal-message Is this the sort of MessageBox you were looking for? Keep in mind that you can change the way it looks through CSS or their ThemeRoller.