JqueryUI - Hack dialog window is an overlay positioned within the viewport and is protected from page content


SUBMITTED BY: jlolk3r

DATE: Jan. 25, 2016, 7:45 a.m.

FORMAT: HTML

SIZE: 734 Bytes

HITS: 473

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>jQuery UI Dialog - Default functionality</title>
  6. <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
  7. <script src="//code.jquery.com/jquery-1.10.2.js"></script>
  8. <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  9. <link rel="stylesheet" href="/resources/demos/style.css">
  10. <script>
  11. $(function() {
  12. $( "#dialog" ).dialog();
  13. });
  14. </script>
  15. </head>
  16. <body>
  17. <div id="dialog" title="Basic dialog">
  18. <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
  19. </div>
  20. </body>
  21. </html>

comments powered by Disqus