<Script>
showModalDialog("abc.htm?src=xxxa.htm");
</script>abc.htm 源代码:
<html>
<head>
<title>abc</title>
</head>
<script>
var s = "?src=xxxa.htm"; //气人的是这个 ?src=xxxa.htm  我不能通过 location.search 取得,不知是怎么回事,我都不清楚了,这个值你自己想办法了
var a = s.search("src=");
var de = s.substr(a+4);
alert(de);
var b = de.search("&");
if(b!=-1)de = de.substr(0,b);
document.writeln("<frameset rows='40,*' frameborder=0 border=0>");
document.writeln("<frame src='about:blank'>");
document.writeln("<frame src='" + de + "'>");
document.writeln("</frameset>");
</Script>
</html>