乱码乱a∨中文字幕,在线免费激情视频,亚洲欧美久久夜夜潮,国产在线网址

  1. <sub id="hjl7n"></sub>

    1. <sub id="hjl7n"></sub>

      <legend id="hjl7n"></legend>

      當(dāng)前位置:首頁(yè) >  站長(zhǎng) >  編程技術(shù) >  正文

      Ratchet 模態(tài)框的實(shí)現(xiàn)

       2021-02-05 16:45  來(lái)源: 腳本之家   我來(lái)投稿 撤稿糾錯(cuò)

        阿里云優(yōu)惠券 先領(lǐng)券再下單

      這篇文章主要介紹了Ratchet 模態(tài)框的實(shí)現(xiàn),文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧

      模態(tài)框在任何一個(gè)系統(tǒng)的布局里面都是很重要的東西。其實(shí)個(gè)人覺(jué)得直接一個(gè)alert()更好,但現(xiàn)在很多人覺(jué)得alert()的彈出框太不給力。同時(shí)alert()里面也不宜放置太多文本。如果需要做注冊(cè)的“服務(wù)協(xié)議”等本頁(yè)面內(nèi)彈出窗口,此時(shí)可以考慮使用到Ratchet的模態(tài)框。

      效果如下:

      實(shí)現(xiàn)代碼如下:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

      http://www.w3.org/TR/html4/strict.dt

      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
              <!--自適應(yīng)手機(jī)屏幕-->
              <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
              <!--適應(yīng)蘋(píng)果手機(jī)-->
              <meta name="apple-mobile-web-app-capable" content="yes">
              <meta name="apple-mobile-web-app-status-bar-style" content="black">
              <!--不要被百度轉(zhuǎn)碼-->
              <meta http-equiv="Cache-Control" content="no-siteapp"/>
              <!--引入RatChet資源-->
              <script type="text/javascript" src="js/ratchet.min.js"></script>
        <link href="css/ratchet.min.css" rel="stylesheet" type="text/css" >
              <title>Modal</title>
          </head>
          <body>
              <div class="content">
                  <a href="#Modalid" class="btn btn-primary btn-block">打開(kāi)模態(tài)框</a>
                     
                  <div id="Modalid" class="modal">
                      <header class="bar bar-nav">
                          <a class="icon icon-close pull-right" href="#Modalid"></a>
                          <h1 class="title">模態(tài)框標(biāo)題</h1>
                      </header>               
                      <div class="content">
                       <p class="content-padded">模態(tài)框內(nèi)容</p>
                      </div>
                  </div>
              </div>
          </body>
      </html>

      到此這篇關(guān)于Ratchet 模態(tài)框的實(shí)現(xiàn)的文章就介紹到這了,更多相關(guān)Ratchet 模態(tài)框內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持腳本之家!

      來(lái)源:腳本之家

      鏈接:https://www.jb51.net/html5/741384.html

      申請(qǐng)創(chuàng)業(yè)報(bào)道,分享創(chuàng)業(yè)好點(diǎn)子。點(diǎn)擊此處,共同探討創(chuàng)業(yè)新機(jī)遇!

      相關(guān)文章

      熱門(mén)排行

      信息推薦