QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
关于模板的自动标列表程序3 {. |* E" N: R) K1 ?
我兴趣的和我交流: QQ8795558827 T3 D7 H5 D1 W7 ~4 E& k+ ]
表单的基本语法<form action="url" method=*>
: M( X5 A% D) B# u2 m5 u, Q...
6 b! {6 w  q' M) m... + z! a+ j# [' ~4 M1 b/ Q
<input type=submit> <input type=reset>
, h$ P$ h. I, d: f( Z- G3 r  r</form>
*=GET, POST - Y6 S# d$ D$ w
. z8 |' b9 z# o+ E7 ~
表单中提供给用户的输入形式<input type=* name=**>*=text, password, checkbox, radio, image, hidden, submit, reset
% t) z, p6 H0 d8 }0 c8 F! _& k% O**=Symbolic Name for CGI script : A6 {" n7 F4 @6 r. @- v
+ z$ ^& o1 U+ z5 E
http://www.gzsums.edu.cn/webclass/html/br20t.gif 文字输入和密码输入*=text, password " o" P. q' ?# N
<input type=*>( d" r; x5 w$ }. Y1 S
<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>您的姓名:
$ a& C1 e; d$ }$ c& u您的主页的网址:
; q. b% Z: B: J6 v密码:
0 N! T' M) G; S0 C, w' }/ }
+ t  T" o- n% y) M
$ n0 Y/ i. d; b! L7 J<input type=* size=**>
3 M. U6 @8 j; ]: E/ J7 W+ h<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>
& d  _0 f2 P, h0 f8 ~
* Y% b/ p$ y/ E1 J! |; w
/ p8 a: o! a: g- V% g
1 U9 {& y7 O# X# o" Whttp://www.gzsums.edu.cn/webclass/html/br20t.gif 复选框(Checkbox) 和 单选框(RadioButton) 6 _+ ]3 T, I  F# ^; P
<input type=checkbox>
9 k! y5 Z' F; G" e/ ^<input type=checkbox checked>1 R' c/ [" ]# F* J
<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
5 g4 w1 V0 |+ J( \4 C* j! SApple
/ a8 J& U( h# y% S1 n% @Orange. G# M. q1 ^8 s3 Z
0 v) }! A( M4 }3 q

9 A- J6 ?% o( y0 Y1 \. c3 I: M<input type=radio value=**>& S) M: f6 \1 ]
<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) v* S/ h% @: f& e2 @
Apple
1 U) L3 f3 |3 BOrange/ @% ?1 Y4 m0 a9 g$ w' w7 y# K
1 L/ `; U; b# x, B2 `

0 E$ J) e! `8 L" zhttp://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>- @8 U' v; l' r7 p2 e
x2 x4 x6
& n3 a' N7 F- k0 E. X( `6 O* Z9 O5 v0 u

6 b) t" x8 \7 m; y" O/ `8 @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.
4 R; U- @% ~6 z3 U  O$ u, E% q5 n6 N# l2 Y+ X# S

' W! y+ h4 h& o; j' P2 yhttp://www.gzsums.edu.cn/webclass/html/br20t.gif 列表框(Selectable Menu)
% x/ L$ {' y( _) x基本语法<select name=*>, c& {+ D7 }# m, H: R+ v
<option> ...
* Y" l: @7 f  l9 d</select> 0 Y: D1 G) I9 e: U5 W: D
<option selected>1 \/ k0 U- F& o
<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>
" P1 ?; _8 I+ X2 ~, R# f; g  R+ m& I4 u! O

, \: e6 w" h2 R<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># P5 a- s: B2 j+ L- E
# a! C" {- |- A! [
5 k. t6 T9 D- D2 G' N9 F
<select size=** multiple>注意,是用 Ctrl 键配合鼠标实现多选。: ?# l6 D2 x% b6 t
(和 MS-WINDOWS 的 File Manager 一样)

8 ^2 s: z! V' O- P% f<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$ u/ I: W( t

! r8 @  k3 ?5 X* H# D! _
* [. O5 K6 R8 I) H' phttp://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>
5 s) H" M+ {' K( ^; D" n! {
, A9 |$ h3 r8 ?& ]% C
7 z6 l, J- A7 {+ @) @! c1 w- c; K对于很长的行是否进行换行的设置(Word Wrapping) http://www.gzsums.edu.cn/webclass/html/netscape.gif<textarea wrap=off> ... </textarea>不换行,是缺省设置。 8 n' t& A& w: j4 J( j4 `
<textarea wrap=soft> ... </textarea>“软换行”,好象 MS-WORD 里的“软回车”。 - L. |/ F4 q  E
<form action=/cgi-bin/post-query method=POST>
: A, |5 m: p0 _7 H5 R( z" c" N; D<textarea wrap=soft name=comment rows=5 cols=25> </textarea><P>
2 l& `6 \0 x1 X/ B& a- m5 w9 C& Q<input type=submit><input type=reset>9 X) c2 d+ R4 \' U4 {# h# v( w/ ~0 l5 \
</form>
5 V! R  ?8 C2 g& X" Y' w& Y
3 P2 `! L  F. m8 R
* g+ [8 l; {2 G5 k. I( b/ W  Y+ R4 ?5 P) m5 J
<textarea wrap=hard> ... </textarea>“硬换行”,好象 MS-WORD 里的“硬回车”。 1 P. a" d2 x0 F9 q4 @" P' j# Z
<form action=/cgi-bin/post-query method=POST>9 s: A3 k6 t  J  G. J. M1 m
<textarea wrap=hard name=comment rows=5 cols=25> </textarea><P>" f' M6 \; c* S% q
<input type=submit><input type=reset>
; Q3 k1 v+ W9 o& x' O: @# [& ~4 j( S</form>
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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