首页 > 代码库 > tipsWindown-iframe弹框demo-179

tipsWindown-iframe弹框demo-179

<link href="http://www.mamicode.com/themes/css/tipswindown.css" rel="stylesheet" type="text/css">
<script src="http://www.mamicode.com/themes/js/tipswindown.js"></script>
<script type="text/javascript" src="http://www.mamicode.com/themes/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
    function loginbox(){
        tipsWindown("","iframe:http://test.pay.com/public/loginbox","462","400","true","","true","",‘‘);
    }    
    //跨域的暂时不关闭窗口
    function ClosePopWin(){
        $("#windownbg").remove();
        $("#windown-box").fadeOut("slow",function(){$(this).remove();});
    }
</script>

    <a href="javascript:void(0)" class="first_login" onclick="loginbox()">登录</a>

本文出自 “yanzi” 博客,请务必保留此出处http://daddysgirl.blog.51cto.com/1598612/1881122

tipsWindown-iframe弹框demo-179