<SCRIPT LANGUAGE="JavaScript">
<!-- Beginvar colsvalue
if ((screen.width == 800) && (screen.height == 600))
document.all.myframe="20%,*"
else if ((screen.width == 1024) && (screen.height == 768))
document.all.myframe="27%,*"
else if ((screen.width == 1280) && (screen.height == 1024))
document.all.myframe="31.5%,*"
else
document.all.myframe="27%,*"
// End -->
</script> </head>
<frameset id=myframe cols="27%,*" framespacing="0" frameborder="NO" border="0">
<frame src="menu.php" name="menu" scrolling="NO" noresize>
<frame src="bgintro.htm" name="main">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">请使用IE5.0以上版本的浏览器访问本站 </body></noframes>
</html>
<!-- Beginvar colsvalue
if ((screen.width == 800) && (screen.height == 600))
document.all.myframe="20%,*"
else if ((screen.width == 1024) && (screen.height == 768))
document.all.myframe="27%,*"
else if ((screen.width == 1280) && (screen.height == 1024))
document.all.myframe="31.5%,*"
else
document.all.myframe="27%,*"
// End -->
</script> </head>
<frameset id=myframe cols="27%,*" framespacing="0" frameborder="NO" border="0">
<frame src="menu.php" name="menu" scrolling="NO" noresize>
<frame src="bgintro.htm" name="main">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">请使用IE5.0以上版本的浏览器访问本站 </body></noframes>
</html>
<SCRIPT LANGUAGE="JavaScript">
<!-- Beginvar colsvalue
if ((screen.width == 800) && (screen.height == 600))
document.all.myframe.cols="20%,*"
else if ((screen.width == 1024) && (screen.height == 768))
document.all.myframe.cols="27%,*"
else if ((screen.width == 1280) && (screen.height == 1024))
document.all.myframe.cols="31.5%,*"
else
document.all.myframe.cols="27%,*"
// End -->
</script>
我测试了一下,没法实现。不知道怎么回事