摘要: window.location.pathname.toString()是路径,window.location.search.toString()是路径后的参数关闭本页的js:var x=window.location.pathname.toString()+window.location.search.toString();window.top.closethis(x);打开新页面的js:window.parent.addUrlToMainTab(url,title);跳到新页面的js:window.location.href="/projectweb/pages/daokuan/d 阅读全文
posted @ 2011-04-20 21:39 goodnight 阅读(244) 评论(0) 推荐(0) 编辑