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>
    
    
  • 相关阅读:
    POJ 1265 Pcik定理
    POJ 1380 坐标旋转
    POJ 1788
    POJ 3714 平面最近点对
    POJ 1905 二分
    POJ 1151 矩形面积并
    POJ 1654 多边形面积
    ZOJ 1010 判断简单多边形+求面积
    about work
    Python 打印 不换行
  • 原文地址:https://www.cnblogs.com/beata/p/5717488.html
Copyright © 2011-2022 走看看