我的第一个primeui示例

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="jquery/jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="primeui/primeui-1.1-min.css" rel="stylesheet" type="text/css" />
<link href="primeui/css/button/button.css" rel="stylesheet" type="text/css" />
<link href="primeui/css/dialog/dialog.css" rel="stylesheet" type="text/css" />
<link href="themes/aristo/theme.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
<script type="text/javascript" src="primeui/primeui-1.1-min.js"></script>
<script type="text/javascript" src="primeui/js/button/button.js"></script>
<script type="text/javascript" src="primeui/js/dialog/dialog.js"></script>
<script type="text/javascript">
$(function() {  
    $('#dlg').puidialog({  
        showEffect: 'fade',  
        hideEffect: 'fade',  
        minimizable: true,  
        maximizable: true,  
        modal: true,  
        buttons: [{  
                text: 'Yes',  
                icon: 'ui-icon-check',  
                click: function() {  
                    $('#dlg').puidialog('hide');  
                }  
            },  
            {  
                text: 'No',  
                icon: 'ui-icon-close',  
                click: function() {  
                    $('#dlg').puidialog('hide');  
                }  
            }  
        ]  
    });  
  
    $('#btn-show').puibutton({  
        icon: 'ui-icon-arrow-4-diag',  
        click: function() {  
            $('#dlg').puidialog('show');  
        }  
    });  
});  
      
</script>
</head>

<body>
<button id="btn-show" type="button">Show</button>  
  
<div id="dlg" title="Godfather I">  
    <p>The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.   
    His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.   
    Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,   
    kind and benevolent to those who give respect,   
    but given to ruthless violence whenever anything stands against the good of the family.</p>  
</div>  
</body>
</html>