Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Form</title>
- <!-- Sencha Touch CSS -->
- <link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">
- <!-- Custom CSS -->
- <link rel="stylesheet" href="css/guide.css" type="text/css">
- <!-- Sencha Touch JS -->
- <script type="text/javascript" src="lib/touch/sencha-touch-debug.js"></script>
- <script>
- function stapler(){
- Ext.Msg.show({
- title: 'Milton',
- msg: 'Have you seen my stapler?',
- buttons: Ext.MessageBox.YESNOCANCEL,
- icon: 'milton-icon',
- fn: function(btn) {
- switch(btn){
- case 'yes':
- Ext.Msg.prompt('Milton', 'Where is it?');
- break;
- case 'no':
- Ext.Msg.alert('Milton',
- 'Im going to burn the building down!');
- break;
- case 'cancel':
- Ext.Msg.wait('Saving tables to disk...','File Copy');
- break;
- }
- }
- });
- };
- Ext.onReady(stapler);
- </script>
- </head>
- </html>
Add Comment
Please, Sign In to add comment