Guest User

Untitled

a guest
Jan 5th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Form</title>
  6.  
  7. <!-- Sencha Touch CSS -->
  8. <link rel="stylesheet" href="lib/touch/resources/css/sencha-touch.css" type="text/css">
  9.  
  10. <!-- Custom CSS -->
  11. <link rel="stylesheet" href="css/guide.css" type="text/css">
  12.  
  13. <!-- Sencha Touch JS -->
  14. <script type="text/javascript" src="lib/touch/sencha-touch-debug.js"></script>
  15.  
  16.  
  17. <script>
  18. function stapler(){
  19. Ext.Msg.show({
  20. title: 'Milton',
  21. msg: 'Have you seen my stapler?',
  22. buttons: Ext.MessageBox.YESNOCANCEL,
  23. icon: 'milton-icon',
  24. fn: function(btn) {
  25. switch(btn){
  26. case 'yes':
  27. Ext.Msg.prompt('Milton', 'Where is it?');
  28. break;
  29. case 'no':
  30. Ext.Msg.alert('Milton',
  31. 'Im going to burn the building down!');
  32. break;
  33. case 'cancel':
  34. Ext.Msg.wait('Saving tables to disk...','File Copy');
  35. break;
  36. }
  37. }
  38. });
  39. };
  40. Ext.onReady(stapler);
  41. </script>
  42.  
  43. </head>
  44. </html>
Add Comment
Please, Sign In to add comment