Appeon Web应用嵌入在HTML页面的例子

Appeon Web应用嵌入在HTML页面的例子
假设你的HTML主页面布局
Top区域
Left区域
Main区域
1、主页面HTML文件内容。注意使用了Frameset和frame将页面划分为三个区域
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Appeon web 应用嵌入在 HTML 页面的例子 </title>
</head>
<frameset rows="80,*" cols="*" framespacing="0" frameborder="no" border="0" bordercolor="#000000">
<frame src="top.html" name="topFrame" frameborder="no" scrolling="auto" noresize="noresize" id="topFrame" title="topFrame" />
<frameset rows="*" cols="190,*" framespacing="1" frameborder="yes" border="1" bordercolor="#000000">
<frame src="left.html" name="leftFrame" frameborder="no" scrolling="auto" id="leftFrame" title="leftFrame" />
<frame src="main.html" name="mainFrame" frameborder="no" scrolling="auto" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
2、Top区域HTML文件内容
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Top 区域 </title>
</head>
<body>
<img src="apache_pb.gif" width="259" height="32" />// 例子中放置了一个图片
</body>
</html>
3、Left区域HTML文件内容
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Left 区域功能列表 </title>
</head>
<body>
<table width="100%" border="0">
<tr>
<td><a href="bulletin/public.htm" target="mainFrame"> 最新公告 </a></td>// 指向其它 HTML 页面
</tr>
<tr>
<td><a href="upload/application.htm" target="mainFrame"> 上传公告 </a></td>// 指向一个 Appeon Web 应用入口
</tr>
<tr>
<td><a href="webdemo/application.htm?user;123456;w_sheet1" target="mainFrame"> 合同输入 </a></td>
</tr> // 指向一个 Appeon Web 应用入口,并传递参数,依次是用户名、口令和要打开的窗口
<tr>
<td><a href="webdemo/application.htm?user;123456;w_sheet2" target="mainFrame"> 帐户列表 </a></td>
</tr>
</table>
</body>
</html>
4、Main区域HTML文件内容
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Main 区域 HTML 文档 </title>
</head>
<body>
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值