下面是编程之家 jb51.cc 通过网络收集整理的代码片段。
编程之家小编现在分享给大家,也给大家做个参考。
<!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>
以上是编程之家(jb51.cc)为你收集整理的全部代码内容,希望文章能够帮你解决所遇到的程序开发问题。
如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。
原文链接:https://www.f2er.com/html/457433.html