想要在同一个浏览器窗口内实现以下功能:把浏览器窗口分成两个部分,左边显示新闻标题链接,右边能根据链接实时更新对应的新闻内容。其中新闻标题和新闻内容都存储在数据库中。本人新手,向各位请教了……
------解决方案--------------------------------------------------------
使用iframe 就可以了。。
------解决方案--------------------------------------------------------
一楼正解
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
用框架,,分开左右,,然后ID将左右关联上就可以了。。。
------解决方案--------------------------------------------------------
推荐用EXT JS
- JScript code
layout : 'border',
------解决方案--------------------------------------------------------
两个div就可以了
- HTML code
<html><body><div id="container" style="height:100%; width : 100%"> <p> </p> <!-- the tree container (notice NOT an UL node) --> <div id="demo"style="height:600px;width:50%;float:left;background-color:red"></div> <div id="dataValue" style="height:600px;width:49.5%;float:left ;background-color:blue"></div> </div></div></body></html>