client/player/css/jq-css/demos/dialog/modal-message.html
changeset 51 2d6866072851
child 57 3a3c15c462f8
equal deleted inserted replaced
50:1ecfe4720da7 51:2d6866072851
       
     1 <!DOCTYPE html>
       
     2 <html lang="en">
       
     3 <head>
       
     4 	<meta charset="UTF-8" />
       
     5 	<title>jQuery UI Dialog - Modal message</title>
       
     6 	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
       
     7 	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
       
     8 	<script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js"></script>
       
     9 	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
       
    10 	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
       
    11 	<script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
       
    12 	<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
       
    13 	<script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
       
    14 	<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
       
    15 	<script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
       
    16 	<script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
       
    17 	<link type="text/css" href="../demos.css" rel="stylesheet" />
       
    18 	<script type="text/javascript">
       
    19 	$(function() {
       
    20 		// a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
       
    21 		$("#dialog").dialog("destroy");
       
    22 	
       
    23 		$("#dialog-message").dialog({
       
    24 			modal: true,
       
    25 			buttons: {
       
    26 				Ok: function() {
       
    27 					$(this).dialog('close');
       
    28 				}
       
    29 			}
       
    30 		});
       
    31 	});
       
    32 	</script>
       
    33 </head>
       
    34 <body>
       
    35 
       
    36 <div class="demo">
       
    37 
       
    38 <div id="dialog-message" title="Download complete">
       
    39 	<p>
       
    40 		<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
       
    41 		Your files have downloaded successfully into the My Downloads folder.
       
    42 	</p>
       
    43 	<p>
       
    44 		Currently using <b>36% of your storage space</b>.
       
    45 	</p>
       
    46 </div>
       
    47 
       
    48 <!-- Sample page content to illustrate the layering of the dialog -->
       
    49 <div class="hiddenInViewSource" style="padding:20px;">
       
    50 	<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>
       
    51 	<form>
       
    52 		<input value="text input" /><br />
       
    53 		<input type="checkbox" />checkbox<br />
       
    54 		<input type="radio" />radio<br />
       
    55 		<select>
       
    56 			<option>select</option>
       
    57 		</select><br /><br />
       
    58 		<textarea>textarea</textarea><br />
       
    59 	</form>
       
    60 </div><!-- End sample page content -->
       
    61 
       
    62 </div><!-- End demo -->
       
    63 
       
    64 <div class="demo-description">
       
    65 
       
    66 <p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work.  Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
       
    67 
       
    68 </div><!-- End demo-description -->
       
    69 
       
    70 </body>
       
    71 </html>