QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
关于模板的自动标列表程序
0 t3 S) Y3 G8 w/ B$ _, q我兴趣的和我交流: QQ8795558828 p+ V- B7 v  o& c6 {
表单的基本语法<form action="url" method=*>
6 D0 g$ s' q5 K. d...
+ N+ s, J2 G* I! \8 w4 Y1 {8 D... + N, G5 p) `2 [3 Y
<input type=submit> <input type=reset>  P9 i) {& m1 x1 f6 s$ V5 B
</form>
*=GET, POST
0 V" C% m) x7 \2 r' y% A) L& p
/ V4 L" K" g5 z- ]0 _9 t表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset
; q  n( L5 k3 [1 y5 f" ?0 u7 q6 Z**=Symbolic Name for CGI script % m1 k* e$ ^5 `% |: H2 }

8 I! K4 u" Y, d1 Z5 o/ E% shttp://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password 1 h$ J/ Z% E: @( C* t; j5 p
<input type=*>  H2 u' c- k" c3 v4 b9 m  b
<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>您的姓名: & F" g$ p6 Z, z7 z7 b8 K  g
您的主页的网址: * r5 t( B# q: g0 H
密码:
+ N6 M+ ]* U* l5 L
7 r0 ]+ U% H, ^. e9 s8 `. S3 F2 r5 e2 f
<input type=* size=**>
( L8 s6 l6 w2 a4 L  o<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>
7 B: Y* j5 v. l/ H. f+ {% v
& R: _; K. C0 p! _! }. G
  s# l! }: Y7 X. y
- c- A! i/ b! k$ K& F, uhttp://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton)
3 h1 b: N3 w. _<input type=checkbox>! `  a2 P- {/ b7 h0 c
<input type=checkbox checked>
3 n$ t( Z( e8 r, @<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
0 P, ?5 Q9 b2 O; X4 ]5 j1 UApple
3 X+ m( J5 k( LOrange( h+ c% f* X3 t; @# |

, z! A2 E# I+ Q# o+ g( ^+ o& b8 [  j5 T5 F4 a( E* c$ \! S+ l2 a
<input type=radio value=**>1 k8 T1 g' F) u& X0 O
<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>Banana2 s9 \/ J2 Q. W
Apple
; X! ]4 d) ~  v' bOrange( N; |1 ~1 q) l' N# S( v  q

) K% N" O8 S8 Z+ u$ g0 X" w  N1 Q. p2 f3 e3 I( }& {7 V7 y
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>% I  T& n5 s9 a6 l& o5 |
x2 x4 x6
" N+ h1 q5 d$ t3 f% U/ A) T9 U& B  h# L& \% e* G( l# ^" D

" ~/ ]( d$ @0 S- ^% Mhttp://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. : H5 ~3 \$ X$ j
* Q- L9 T) a4 y. q' q5 T

, K3 m2 S1 z9 i5 `http://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu) ( |- G' r: ?; Y, n3 |9 j
基本语法<select name=*>
- [% c! v# o8 x, [+ w) x& u<option> ...- n4 D, g3 O: s4 @
</select>
6 t( p6 f" }# W+ x) Y- @<option selected>
4 T4 t$ b8 Q: X9 d) R9 y' K<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>1 H8 q% _* B3 L8 F1 `* h/ w( c

! G5 H* n* X* A' M/ j' a. v. ~& E+ h7 q, H3 u9 N
<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>
9 D) \/ ~- @! g) p& }: m+ ^% h; {& `* {0 m+ D" H

$ T$ e2 V2 p% S9 I$ z' `<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。
$ F, n' g+ W) k  m(和 MS-WINDOWS 的 File Manager 一样)

( v2 g+ W' y$ l) 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>
( |8 F; d3 X/ G$ [8 o
- v. x+ H1 @5 C
, L" Q- @$ D: o' Z2 nhttp://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>0 R8 G8 _1 n/ e# R  a  o- H" `
1 O7 x& j3 X& t( Y6 N

& I# V6 [) ^# c' \9 x5 e对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。 & T2 u) L' x6 ^7 O3 o- x
<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。 7 V! ]; F: X/ }, R4 f/ B
<form action=/cgi-bin/post-query method=POST>
8 x/ Q0 C' h3 ]4 r% i2 [) {7 l) r4 e<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>
6 [% ^* d) }/ }6 a<input type=submit><input type=reset>
3 c$ O/ ^8 [9 i( q7 a) I0 n</form>' q, o( f# |" a/ N. }
, u* n! v9 d9 @( w8 B) x9 b
: ^% P% d8 O6 ^2 I
: p6 F" o/ U" j5 S5 j
<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。
7 [. E5 ]* X0 w" B<form action=/cgi-bin/post-query method=POST>
2 [% b: {. o) p, q# @( X) I4 U! d4 L! S<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>5 e7 \6 D, W# N0 v
<input type=submit><input type=reset>
# E7 d$ ]4 t+ ]; w7 U! q% `9 p</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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