怎么在一个层里显示另外一个网页

意思就是层里的内容是在别的网页(为.htc或,js 或什么格式都可以)地方写的,通过层显示出来,谢谢
---------------------------------------------------------------

1<div><iframe name="test" src="test.htm"></iframe></div>

应该可以吧
---------------------------------------------------------------

在dreamerware中使用,框架结构可以解决这个问题的
---------------------------------------------------------------

1<div><iframe frameborder="0" name="test" scrolling="no" src="test.htm"></iframe></div>

---------------------------------------------------------------

parent.frames[](此为框架的名字也可以).Hide()

Published At
Categories with Web编程
comments powered by Disqus