.NET 追寻足迹

C# 之路

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
var inval=0;
function openNewPage(url){
    if(inval>5){
        var newWin=window.open(url,"newwindow");
        newWin.blur();
        self.focus();
    }
    else{
        var scall="openNewPage('"+url+"')";
        setTimeout(scall,1000);
        inval++;
    }
}
posted on 2010-12-15 11:38  绿水青山  阅读(1014)  评论(0编辑  收藏  举报