zoukankan      html  css  js  c++  java
  • Popup

     
    //图片类快捷弹出层
     <a href="" target="_blank">
        <div class="panlifang1" style="宽度px;height:宽度px;background:url(原图地址);">
            <div class="J_TWidget" data-widget-config="{&quot;trigger&quot;:&quot;.panlifang1&quot;,&quot;align&quot;:{&quot;node&quot;:&quot;.panlifang1&quot;,&quot;points&quot;:[&quot;tl&quot;,&quot;tl&quot;],&quot;offset&quot;:[0,0]}}" data-widget-type="Popup" style="display:none;">
                 <img src="弹出图片地址" />
            </div>
        </div>
     </a>
    
    
    //文字类弹出层
    <div class="first-trigger" style="宽度px; height:宽度px">我只是个触点而已,把鼠标滑到我身上</div>
     
    <div class="J_TWidget hidden" data-widget-type="Popup" data-widget-config="{
              'trigger':'.first-trigger',
              'align':{
                      'node':'.first-trigger',
                      'offset':[0,0],
                      'points':['cc','cc']
                      }
                }">
        <div style="background-color: yellow; height: 200px;  200px;">
           我是一个弹出层
        </div>
    </div>
    
    
  • 相关阅读:
    树上DP
    区间dp
    [持续更新]学习并记忆 Linux 下的常用的命令
    区间dp
    codevs 2152
    树上DP入门题
    差分与前缀和
    POJ
    VJ
    Week 5: Object Oriented Programming 9. Classes and Inheritance Exercise: int set
  • 原文地址:https://www.cnblogs.com/beata/p/5717488.html
Copyright © 2011-2022 走看看