我用的WIN95下的PWS,我如何使用frame?(80分)

  • 主题发起人 liuyonghua
  • 开始时间
L

liuyonghua

Unregistered / Unconfirmed
GUEST, unregistred user!
我对frame 了解的很少,请各位大虾指教frame是如何工作的
本论坛使用的就是frame结构,
我把论坛的main.htm;menu.htm放到我的主页目录下面
我在PWS里面如何使用?


 
关于 frame 你可以去看html手册.
http://www.see.online.sh.cn/CH/Tur/html40/contents.html
>我在PWS里面如何使用?
PWS 指什么?
 

再具体一点:
http://www.see.online.sh.cn/CH/Tur/html40/present/frames.html
 
知道了,分屏好象于web sever没有关系. 它主要看浏览器支持不支持.
好在现在大部分的浏览器都支持.
你的做一个主页.指向两个分页,看一下本页的源代码.就是个例子.
然后在 PWS 设为起始页
还有你为什么不用页面编辑器? fontpage 之类的.挺好用的.

 
本论坛中把那个HTM设为起始页main.htm or menu.htm
 
main.htm and menu.htm只是FRAMES的内容,
1。你在浏览器里面敲入http://www.gislab.ecnu.edu.cn/delphibbs/
2。把原文件存为xxx.htm
3。在把论坛的main.htm 和 menu.htm 放到和xxx.htm同一目录下
4。把它们放到你的PWS默认的目录下
5。把xxx.htm做为默认的文件就ok了
 
sorry 说的不太清楚.
你在一进来,有分屏的状态下,view 一下 page soure 你会看到 这样一些
源代码:
{html}
{head}
{meta http-equiv="Content-Type" content="text/html; charset=gb2312"}
{title}Delphi世界之大富翁论坛{/title}
{/head}

{frameset frameborder="0" cols="99,*"}
{frame name="contents" target="main" src="menu.htm" scrolling="auto" noresize}
{frame name="main" src="main.htm"}
{noframes}
{body}
{p}您需要支持Frame的浏览器才能进入本站。{/p}
{/body}
{/noframes}
{/frameset}

{frameset}
{noframes}
{/noframes}
{/frameset}
{/html}
把他另存下来,作为起始页.(为了不被注视掉,我把 '<>'替换为'{}' 了)
 
多人接受答案了。
 
顶部