首页 > 技术文章 > 屏蔽iframe中超链接

systemnet123 2014-04-08 17:29 原文

 <style type="text/css">
        .mask {
            position: absolute;
            width: 290px;
            height: 96px;
            z-index: 1;
            filter: alpha(opacity=0);
            opacity: 0;
            background: #ffffff;
        }
    </style>
 <div style="position: relative">
        <div class="mask"></div>
        <iframe allowtransparency="true" frameborder="0" width="290" height="96" scrolling="no" src="http://tianqi.2345.com/plugin/widget/index.htm?s=1&z=3&t=0&v=0&d=2&k=&f=1&q=1&e=1&a=1&c=71144&w=290&h=96"></iframe>
    </div>

 

推荐阅读