Skylight OS Wiki
A quick and easy to use web operating system
Status: Pre-Alpha
Brought to you by:
seccominc
To open a dialog, use App.openDialog():
App.openDialog('This is the Dialog Text.');
This is what the default Dialog looks like:
The default button also has the pulse class added to it.
If you want to change the text inside the buttons, then use this:
App.openDialog('This is the Dialog Text.', 'ok=Yes&cancel=No');
You can also execute a script when the default button is pushed:
App.openDialog('This is the Dialog Text.', '', 'alert("you clicked OK");');