JQuery Mobile 弹出式登录框的实现方法

 更新时间:2016年05月28日 09:40:05   投稿:jingxian  
下面小编就为大家带来一篇JQuery Mobile 弹出式登录框的实现方法。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
<a href="#login" data-rel="popup" data-position-to="window" data-role="button">Login</a> 
  <div data-role="popup" id="login" data-theme="a"> 
    <form style="padding:10px 20px;"> 
      <h3>Please sign in</h3> 
      <label for="un" class="ui-hidden-accessible">Username:</label> 
      <input type="js" name="user" id="un" placeholder="username" /> 
      <label for="pw" class="ui-hidden-accessible">Password:</label> 
      <input type="password" name="pass" id="pw" placeholder="password" /> 
      <button type="submit" data-theme="b">Sign in</button> 
    </form> 
  </div> 

以上这篇JQuery Mobile 弹出式登录框的实现方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

相关文章

最新评论