QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

查看: 1389|回复: 0
收起左侧

[原创] 关于模板的自动标列表程序

[复制链接]
发表于 2008-1-18 12:33:28 | 显示全部楼层 |阅读模式 来自: 中国江苏苏州

马上注册,结识高手,享用更多资源,轻松玩转三维网社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
关于模板的自动标列表程序
, D6 P+ [2 L5 @$ i& M# H* L9 m我兴趣的和我交流: QQ879555882# L8 N+ ?" v5 L2 a3 c' _
表单的基本语法<form action="url" method=*>2 a! ~7 ^! X! _! H. R$ ?/ J
... * q$ ^' K5 F. z3 c. l/ W
...
. m( E! f# V4 X  x1 I3 Q# q8 A<input type=submit> <input type=reset>9 I* \8 N: x$ f* d* d7 C  Q
</form>
*=GET, POST
5 i1 N& C8 z, m3 }. N+ k$ h8 a9 S& T) M: f. N+ N% h$ S
表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset1 j  V: u. w" w3 G1 R1 ]8 n+ Q
**=Symbolic Name for CGI script 5 {' C; L2 i* _1 z+ n- ?; U" J

3 S( w$ T$ r7 v2 Ghttp://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password
! B! V# Y4 d  ?. [/ d: d$ b<input type=*>. y+ O+ U9 @- \- ]. h
<input type=* value=**><form action=/cgi-bin/post-query method=POST>您的姓名: <input type=text name=姓名><br>您的主页的网址: <input type=text name=网址 value=http://><br>密码: <input type=password name=密码><br><input type=submit value="发送"><input type=reset value="重设"></form>您的姓名:
* O7 P1 ~0 N( c6 f$ n: h您的主页的网址:
/ v6 X( x. W$ G* b" K- y" `8 F4 y密码:
, u2 a7 [. [/ J8 z, v
0 d' G  I$ U# d1 f
0 ^. t" r, N$ s7 F$ A2 a<input type=* size=**>
- ^( K: S7 K; D( }& v; D) v2 P<input type=* maxlength=**><form action=/cgi-bin/post-query method=POST><input type=text name=a01 size=40><br><input type=text name=a02 maxlength=5><br><input type=submit><input type=reset></form>
; o, O+ J7 U2 Q4 C/ L$ j3 G
! i, {" i+ p9 C: L' V& u% l) K  i7 r3 `! {+ }

+ `. }1 v: |: N& U# thttp://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton) * T! m7 ?2 m8 V. g
<input type=checkbox>
9 t3 l. m, R8 j6 x( Q<input type=checkbox checked>
( l( V, _- c1 {" O<input type=checkbox value=**><form action=/cgi-bin/post-query method=POST><input type=checkbox name=水果1>        Banana<p><input type=checkbox name=水果2 checked>        Apple<p><input type=checkbox name=水果3 value=橘子>        Orange<p><input type=submit><input type=reset></form>Banana1 B$ `. L$ V2 @2 F8 Y* D% N! B& u
Apple1 k. I: V5 o7 B# O
Orange; z4 x1 t) Y! n; H' O5 I
. O3 K* `4 ~# J$ w" `

" \/ b7 q: s# \- f6 o* }$ b( m) e<input type=radio value=**>
; E' D; Q$ Q0 h/ a6 _# F/ t; m9 w<input type=radio value=** checked><form action=/cgi-bin/post-query method=POST><input type=radio name=水果>        Banana<p><input type=radio name=水果 checked>        Apple<p><input type=radio name=水果 value=橘子>        Orange<p><input type=submit><input type=reset></form>Banana! j! ]0 k8 v$ s2 Q; t3 E, x0 v0 b
Apple
) W4 |2 ?' a( eOrange
# y9 h3 n5 s8 f9 y5 u- l( u5 g2 {6 M
; i" O; x( v! a& u* T* R
http://www.gzsums.edu.cn/webclass/html/br20t.gif 图象坐标 在下面选则一个系数后,在图象上点一下,就知道什么是图象坐标了! <input type=image src=url><form action=/cgi-bin/post-query method=POST><input type=image name=face src=f.gif><p><input type=radio name=zoom value=2 checked>x2<input type=radio name=zoom value=4>x4<input type=radio name=zoom value=6>x6<p><input type=reset></form>6 u" ?& }! V" o
x2 x4 x6
' `8 m# B# F& N, }+ u# s) J0 S
2 W; {: ~2 b; O- R& O
7 o3 x: n4 X  ]$ x5 o7 A' q' k0 Q/ chttp://www.gzsums.edu.cn/webclass/html/br20t.gif 隐藏表单的元素 <input type=hidden value=*><form action=/cgi-bin/post-query method=POST><input type=hidden name=add value=hoge@hoge.jp>Here is a hidden element. <p><input type=submit><input type=reset></form>Here is a hidden element.
6 d. Q1 [+ g# b/ w; H1 U1 i' a& Z. H/ Z( G7 E+ y3 _

: c) E7 e& Q5 [5 L0 Shttp://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu)
: s& G# |' i& [9 }. J基本语法<select name=*>0 b* C7 C  n9 W  T' r
<option> ...
5 d% ~4 H0 V. D  Z3 E- T</select> + ?7 ^  }8 Q' I1 z) `2 ~# n2 c
<option selected>! Z/ B, g4 B: ^
<option value=**><form action=/cgi-bin/post-query method=POST><select name=fruits>        <option>Banana        <option selected>Apple        <option value=My_Favorite>Orange</select><p><input type=submit><input type=reset></form>
6 V- C8 k0 L3 L& q7 U  U. e4 ^% ]0 a3 L, r8 }

/ d9 i# V( ?. Z9 ~3 q<select size=**><form action=/cgi-bin/post-query method=POST><select name=fruits size=3>        <option>Banana        <option selected>Apple        <option value=My_Favorite>Orange        <option>Peach</select><p><input type=submit><input type=reset></form>
- \" Q+ v# S9 [
* T2 {) p5 l9 Z5 Z# Y& L; S; U7 `0 K4 t. X
<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。
" `) ~3 J% {$ w& r! Z+ v(和 MS-WINDOWS 的 File Manager 一样)
0 o2 D: D3 p# X% I' Q9 Y
<form action=/cgi-bin/post-query method=POST><select name=fruits size=3 multiple>        <option selected>Banana        <option selected>Apple        <option value=My_Favorite>Orange        <option selected>Peach</select><p><input type=submit><input type=reset></form>& l( O7 h8 T$ x; U
! e2 ]3 ^) R& w7 l: G1 e, q, @- o5 C( _
/ Y6 m# [1 ^$ I. u5 _
http://www.gzsums.edu.cn/webclass/html/br20t.gif 文本区域<textarea name=* rows=** cols=**> ... <textarea><form action=/cgi-bin/post-query method=POST><textarea name=comment rows=5 cols=60></textarea><P><input type=submit><input type=reset></form>1 ^+ q* J7 ~! ?# o

2 e3 C5 M/ U" n8 s* _. p: P7 d0 t- ^6 A
对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。
6 f) f3 I- G  m8 L, p0 m$ z$ v<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。
9 F1 D' R. A+ }: l<form action=/cgi-bin/post-query method=POST>: P* e: M: W+ N
<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>
. B) U' J5 Z4 ?- U<input type=submit><input type=reset>
' T9 N% ^7 |2 U- n3 c0 V3 `</form>
+ E* G5 I% ~6 @$ k+ R  g
$ D9 N! W* w  r9 p* \! O  f4 J1 ]/ G1 W7 _6 c5 n+ F
- n4 N0 {+ q5 n; r+ J/ \
<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。 5 C6 J9 q9 n/ u
<form action=/cgi-bin/post-query method=POST>3 }* `, q# E) P3 N9 o
<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>
% A7 B" `2 a% y$ M. C<input type=submit><input type=reset>
8 k" {4 y$ y0 ]. O$ \" _/ b1 _</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


Licensed Copyright © 2016-2020 http://www.3dportal.cn/ All Rights Reserved 京 ICP备13008828号

小黑屋|手机版|Archiver|三维网 ( 京ICP备2023026364号-1 )

快速回复 返回顶部 返回列表