QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
关于模板的自动标列表程序* D$ T  Q+ o: r  @! d8 t
我兴趣的和我交流: QQ879555882
. O) f4 M. {6 S1 u6 L3 W表单的基本语法<form action="url" method=*>
( o. y) q- L2 I...
( X- [" s9 u  U! D... 9 C2 e  V6 T; d+ H
<input type=submit> <input type=reset>
6 w7 B) u5 {* G. |</form>
*=GET, POST 5 b" m: {; e% J
6 e" T" f* K7 j* h* b" x+ a% ^! ^$ l
表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset
9 V' x4 {3 |3 l) N**=Symbolic Name for CGI script   E  _! W( ?% }- w' W

. w) ]1 v4 P" o0 ehttp://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password / m# `) i7 k- z$ l: e; ]9 W5 ~
<input type=*>
, e& s; j. L5 k) H- o<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>您的姓名: - M$ I8 w% j8 R* f
您的主页的网址:
) d( u$ d, E- Y3 j' L: G密码: % m! W' d7 {% m( j$ E- m2 U1 V
! }4 A1 ?) I& u) ^' w/ l

" ]0 w( c, X  x% J# ]- ]8 W<input type=* size=**>
. e7 u7 }) @" a: g- y<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>
% B5 h/ O. t8 Z: A8 Y* j* h
: `- W: W5 S% |" m( j6 I$ @$ S0 F5 C7 g) a) J, L
: i7 u& h' D2 L
http://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton) 2 p/ K; y" ^: ]- ]" G, l
<input type=checkbox>
2 b; D5 I7 V) m" Z<input type=checkbox checked>
. D2 O# f( p8 @3 U<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>Banana
+ F& {7 f7 ^. Z( ~0 yApple/ M" N# e0 ?5 P: j8 H* U
Orange
, |9 G. B5 y( X, ]- p% H5 ?& k/ _$ i0 w) k0 l2 b
! e( Y; p3 D0 o# E5 X- D
<input type=radio value=**>
% |& ]  k( ]& ^& l. P; A! M: J$ e<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
" N  Q+ M6 Y, G, B* \& MApple
8 Z; v2 h) X" _Orange
) l  o8 h% ~# J; J3 G
$ ]. H& j8 d0 m
/ F* M1 d* R7 X" f0 qhttp://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>
7 E. r' u4 ]9 k% O- k+ fx2 x4 x6. |5 N5 o7 N  H$ E# u; d- r

: d2 I2 G& z% b# d; [9 R! Y8 J( O. V. Y* O
http://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. 9 ^* D& o, L0 A; D# J0 X5 n
! j" v2 d6 c: O5 x1 I
1 J1 M/ S- ]# ^; K1 d1 L5 e  X; u
http://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu)   e$ o6 |: a9 M1 X$ r* C+ q
基本语法<select name=*>0 c1 H% g5 z* W, F* `# R
<option> ...; q+ n1 T9 X- K& T1 R3 Y3 ~( z
</select> * v  C% Y, P9 j) t6 B2 ~
<option selected>
8 i' x9 b9 I# a6 K; l3 _<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>
- t: Z; O( d, v! J# h- Q
% w9 d# U* P- r4 h) \3 E  E
* Q$ f- [0 a3 G6 }' j& t<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>
, N6 L; |% y9 O: l2 o
" l' c% P! t1 m' t- a9 a$ I5 W$ ^8 o2 V; i) q+ C
<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。
9 ]# a( p: m: G' h# f(和 MS-WINDOWS 的 File Manager 一样)
8 ?5 h5 j* h' f: E0 D
<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>
$ i$ j6 ]: g, M9 m- S! ]# ~. D6 N0 ]5 w4 x) e5 e
9 L; k4 l1 N) B3 x& K  B+ X3 p
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>! @  S/ U! ]6 G4 U  d$ g1 A

, v8 Z! [& {  C. N9 E4 I
* E) X, V4 e& {' T3 e! ^: v对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。 . H8 n1 T  i! F
<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。 # r& @, ^2 |3 B' [% A# f# F
<form action=/cgi-bin/post-query method=POST>
" i+ ^, P6 v1 a& k: f<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>
8 {" x& v! K, f6 @<input type=submit><input type=reset>% Z0 _* m$ k! C- V
</form>
( V8 l1 Q, b( |0 v# Z0 K! w1 V# F
5 {6 g/ l! S9 `3 f; y$ K( r1 e& L

5 t$ B- L) p' I' I5 W; C5 ^$ T<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。
, s/ z% ~& b4 i% S7 j6 {2 s<form action=/cgi-bin/post-query method=POST>6 {) D4 g) y, i! V9 p; X
<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>
( {2 f- T2 b6 R3 Z<input type=submit><input type=reset>1 T! T1 h5 L' |! i5 E6 e
</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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