message.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  6. <title>Message Dialog - jQuery EasyUI Mobile Demo</title>
  7. <link rel="stylesheet" type="text/css" href="../../themes/metro/easyui.css">
  8. <link rel="stylesheet" type="text/css" href="../../themes/mobile.css">
  9. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  10. <script type="text/javascript" src="../../jquery.min.js"></script>
  11. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  12. <script type="text/javascript" src="../../jquery.easyui.mobile.js"></script>
  13. </head>
  14. <body>
  15. <div class="easyui-navpanel" style="position:relative">
  16. <header>
  17. <div class="m-toolbar">
  18. <div class="m-title">Message Dialog</div>
  19. </div>
  20. </header>
  21. <footer>
  22. <div class="m-buttongroup m-buttongroup-justified" style="width:100%;">
  23. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-picture',size:'large',iconAlign:'top',plain:true">Picture</a>
  24. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-clipart',size:'large',iconAlign:'top',plain:true">Clip Art</a>
  25. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-shapes',size:'large',iconAlign:'top',plain:true">Shapes</a>
  26. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-smartart',size:'large',iconAlign:'top',plain:true">SmartArt</a>
  27. </div>
  28. </footer>
  29. <div style="text-align:center;margin:50px 30px">
  30. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,outline:true" style="width:80px;height:30px" onclick="$('#dlg1').dialog('open').dialog('center')">Click me</a>
  31. </div>
  32. <div id="dlg1" class="easyui-dialog" style="padding:20px 6px;width:80%;" data-options="inline:true,modal:true,closed:true,title:'Information'">
  33. <p>This is a message dialog.</p>
  34. <div class="dialog-button">
  35. <a href="javascript:void(0)" class="easyui-linkbutton" style="width:100%;height:35px" onclick="$('#dlg1').dialog('close')">OK</a>
  36. </div>
  37. </div>
  38. </div>
  39. </body>
  40. </html>