有一次在制作网页的时候不得不是使用到分帧的效果来实现在分页的时候页面不进行跳转,在使用分帧的时候如果没有链接到文件就是提示出现“解决:错误 6 (net::ERR_FILE_NOT_FOUND):无法找到该文件或目录”的错误,找找本地有没有此文件名即可。
以下是小编使用的分帧代码出现的提示错误:
[code]<html>
<head>
<title>后台管理页面</title>
</head>
<!–分帧frameset不能和body标签及内容体共存。–>
<frameset rows=”80,*” frameborder=1 border=10>
<frame src=”header.html” name=”top” noresize>
<frameset cols=”180,*”>
<frame src=”menu.html” name=”left” scrolling=no noresize>
<frame src=”main.html” name=”right” noresize>
</frameset>
<noframes>
您使用的浏览器不支持分帧,请使用带有分帧功能的浏览器或其他无分帧的页面吧!
</noframes>
</frameset>
<!– frameborder的值为0或1,表示帧是否有边框;border表示边框的宽度 –>
<!– noresize是<frame>的属性;scrolling属性表示一个帧frame是否在内容超出 时使用滚动条 –>
</html>[/code]