javascript设置一个页面启动时 没有工具栏 地址栏等
if(window.name == "TT") return;
else
{
openOneWindow5Toolbar("Login.aspx", "TT", h, w, 1024, 677);
window.opener = null;
self.close();
}
function openOneWindow5Toolbar(url, target, top, left, width, height)
{
var feature = "location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no";
feature = feature + "top=" + top + ",left=" + left + ",width=" + width + ",height=" + height;
window.open(url, target, feature);
}
else
{
openOneWindow5Toolbar("Login.aspx", "TT", h, w, 1024, 677);
window.opener = null;
self.close();
}
function openOneWindow5Toolbar(url, target, top, left, width, height)
{
var feature = "location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no";
feature = feature + "top=" + top + ",left=" + left + ",width=" + width + ",height=" + height;
window.open(url, target, feature);
}