jQuery Mobile 打开对话框

弹出对话框只需要在<a>标签中的data-rel属性值谢伟"dialog" 

<div data-role="page" id="e1">
  <div data-role="header"><h1>对话框</h1></div>
  <div data-role="content">
    <p>
      <a href="dialog.htm" 
         data-rel="dialog" 
         data-transition="pop">打开对话框
      </a>
    </p>
  </div>
  <div data-role="footer"><h4>©2012 rttop.cn studio</h4></div>
 </div>

相关推荐