This demonstration displays a message asking the user to press the 'A', 'B', or 'C' key. When the user presses one of these keys, a message box is displayed that tells the user which key was pressed. The message box may be dragged with the mouse just like a native message box and may be closed with either mouse or keyboard input. The program demonstrates the following backdraft concepts:
The entire program is shown on the code tab. The HTML is shown in the HTML tab: as is common with backdraft programs, there's zero markup. All the heavy lifting is accomplished by the backdraft framework (that's the point!). The actual code loaded has been compressed; if you would like to look at the source used in this application, including all backdraft and dojo modules, click here (warning: since the source version downloads lots of files, it takes longer to load. Rest assured, this is not a factor when developing on a local http server).