js动态指定浮动框架url
[ 2006-11-27 22:55:13 | 作者: admin ]
<IFRAME id="frmTao123" src="http://www.52News.com" width="1000" height="500" scrolling="no" border="0" frameBorder="0" > </IFRAME>
<script type="text/javascript" language="javascript1.2">
url = "http://www.52News.com/myblog";
obj=document.getElementById("frmTao123");
obj.src=url;
</script>
<script type="text/javascript" language="javascript1.2">
url = "http://www.52News.com/myblog";
obj=document.getElementById("frmTao123");
obj.src=url;
</script>
下面是 start.htm 页面
阅读全文…
<script language="javascript">
//设置打开地址
url = "show.htm";
var w=window.screen.availWidth;
var h=window.screen.availHeight;
//win1 = NewWin(url,"","left=0,top=0,height="+ h +",width="+ w +",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
function NewWin(url,winName,vars){
window.open(url,winName,vars);
}
function loadFullscreen()
...//设置打开地址
url = "show.htm";
var w=window.screen.availWidth;
var h=window.screen.availHeight;
//win1 = NewWin(url,"","left=0,top=0,height="+ h +",width="+ w +",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
function NewWin(url,winName,vars){
window.open(url,winName,vars);
}
function loadFullscreen()
阅读全文…
1