QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

全站
11天前
查看: 1379|回复: 0
收起左侧

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

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

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

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

x
关于模板的自动标列表程序4 L! z# Y4 ^2 x
我兴趣的和我交流: QQ8795558824 D# \& W5 \" \0 ^, {
表单的基本语法<form action="url" method=*>
0 r. w* d9 }4 G! i4 M# P& K... " W# M+ b2 x5 k6 B% e) q
...
1 a" }$ q/ @$ D<input type=submit> <input type=reset>
+ V% O7 H6 [( u! y8 S1 R</form>
*=GET, POST
0 g& y" [/ ~$ H* w$ G" Q) `' x- D+ ]+ C( Y
表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset/ N3 `" \+ q9 S& E* x/ s
**=Symbolic Name for CGI script
" H' R: B3 ^* W7 Q8 R2 S$ b  I% A( H3 A9 i$ N/ [6 z
http://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password 6 T1 O; T6 N. x0 q
<input type=*>! d4 p0 e4 n! J
<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>您的姓名: 0 }0 v7 ]* l, m8 C. [' W# y& R
您的主页的网址:
( U/ X" E6 ]  k1 M" K' `密码:
" I/ z+ N4 `& F9 N+ {) `* C) C5 e7 q# e% f- r! q
& t: y( A" ^5 E8 U3 A. O
<input type=* size=**>2 B7 f8 O  ?4 C+ N+ z) Z1 \
<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>
6 o# d; Y' B/ R# r! Y* Q, A- _: L: P0 c+ N& y3 \9 R! q
5 W  }3 N: B4 O  J1 [- y& |+ d

. x0 U8 Y' H( S% O' H: chttp://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton) / {* p8 O: B' M9 ?# g
<input type=checkbox>% v$ b2 x, W3 [
<input type=checkbox checked>1 M4 d7 h# B* z, l8 v- X: B
<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>Banana0 r% m9 b9 F! v; H, G( R
Apple
" R8 K+ z/ h! F6 W. X) nOrange9 x9 W0 [# c$ P5 y) h9 S

/ ~- W% x9 z3 H, m: `' |0 X' g7 A
& o4 Z  h* K6 ?; M! f( B0 S! O<input type=radio value=**>. |7 n3 _( \0 C. ?; B
<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
6 `5 z3 F# z# XApple- z: P- h+ Q# [  b% N7 K
Orange, s' J; K0 R2 X1 ^

4 C% V5 ~' X- g4 x" {  n
/ k) z9 Z& h  L; q; u. X+ nhttp://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>
3 A% W- S% O- @x2 x4 x6$ Z4 l7 i& a" ]6 |* B
0 N& N3 ~5 T, e. f
; Q: N! S1 r, c
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.
  F+ \/ i6 F. H# ?$ P6 O4 u
5 }5 o$ `( V, @& O4 _$ Q" g( E* `
http://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu)
4 r4 X! G& _, x# j1 w- D; ?1 ~基本语法<select name=*>6 @' E+ `- x; o* U) a
<option> ...
# K/ h$ \& c! W9 I7 O* @</select> " W2 U& K2 R4 k0 ~1 t6 {
<option selected>
. Q% P  q8 H$ S2 d+ N% N& e<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># ]$ }3 }* O# h! P* q* F
1 u+ _8 D1 z  K$ W

7 U- {- C% G' n$ Z8 Z" N, D/ w<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>6 g) ~  X7 r4 u

8 e  h" l8 @: `: C/ l6 G' g
7 ?' {7 T  S! I; W<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。
' B/ Z$ `( w: m, x(和 MS-WINDOWS 的 File Manager 一样)

3 w  R8 U3 l2 q- k4 l. X1 S<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>
; r6 t; B! a: I! k2 e5 x) h" O8 _) S" \8 _9 t
% a/ p5 e% ^* W. 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>$ T; G1 {/ E; v) u' v
) t8 L% T( n6 R  k1 F
, L& b) R" x8 M  F
对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。 ( C6 v7 C5 a7 q& z/ ?6 z$ _
<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。
0 D9 L0 j* H/ _4 M<form action=/cgi-bin/post-query method=POST>& ^% \  \! G5 O7 R$ C6 p
<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>. E; F7 V* v* `7 t
<input type=submit><input type=reset>  a/ Q: _4 [, u8 `8 V
</form>% ?* h: _0 U( k, B) Z! }
  C' @' ~, d- _4 Y8 l3 W: \

, r7 |/ k: H: l6 c6 c  ^/ s  r' C- B1 h) n$ R$ C1 B
<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。
$ G) X3 S1 o: F7 t<form action=/cgi-bin/post-query method=POST>
) p  P! Y. M. B<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>  l; M) k" ?" ~: T- i! |
<input type=submit><input type=reset>
) X' s# l0 b3 V) p0 w$ D& c" Z</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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