找回密码
 注册
搜索
查看: 4105|回复: 0

IE模式窗口的使用例子

[复制链接]
发表于 2004-1-26 20:03:41 | 显示全部楼层 |阅读模式
<script language="javascript">
function RegisterResume(arg){
        var url = "http://www.ityg.com";
        if( arg.length > 0 )
                url = url + "?talent=" + arg;
        var to = showModalDialog( url, "", "dialog-height:300px;dialog-width:180px" );
        if(to == false){
                alert( "false" );
                return false;
        }else{
                alert( to == 5 );
                if( to != "#" && to.length > 10){
                        window.location.href = to;
                        return true;
                }else
                        return false;
        }
}
RegisterResume("");
</script>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|宁德市腾云网络科技有限公司 ( 闽ICP备2022007940号-5|闽公网安备 35092202000206号 )

GMT+8, 2025-5-5 06:24 , Processed in 0.014125 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表