mos开发系列教七:框架分析
mos是基于框架开发的,从jsp生成的html,可以看出页面框架
<frameset border="0" framespacing="0" rows="*,26" frameborder="0">
<frameset border="0" frameborder="0" cols="*,280">
<frameset border="0" name="maparea" rows="30,*,0,0" frameborder="0">
<frame name="tbFrame" src="ajaxviewer.files/toolbar.htm" noresize scrolling="no">
<frame border="3" name="mapFrame" src="ajaxviewer.files/mapframe.htm" scrolling="no">
<frame name="formFrame" src="ajaxviewer.files/formframe.htm" noresize>
<frame name="scriptFrame" src="about:blank" noresize>
</frameset>
<frameset border="0" name="taskArea" rows="30,*" frameborder="0">
<frame name="taskBar" src="ajaxviewer.files/taskbar.htm" noresize scrolling="no">
<frame name="taskFrame" src="ajaxviewer.files/taskframe.htm" noresize scrolling="no">
</frameset>
</frameset>
<frame name="sbFrame" src="ajaxviewer.files/statusbar.htm" noresize scrolling="no">
</frameset>
其中
taskFrame.html的组成
<frameset id="taskFrameSet" border="0" name="taskFrameSet" framespacing="0" rows="0,*"
frameborder="0">
<frame name="taskListFrame" src="taskframe.files/tasklist.htm" noresize scrolling="no">
<frame name="taskPaneFrame" src="taskframe.files/copy_findparcels.htm" noresize>
</frameset>
了解了框架组成后,利用dhtml,就可以自由的操作各个frame了
<frameset border="0" framespacing="0" rows="*,26" frameborder="0">
<frameset border="0" frameborder="0" cols="*,280">
<frameset border="0" name="maparea" rows="30,*,0,0" frameborder="0">
<frame name="tbFrame" src="ajaxviewer.files/toolbar.htm" noresize scrolling="no">
<frame border="3" name="mapFrame" src="ajaxviewer.files/mapframe.htm" scrolling="no">
<frame name="formFrame" src="ajaxviewer.files/formframe.htm" noresize>
<frame name="scriptFrame" src="about:blank" noresize>
</frameset>
<frameset border="0" name="taskArea" rows="30,*" frameborder="0">
<frame name="taskBar" src="ajaxviewer.files/taskbar.htm" noresize scrolling="no">
<frame name="taskFrame" src="ajaxviewer.files/taskframe.htm" noresize scrolling="no">
</frameset>
</frameset>
<frame name="sbFrame" src="ajaxviewer.files/statusbar.htm" noresize scrolling="no">
</frameset>
其中
taskFrame.html的组成
<frameset id="taskFrameSet" border="0" name="taskFrameSet" framespacing="0" rows="0,*"
frameborder="0">
<frame name="taskListFrame" src="taskframe.files/tasklist.htm" noresize scrolling="no">
<frame name="taskPaneFrame" src="taskframe.files/copy_findparcels.htm" noresize>
</frameset>
了解了框架组成后,利用dhtml,就可以自由的操作各个frame了