日期:2014-05-16  浏览次数:20322 次

js脚本实现登录界面始终保持在最上端

<body onload="goTop()">

        function goTop() {
            if (window.top != window.self) {
                window.top.location = window.location;
            } else if (window.top.dialogArguments) {
                window.top.dialogArguments.location = window.location;
                window.top.returnValue = false;
                window.top.close();
            }
        }