Mercurial > hg > MPIWGThesaurus
comparison jquery-ui/development-bundle/demos/dialog/default.html @ 0:b2e4605f20b2
beta version
| author | dwinter |
|---|---|
| date | Thu, 30 Jun 2011 09:07:49 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:b2e4605f20b2 |
|---|---|
| 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="../../themes/base/jquery.ui.all.css"> | |
| 7 <script src="../../jquery-1.5.1.js"></script> | |
| 8 <script src="../../external/jquery.bgiframe-2.1.2.js"></script> | |
| 9 <script src="../../ui/jquery.ui.core.js"></script> | |
| 10 <script src="../../ui/jquery.ui.widget.js"></script> | |
| 11 <script src="../../ui/jquery.ui.mouse.js"></script> | |
| 12 <script src="../../ui/jquery.ui.draggable.js"></script> | |
| 13 <script src="../../ui/jquery.ui.position.js"></script> | |
| 14 <script src="../../ui/jquery.ui.resizable.js"></script> | |
| 15 <script src="../../ui/jquery.ui.dialog.js"></script> | |
| 16 <link rel="stylesheet" href="../demos.css"> | |
| 17 <script> | |
| 18 $(function() { | |
| 19 $( "#dialog" ).dialog(); | |
| 20 }); | |
| 21 </script> | |
| 22 </head> | |
| 23 <body> | |
| 24 | |
| 25 <div class="demo"> | |
| 26 | |
| 27 <div id="dialog" title="Basic dialog"> | |
| 28 <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> | |
| 29 </div> | |
| 30 | |
| 31 <!-- Sample page content to illustrate the layering of the dialog --> | |
| 32 <div class="hiddenInViewSource" style="padding:20px;"> | |
| 33 <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p> | |
| 34 <form> | |
| 35 <input value="text input" /><br /> | |
| 36 <input type="checkbox" />checkbox<br /> | |
| 37 <input type="radio" />radio<br /> | |
| 38 <select> | |
| 39 <option>select</option> | |
| 40 </select><br /><br /> | |
| 41 <textarea>textarea</textarea><br /> | |
| 42 </form> | |
| 43 </div><!-- End sample page content --> | |
| 44 | |
| 45 </div><!-- End demo --> | |
| 46 | |
| 47 | |
| 48 | |
| 49 <div class="demo-description"> | |
| 50 <p>The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.</p> | |
| 51 </div><!-- End demo-description --> | |
| 52 | |
| 53 </body> | |
| 54 </html> |
