- 客户端巧妙应用“导航网页”编写程序
- 巧妙应用多个不同的选项来列表,写出我们在页面挑选时让客户端能够选择出不同网页,并且很好的使"客户"扩大了对网页的利用空间,越多选项客户端就越多对客户端对空间选择范围就越多;从而很好的发挥了对网页的开发和种植;形成了有利的条件。客户总是随着产品越多就产生对产品的越多的选择。
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- ttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional-dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- !--pagechange.html-->
- <html>
- <head>
- <meta http-equiv="content-Type" content="text/html; charset=GB2312">
- <title>导航网页</title>
- </head>
- <!--定义客户端过程selectchange,响应列表元素onChange事件-->
- <script LANGUAGE="vbscript">
- '响应列表选项改变事件
- Sub selectchange
- forml.submit '提交表单
- End sub
- </script>
- <body>
- <form id="forml" name="forml" method="post" action="change.asp">
- <table width="160" border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td><widthwidth="160" height="23" ailgn="center"
- <backgroundbackground="../../images/title_bg_show.gif"><b><font color="#003399">==网络导航==
- </font></b></td>
- </tr>
- <tr>
- <td><select name="select" onchange="selectchange">
- <option>---教育科研---</option>
- <option value="http://www.bjeeic.cn">北京教育考试院</option>
- <option value="http://www.bjeeic.org">北京教育考试指挥中心</option>
- <option value="http://www.pku.edu.cn">北京大学</option>
- <option value="http://www.tsinghua.cdu.cn">清华大学</option>
- <!--pagechange.html-->
- <html>
- <head>
- <meta http-equiv="content-Type" content="text/html; charset=GB2312">
- <title>导航网页</title>
- </head>
- <!--定义客户端过程selectchange,响应列表元素onChange事件-->
- <script LANGUAGE="vbscript">
- '响应列表选项改变事件
- Sub selectchange
- forml.submit '提交表单
- End sub
- </script>
- <body>
- <form id="forml" name="forml" method="post" action="change.asp">
- <table width="160" border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td><widthwidth="160" height="23" ailgn="center"
- <backgroundbackground="../../images/title_bg_show.gif"><b><font color="#003399">==网络导航==
- </font></b></td>
- </tr>
- <tr>
- <td><select name="select" onchange="selectchange">
- <option>---软件下载---</option>
- <option value="http://dl.pconline.com/cn">华军软件园</option>
- <option value="http://www.newhua.com/">卓越软件下载</option>
- <option value="http://download.PChome.net/">PChome下载</option>
- <!--pagechange.html-->
- <html>
- <head>
- <meta http-equiv="content-Type" content="text/html; charset=GB2312">
- <title>导航网页</title>
- </head>
- <!--定义客户端过程selectchange,响应列表元素onChange事件-->
- <script LANGUAGE="vbscript">
- '响应列表选项改变事件
- Sub selectchange
- forml.submit '提交表单
- End sub
- </script>
- <body>
- <form id="forml" name="forml" method="post" action="change.asp">
- <table width="160" border="1" cellpadding="0" cellspacing="0">
- <tr>
- <td><widthwidth="160" height="23" ailgn="center"
- <backgroundbackground="../../images/title_bg_show.gif"><b><font color="#003399">==网络导航==
- </font></b></td>
- </tr>
- <tr>
- <td><select name="select" onchange="selectchange">
- <option>---其他网站---</option>
- <option value="http://www.sohu.com.cn/">搜狐</option>
- <option value="http://www.sina.com.cn/">新浪</option>
- <option value="http://www.163.com/">网易163</option>
- </select></td>
- </tr>
- </table>
- </form>
- </body>
本文转自huangyouliang10 51CTO博客,原文链接:http://blog.51cto.com/1572091hyl10/601848