菜鸟问框架的问题..............
我有一网页 有框架 同时也想两边加广告 可总是有框架就没广告 有广告就没框架 高手请指教 代码如下:<!--#include file="check.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>xxx系统</title>
</head>
<frameset rows="150,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="top.asp" name="topFrame" scrolling="NO" noresize >
<frameset cols="180,*" frameborder="NO" border="0" framespacing="0">
<frame src="left.asp" name="leftFrame" frameborder="no" scrolling="yes" noresize bordercolor="#0099FF">
<frame src="main.asp" name="mainFrame">
</frameset>
</frameset>
<DIV style="POSITION: absolute" id=ccc>
<DIV style="LEFT: 10px;background-color: #0000CC; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 300px">
<a href=javascript:clo()><font color=ffffff>[关闭]</font></a></DIV>
<DIV style="LEFT: 880px;background-color: #0000CC; WIDTH: 100px; POSITION: absolute; TOP: 2px; HEIGHT: 300px">
<a href=javascript:clo()><font color=ffffff>[关闭]</font></a></DIV>
</DIV>
<body>
</body>
<SCRIPT>
function clo(){ccc.style.display="none"}
</SCRIPT>
</html>
[此贴子已经被作者于2005-11-10 0:06:25编辑过]