QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

全站
10天前
查看: 1377|回复: 0
收起左侧

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

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

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

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

x
关于模板的自动标列表程序9 K( S) J2 [, o9 _" F
我兴趣的和我交流: QQ879555882
8 f6 z( I# |+ z0 k表单的基本语法<form action="url" method=*>
9 l- h  m7 q. R! r% T( d...
1 T# O! [5 p5 p9 K' y+ N  O, \: ~...
) |( f  a% X1 Y5 |# ^3 L8 `<input type=submit> <input type=reset>
# ?+ o3 M! j# O- b% E& u</form>
*=GET, POST
; [! M& P" g( j7 G
2 Q9 q3 _7 J" N6 g0 u' l表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset- Y  q" P7 _6 l! p: w' H  Z9 Z  K) O* V0 ~
**=Symbolic Name for CGI script 5 B5 a0 k' R, @* t' Q* T* U
! l& r2 A. [4 E! \
http://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password
# Q( k, V0 w0 n  u<input type=*>/ A. s5 r% w$ o, |! ~7 t; k( q
<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) y" Y2 R, D, z
您的主页的网址: # c# u: _8 |2 x7 G2 A
密码: 9 _1 b6 z# k0 g% W# r  x

; S* d' e* e+ h/ G! f4 P. T5 S9 l" u0 u) v
<input type=* size=**>8 }/ z8 h$ e8 P0 q' ^& M+ Q
<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>' ^! a' m# x0 z8 \- U; O
$ ^* ~9 Q7 t; }5 Y1 J" @

5 S( T3 a& G3 S- R) P+ {( p* g% n* [* w4 }# r9 D8 r6 H
http://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton) 2 C% D2 \" e0 y) u
<input type=checkbox>5 j/ w% c8 q2 U
<input type=checkbox checked>
: D7 y- c3 W' m<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
( W& Q  ^& C6 r. j( g7 ^8 `5 ?Apple) T* A7 L& L5 c0 Q/ k; G( t& f6 B
Orange  h  A* I% z. Q/ [" `3 h

+ |, I; j  k3 z. U$ Q5 \1 B" F
% h7 O( s/ G/ n' e- G8 F& e<input type=radio value=**>0 \& p5 K) F( x) O, M
<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  u9 B6 N0 [' {. z8 T0 e6 h
Apple  O8 P* {8 |' i5 Y+ R# ^
Orange
" G; h7 b& u0 Y. X7 ~$ ^5 `( Y1 n4 l
/ d2 M/ m4 K' R2 j
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>
" n" N# D' O. c' X: ?& px2 x4 x6/ _0 o. L) C: @5 }, ?& o
+ v" x* D; G6 v' L& L! X
8 L. m3 i# A' F- A; k
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.
% `" p' B0 Z1 r# p  p6 f
% q5 k; }# v, W
$ r2 D9 S3 S- X" A- Z1 F+ W0 Fhttp://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu)
) C5 V* m/ r$ K/ o8 P) ~基本语法<select name=*>
6 Q- U7 H! o% ]2 ~1 X4 @. ~<option> ...
, X2 y; S2 \# l/ |) I</select> , e0 `. f: v' ~8 o( S
<option selected>
& a0 |" s5 ]2 W$ w4 X<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>
% O7 j5 V( A; t4 m; d3 `. h0 D) u8 {6 Y/ K4 }; M7 m6 _- o9 a$ B

, j9 h. _1 x+ n0 b( x3 w0 ^<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>$ [, p, f5 B4 q  Q+ c
) H( S$ Q7 V7 W0 b8 C8 E

% n2 C1 e9 |6 M<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。, j% C) c+ o0 C$ \2 ^5 f, h
(和 MS-WINDOWS 的 File Manager 一样)

+ Q0 C- k6 z+ _9 W<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>
4 K7 F% h% u' K$ j5 d' s0 p) r& t$ y- g

2 u0 n5 i0 p* Y! u6 ^( Thttp://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>) X( ?; i* ]6 c
! J9 V$ ?; j7 k" \* X& \" v
! `' t! A5 _3 l+ V/ i$ A
对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。
9 u; J9 F" c! f/ Q1 t<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。 7 g) \( Z' a$ `% ^$ A
<form action=/cgi-bin/post-query method=POST>  O4 O5 x( T! r: t& T7 h
<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>
2 A+ Y" ]" @! W5 O+ Q<input type=submit><input type=reset>
; v6 J* {: \; o$ L$ ?</form>6 X/ E. A) C$ p8 T
5 O/ z* p# @- M8 ?: ]! c
  n$ R- w4 s! y9 g1 K0 W0 [
" H# Y4 S$ e- w3 e7 @+ j+ t, U
<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。 , j6 }( B+ f3 a/ G
<form action=/cgi-bin/post-query method=POST>
( J) h7 o. d" i3 q6 K<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>
3 O- o: r5 ^5 M5 t/ z. F5 }7 v8 @<input type=submit><input type=reset>
- q' K% x$ ^6 k$ ~/ y! M% V1 [</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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