client/player/css/jq-css/demos/button/icons.html
changeset 1 436d4791d7ac
child 57 3a3c15c462f8
equal deleted inserted replaced
0:ecdfc63274bf 1:436d4791d7ac
       
     1 <!DOCTYPE html>
       
     2 <html lang="en">
       
     3 <head>
       
     4 	<meta charset="UTF-8" />
       
     5 	<title>jQuery UI Button - Icons demo</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="../../ui/jquery.ui.core.js"></script>
       
     9 	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
       
    10 	<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
       
    11 	<link type="text/css" href="../demos.css" rel="stylesheet" />
       
    12 	<script type="text/javascript">
       
    13 	$(function() {
       
    14 		$(".demo button:first").button({
       
    15             icons: {
       
    16                 primary: 'ui-icon-locked'
       
    17             },
       
    18             text: false
       
    19         }).next().button({
       
    20             icons: {
       
    21                 primary: 'ui-icon-locked'
       
    22             }
       
    23         }).next().button({
       
    24             icons: {
       
    25                 primary: 'ui-icon-gear',
       
    26                 secondary: 'ui-icon-triangle-1-s'
       
    27             }
       
    28         }).next().button({
       
    29             icons: {
       
    30                 primary: 'ui-icon-gear',
       
    31                 secondary: 'ui-icon-triangle-1-s'
       
    32             },
       
    33             text: false
       
    34         });
       
    35 	});
       
    36 	</script>
       
    37 	<style>
       
    38 		
       
    39 	</style>
       
    40 </head>
       
    41 <body>
       
    42 
       
    43 <div class="demo">
       
    44 
       
    45 	<button>Button with icon only</button>
       
    46 	<button>Button with icon on the left</button>
       
    47 	<button>Button with two icons</button>
       
    48 	<button>Button with two icons and no text</button>
       
    49 
       
    50 </div><!-- End demo -->
       
    51 
       
    52 
       
    53 
       
    54 <div class="demo-description">
       
    55 
       
    56 <p>Some buttons with various combinations of text and icons, here specified via metadata.</p>
       
    57 
       
    58 </div><!-- End demo-description -->
       
    59 
       
    60 
       
    61 
       
    62 </body>
       
    63 </html>