浏览模式: 普通 | 列表
11月, 2006 | 1

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>

原创日志 js实现自动全屏幕

[ 2006-11-27 16:25:15 | 作者: admin ]
下面是 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()
...

阅读全文…
1