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

java script打开网页链接?
怎样用js代码实现打开一个或多个网页链接?

------解决方案--------------------
window.open("...");
------解决方案--------------------
是指?
打开网页 location.href = "xxxxx.xxx";
在frame打开网页 top.frame_name.location.href = "xxxxx.xxx";
在ifrmae打开网页 document.frames["frame_name"].location.href = "xxxxx.xxx";
打开窗口 win = window.open("xxxx.xxxx");
在打开的窗口打开网页win.location.href = "xxxxx.xxx";
在父窗口打开网页opener.location.href = "xxxxx.xxx";

------解决方案--------------------
用脚本一路的window.open下去,要打开多少就可以多少,如果系统能承受的话。
------解决方案--------------------
hookee说的已经比较全了,还可以在子窗口去刷新父窗口 ,比如opener.location.href="" 这样的。。。