spotlight.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>Spotlight Example</title>
  6. <!-- Ext -->
  7. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  8. <script type="text/javascript" src="../../ext-all.js"></script>
  9. <!-- example code -->
  10. <script type="text/javascript" src="spotlight-example.js"></script>
  11. <!-- Common Styles for the examples -->
  12. <link rel="stylesheet" type="text/css" href="../shared/example.css" />
  13. <!-- GC -->
  14. <style type="text/css">
  15. body {
  16. overflow: hidden;
  17. }
  18. #demo-ct .x-table-layout-cell {
  19. padding: 20px;
  20. }
  21. .x-spotlight {
  22. background-color: #ccc;
  23. z-index: 8999;
  24. position: absolute;
  25. top: 0;
  26. left: 0;
  27. -moz-opacity: 0.5;
  28. opacity: .50;
  29. filter: alpha(opacity=50);
  30. width: 0;
  31. height: 0;
  32. zoom: 1;
  33. font-size: 0;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
  39. <h1>Spotlight</h1>
  40. <p>This utility allows you to restrict input to a particular element by masking all other page content.</p>
  41. <p>The js is not minified so it is readable. See <a href="spotlight-example.js">spotlight-example.js</a>.</p>
  42. <div id="start-ct"></div>
  43. </body>
  44. </html>