锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产成人综合,亚洲欧洲免费无码,99亚偷拍自图区亚洲http://www.tkk7.com/zdq5337/category/40184.html絀哄北鏃犱漢錛屾按嫻佽姳寮銆?/description>zh-cnFri, 16 Mar 2012 20:21:00 GMTFri, 16 Mar 2012 20:21:00 GMT60Javascript涓渶甯哥敤鐨?9涓粡鍏告妧宸?http://www.tkk7.com/zdq5337/articles/284727.html寮鑺辨祦姘?/dc:creator>寮鑺辨祦姘?/author>Tue, 30 Jun 2009 02:23:00 GMThttp://www.tkk7.com/zdq5337/articles/284727.htmlhttp://www.tkk7.com/zdq5337/comments/284727.htmlhttp://www.tkk7.com/zdq5337/articles/284727.html#Feedback0http://www.tkk7.com/zdq5337/comments/commentRss/284727.htmlhttp://www.tkk7.com/zdq5337/services/trackbacks/284727.html <table border oncontextmenu=return(false)><td>no</table> 鍙敤浜嶵able

2. <body onselectstart="return false"> 鍙栨秷閫夊彇銆侀槻姝㈠鍒?br />
3. onpaste="return false" 涓嶅噯綺樿創

4. oncopy="return false;" oncut="return false;" 闃叉澶嶅埗

5. <link rel="Shortcut Icon" href="favicon.ico"> IE鍦板潃鏍忓墠鎹㈡垚鑷繁鐨勫浘鏍?br />
6. <link rel="Bookmark" href="favicon.ico"> 鍙互鍦ㄦ敹钘忓す涓樉紺哄嚭浣犵殑鍥炬爣


7. <input style="ime-mode:disabled"> 鍏抽棴杈撳叆娉?br />

8. 姘歌繙閮戒細甯︾潃妗嗘灦
<script language="JavaScript"><!--
if (window == top)top.location.href = "frames.htm"; //frames.htm涓烘鏋剁綉欏?br /> // --></script>


9. 闃叉琚漢frame
<SCRIPT LANGUAGE=JAVASCRIPT><!--
if (top.location != self.location)top.location=self.location;
// --></SCRIPT>


10. 緗戦〉灝嗕笉鑳借鍙﹀瓨涓?br /> <noscript><*** src="/*.html>";</***></noscript>


11. <input type=button value="/鏌ョ湅緗戦〉婧愪唬鐮?
onclick="window.location = "view-source:"+ "http://www.pconline.com.cn"">
12.鍒犻櫎鏃剁‘璁?br /> <a href=""javascript _fcksavedurl="""javascript" _fcksavedurl="""javascript" :if(confirm("紜疄瑕佸垹闄ゅ悧?"))location="boos.asp?&areyou=鍒犻櫎&page=1"">鍒犻櫎</a>


13. 鍙栧緱鎺т歡鐨勭粷瀵逛綅緗?br /> //Javascript
<script language="Javascript">
function getIE(e){
var t=e.offsetTop;
var l=e.offsetLeft;
while(e=e.offsetParent){
t+=e.offsetTop;
l+=e.offsetLeft;
}
alert("top="+t+"/nleft="+l);
}
</script>
//VBScript
<script language="VBScript"><!--
function getIE()
dim t,l,a,b
set a=document.all.img1
t=document.all.img1.offsetTop
l=document.all.img1.offsetLeft
while a.tagName<>"BODY"
set a = a.offsetParent
t=t+a.offsetTop
l=l+a.offsetLeft
wend
msgbox "top="&t&chr(13)&"left="&l,64,"寰楀埌鎺т歡鐨勪綅緗?
end function
--></script>


14. 鍏夋爣鏄仠鍦ㄦ枃鏈鏂囧瓧鐨勬渶鍚?br /> <script language="javascript">
function cc()
{
var e = event.srcElement;
var r =e.createTextRange();
r.moveStart("character",e.value.length);
r.collapse(true);
r.select();
}
</script>
<input type=text name=text1 value="123" onfocus="cc()">


15. 鍒ゆ柇涓婁竴欏電殑鏉ユ簮
javascript :
document.referrer


16. 鏈灝忓寲銆佹渶澶у寲銆佸叧闂獥鍙?br /> <object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Minimize"></object>
<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Maximize"></object>
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" value="/Close"></OBJECT>
<input type=button value="/鏈灝忓寲 onclick=hh1.Click()>
<input type=button value="/blog/鏈澶у寲 onclick=hh2.Click()>
<input type=button value=鍏抽棴 onclick=hh3.Click()>
鏈緥閫傜敤浜嶪E


17.灞忚斀鍔熻兘閿甋hift,Alt,Ctrl
<script>
function look(){
if(event.shiftKey)
alert("紱佹鎸塖hift閿?"); //鍙互鎹㈡垚ALT銆CTRL
}
document.onkeydown=look;
</script>


18. 緗戦〉涓嶄細琚紦瀛?br /> <META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
鎴栬?lt;META HTTP-EQUIV="expires" CONTENT="0">


19.鎬庢牱璁╄〃鍗曟病鏈夊嚬鍑告劅錛?br /> <input type=text"border:1 solid #000000">
鎴?br /> <input type=text style="border-left:none; border-right:none; border-top:none; border-bottom:
1 solid #000000"></textarea>


20.<div><span>&<layer>鐨勫尯鍒紵
<div>(division)鐢ㄦ潵瀹氫箟澶ф鐨勯〉闈㈠厓绱狅紝浼氫駭鐢熻漿琛?
<span>鐢ㄦ潵瀹氫箟鍚屼竴琛屽唴鐨勫厓绱狅紝璺?lt;div>鐨勫敮涓鍖哄埆鏄笉浜х敓杞
<layer>鏄痭s鐨勬爣璁幫紝ie涓嶆敮鎸侊紝鐩稿綋浜?lt;div>


21.璁╁脊鍑虹獥鍙f繪槸鍦ㄦ渶涓婇潰:
<body onblur="this.focus();">


22.涓嶈婊氬姩鏉?
璁╃珫鏉℃病鏈?
<body style="overflow:scroll;overflow-y:hidden">
</body>
璁╂í鏉℃病鏈?
<body style="overflow:scroll;overflow-x:hidden">
</body>
涓や釜閮藉幓鎺夛紵鏇寸畝鍗曚簡
<body scroll="no">
</body>


23.鎬庢牱鍘繪帀鍥劇墖閾炬帴鐐瑰嚮鍚庯紝鍥劇墖鍛ㄥ洿鐨勮櫄綰匡紵
<a href="#" onFocus="this.blur()"><img src="/logo.jpg" border=0></a>


24.鐢靛瓙閭歡澶勭悊鎻愪氦琛ㄥ崟
<form name="form1" method="post" action=mailto:****@***.com
enctype="text/plain">
<input type=submit>
</form>


25.鍦ㄦ墦寮鐨勫瓙紿楀彛鍒鋒柊鐖剁獥鍙g殑浠g爜閲屽浣曞啓錛?br /> window.opener.location.reload()


26.濡備綍璁懼畾鎵撳紑欏甸潰鐨勫ぇ灝?br /> <body onload="top.resizeTo(300,200);">
鎵撳紑欏甸潰鐨勪綅緗?lt;body onload="top.moveBy(300,200);">


27.鍦ㄩ〉闈腑濡備綍鍔犲叆涓嶆槸婊¢摵鐨勮儗鏅浘鐗?鎷夊姩欏甸潰鏃惰儗鏅浘涓嶅姩
<STYLE>
body
{background-image:url(/logo.gif); background-repeat:no-repeat;
background-position:center;background-attachment: fixed}
</STYLE>


28. 媯鏌ヤ竴孌靛瓧絎︿覆鏄惁鍏ㄧ敱鏁板瓧緇勬垚
<script language="Javascript"><!--
function checkNum(str){return str.match(//D/)==null}
alert(checkNum("1232142141"))
alert(checkNum("123214214a1"))
// --></script>


29. 鑾峰緱涓涓獥鍙g殑澶у皬
document.body.clientWidth; document.body.clientHeight


30. 鎬庝箞鍒ゆ柇鏄惁鏄瓧絎?br /> if (/[^/x00-/xff]/g.test(s)) alert("鍚湁姹夊瓧");
else alert("鍏ㄦ槸瀛楃");


31.TEXTAREA鑷傚簲鏂囧瓧琛屾暟鐨勫灝?br /> <textarea rows=1 name=s1 cols=27 onpropertychange
="this.style.posHeight=this.scrollHeight">
</textarea>


32. 鏃ユ湡鍑忓幓澶╂暟絳変簬絎簩涓棩鏈?br /> <script language=Javascript>
function cc(dd,dadd)
{
//鍙互鍔犱笂閿欒澶勭悊
var a = new Date(dd)
a = a.valueOf()
a = a - dadd * 24 * 60 * 60 * 1000
a = new Date(a)
alert(a.getFullYear() + "騫? + (a.getMonth() + 1) + "鏈? + a.getDate() + "鏃?)
}
cc("12/23/2002",2)
</script>


33. 閫夋嫨浜嗗摢涓涓猂adio
<HTML><script language="vbscript">
function checkme()
for each ob in radio1
if ob.checked then
window.alert ob.value
next
end function
</script><BODY>
<INPUT name="radio1" type="radio" value="/style" checked>Style
<INPUT name="radio1" type="radio" value="/blog/barcode">Barcode
<INPUT type="button" value="check" onclick="checkme()">
</BODY></HTML>


34.鑴氭湰姘鎬笉鍑洪敊
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>


35.ENTER閿彲浠ヨ鍏夋爣縐誨埌涓嬩竴涓緭鍏ユ
<input onkeydown="if(event.keyCode==13)event.keyCode=9">


36. 媯嫻嬫煇涓綉绔欑殑閾炬帴閫熷害錛?br /> 鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?
<script language=Javascript>
tim=1
setInterval("tim++",100)
b=1
var autourl=new Array()
autourl[1]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0>www.njcatv.net"
autourl[2]="javacool.3322.net"
autourl[3]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0>www.sina.com.cn"
autourl[4]="www.nuaa.edu.cn"
autourl[5]=1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0>www.cctv.com"
function butt(){
***("<form name=autof>")
for(var i=1;i<autourl.length;i++)
***("<input type=text name=txt"+i+" size=10 value="/嫻嬭瘯涓?#8230;…> =銆?lt;input type=text
name=url"+i+" size=40> =銆?lt;input type=button value="/blog/GO
onclick=window.open(this.form.url"+i+".value)><br>")
***("<input type=submit value=鍒鋒柊></form>")
}
butt()
function auto(url){
document.forms[0]["url"+b].value=url
if(tim>200)
{document.forms[0]["txt"+b].value="/閾炬帴瓚呮椂"}
else
{document.forms[0]["txt"+b].value="/blog/鏃墮棿"+tim/10+"縐?}
b++
}
function run(){for(var i=1;i<autourl.length;i++)***("<img src=http://"+autourl+"/"+Math.random()+" width=1 height=1
onerror=auto("http://"+autourl+"")>")}
run()</script>


37. 鍚勭鏍峰紡鐨勫厜鏍?br /> auto 錛氭爣鍑嗗厜鏍?br /> default 錛氭爣鍑嗙澶?br /> hand 錛氭墜褰㈠厜鏍?br /> wait 錛氱瓑寰呭厜鏍?br /> text 錛欼褰㈠厜鏍?br /> vertical-text 錛氭按騫矷褰㈠厜鏍?br /> no-drop 錛氫笉鍙嫋鍔ㄥ厜鏍?br /> not-allowed 錛氭棤鏁堝厜鏍?br /> help 錛?甯姪鍏夋爣
all-scroll 錛氫笁瑙掓柟鍚戞爣
move 錛氱Щ鍔ㄦ爣
crosshair 錛氬崄瀛楁爣
e-resize
n-resize
nw-resize
w-resize
s-resize
se-resize
sw-resize


38.欏甸潰榪涘叆鍜岄鍑虹殑鐗規晥
榪涘叆欏甸潰<meta http-equiv="Page-Enter" content="revealTrans(duration=x, transition=y)">
鎺ㄥ嚭欏甸潰<meta http-equiv="Page-Exit" content="revealTrans(duration=x, transition=y)"> 
榪欎釜鏄〉闈㈣杞藉叆鍜岃皟鍑烘椂鐨勪竴浜涚壒鏁堛俤uration琛ㄧず鐗規晥鐨勬寔緇椂闂達紝浠ョ涓哄崟浣嶃倀ransition琛ㄧず浣跨敤鍝鐗規晥錛屽彇鍊間負1-23:
0 鐭╁艦緙╁皬
1 鐭╁艦鎵╁ぇ
2 鍦嗗艦緙╁皬
3 鍦嗗艦鎵╁ぇ
4 涓嬪埌涓婂埛鏂?
5 涓婂埌涓嬪埛鏂?br /> 6 宸﹀埌鍙沖埛鏂?
7 鍙沖埌宸﹀埛鏂?
8 绔栫櫨鍙剁獥
9 妯櫨鍙剁獥
10 閿欎綅妯櫨鍙剁獥
11 閿欎綅绔栫櫨鍙剁獥
12 鐐規墿鏁?
13 宸﹀彸鍒頒腑闂村埛鏂?
14 涓棿鍒板乏鍙沖埛鏂?br /> 15 涓棿鍒頒笂涓?br /> 16 涓婁笅鍒頒腑闂?
17 鍙充笅鍒板乏涓?br /> 18 鍙充笂鍒板乏涓?
19 宸︿笂鍒板彸涓?
20 宸︿笅鍒板彸涓?br /> 21 妯潯
22 绔栨潯
23 浠ヤ笂22縐嶉殢鏈洪夋嫨涓縐?br />

39.鍦ㄨ瀹氭椂闂村唴璺寵漿
<META http-equiv=V="REFRESH" content="5;URL=http://www.51js.com">


40.緗戦〉鏄惁琚绱?br /> <meta name="ROBOTS" content="灞炴у?>
鍏朵腑灞炴у兼湁浠ヤ笅涓浜?
灞炴у間負"all": 鏂囦歡灝嗚媯绱紝涓旈〉涓婇摼鎺ュ彲琚煡璇紱
灞炴у間負"none": 鏂囦歡涓嶈媯绱紝鑰屼笖涓嶆煡璇㈤〉涓婄殑閾炬帴錛?br /> 灞炴у間負"index": 鏂囦歡灝嗚媯绱紱
灞炴у間負"follow": 鏌ヨ欏典笂鐨勯摼鎺ワ紱
灞炴у間負"noindex": 鏂囦歡涓嶆绱紝浣嗗彲琚煡璇㈤摼鎺ワ紱
灞炴у間負"nofollow": 鏂囦歡涓嶈媯绱紝浣嗗彲鏌ヨ欏典笂鐨勯摼鎺ャ?br />

41銆乪mail鍦板潃鐨勫垎鍓?br /> 鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <a href="mailto:webmaster@sina.com">webmaster@sina.com</a>


42銆佹祦鍔ㄨ竟妗嗘晥鏋滅殑琛ㄦ牸
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <SCRIPT>
l=Array(6,7,8,9,'a','b','b','c','d','e','f')
Nx=5;Ny=35
t="<table border=0 cellspacing=0 cellpadding=0 height="+((Nx+2)*16)+"><tr>"
for(x=Nx;x<Nx+Ny;x++)
t+="<td width=16 id=a_mo"+x+">銆</td>"
t+="</tr><tr><td width=10 id=a_mo"+(Nx-1)+">銆</td><td colspan="+(Ny-2)+" rowspan="+(Nx)+">銆</td><td width=16 id=a_mo"+(Nx+Ny)+"></td></tr>"
for(x=2;x<=Nx;x++)
t+="<tr><td width=16 id=a_mo"+(Nx-x)+">銆</td><td width=16 id=a_mo"+(Ny+Nx+x-1)+">銆</td></tr>"
t+="<tr>"
for(x=Ny;x>0;x--)
t+="<td width=16 id=a_mo"+(x+Nx*2+Ny-1)+">銆</td>"
***(t+"</tr></table>")
var N=Nx*2+Ny*2
function f1(y){
for(i=0;i<N;i++){
c=(i+y)%20;if(c>10)c=20-c
document.all["a_mo"+(i)].bgColor=""""#0000"+l[c]+l[c]+"'"}
y++
setTimeout('f1('+y+')','1')}
f1(1)
</SCRIPT>


43銆丣avaScript涓婚〉寮瑰嚭紿楀彛鎶宸?br /> 紿楀彛涓棿寮瑰嚭
<script>
window.open("http://www.cctv.com","","width=400,height=240,top="+(screen.availHeight-240)/2+",left="+(screen.availWidth-400)/2);
</script>
============
<html>
<head>
<script language="LiveScript">
function WinOpen() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no");
    msg.***("<HEAD><TITLE>鍝?緗?</TITLE></HEAD>");
    msg.***("<CENTER><H1>閰?姣?浜?</H1><h2>榪?鏄?lt;B>JavaScript</B>鎵 寮 鐨?瑙?紿?</h2></CENTER>");
}
</script>
</head>
<body>
<form>
<input type="button" name="Button1" value="Push me" onclick="WinOpen()">
</form>
</body>
</html>
==============
涓銆佸湪涓嬮潰鐨勪唬鐮佷腑錛屼綘鍙鍗曞嚮鎵撳紑涓涓獥鍙o紝鍗沖彲閾炬帴鍒拌禌榪綉銆傝屽綋浣犳兂鍏抽棴鏃訛紝鍙鍗曞嚮涓涓嬪嵆鍙叧闂垰鎵嶆墦寮鐨勭獥鍙c?br /> 浠g爜濡備笅錛?
<SCRIPT language="JavaScript">
<錛?-
function openclk() {
another=open('1000){this.resized=true;this.style.width=1000;}" align=absMiddle border=0>http://www.ccidnet.com'錛?NewWindow');
}
function closeclk() {
another.close();
}
//-->
</SCRIPT>
<FORM>
<INPUT TYPE="BUTTON" NAME="open" value="/鎵撳紑涓涓獥鍙? onClick="openclk()">
<BR>
<INPUT TYPE="BUTTON" NAME="close" value="/blog/鍏抽棴榪欎釜紿楀彛" onClick="closeclk()">
</FORM>
浜屻佷笂闈㈢殑浠g爜涔熷お闈欎簡錛屼負浣曚笉鏉ョ偣鍔ㄦ劅鍛紵濡傛灉鑳界粰欏甸潰鏉ヤ釜闄嶈惤鏁堟灉閭h澶氬ソ鍟婏紒
浠g爜濡備笅錛?
<script>
function drop(n) {
if(self.moveBy){
self.moveBy (0錛?900);
for(i = n; i > 0; i--){
self.moveBy(0錛?);
}
for(j = 8; j > 0; j--){
self.moveBy(0錛宩);
self.moveBy(j錛?);
self.moveBy(0錛?j);
self.moveBy(-j錛?);
}
}
}
</script>
<body onLoad="drop(300)">
涓夈佽鍘屽緢澶氱綉绔欐繪槸鎸夌収榛樿紿楀彛鎵撳紑錛屽鏋滀綘鑳介殢蹇冩墍嬈叉帶鍒舵墦寮鐨勭獥鍙i偅璇ュ濂姐?
浠g爜濡備笅:
<SCRIPT LANGUAGE="JavaScript">
<錛?- Begin
function popupPage(l錛?t錛?w錛?h) {
var windowprops = "location=no錛宻crollbars=no錛宮enubars=no錛宼oolbars=no錛宺esizable=yes" +
"錛宭eft=" + l + "錛宼op=" + t + "錛寃idth=" + w + "錛宧eight=" + h;
var URL = "http://www.80cn.com";
popup = window.open(URL錛?MenuPopup"錛寃indowprops);
}
// End -->
</script>
<table>
<tr>
<td>
<form name=popupform>
<pre>
鎵撳紑欏甸潰鐨勫弬鏁?lt;br>
紱誨紑宸﹁竟鐨勮窛紱? <input type=text name=left size=2 maxlength=4> pixels
紱誨紑鍙寵竟鐨勮窛紱? <input type=text name=top size=2 maxlength=4> pixels
紿楀彛鐨勫搴? <input type=text name=width size=2 maxlength=4> pixels
紿楀彛鐨勯珮搴? <input type=text name=height size=2 maxlength=4> pixels
</pre>
<center>
<input type=button value="鎵撳紑榪欎釜紿楀彛錛? onClick="popupPage(this.form.left.value錛?this.form.top.value錛?this.form.width.value錛?br /> this.form.height.value)">
</center>
</form>
</td>
</tr>
</table>浣犲彧瑕佸湪鐩稿搴旂殑瀵硅瘽妗嗕腑杈撳叆涓涓暟鍊煎嵆鍙紝灝嗚鎵撳紑鐨勯〉闈㈢殑紿楀彛鎺у埗寰楀緢濂姐?


44銆侀〉闈㈢殑鎵撳紑縐誨姩
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <SCRIPT LANGUAGE="JavaScript">
<!-- Begin
for (t = 2; t > 0; t--) {
for (x = 20; x > 0; x--) {
for (y = 10; y > 0; y--) {
parent.moveBy(0,-x);
   }
}
for (x = 20; x > 0; x--) {
for (y = 10; y > 0; y--) {
parent.moveBy(0,x);
   }
}
for (x = 20; x > 0; x--) {
for (y = 10; y > 0; y--) {
parent.moveBy(x,0);
   }
}
for (x = 20; x > 0; x--) {
for (y = 10; y > 0; y--) {
parent.moveBy(-x,0);
     }
   }
}
//-->
//   End -->
</script>


45銆佹樉紺轟釜浜哄鎴風鏈哄櫒鐨勬棩鏈熷拰鏃墮棿
<script language="LiveScript">
<!-- Hiding
   today = new Date()
   ***("鐜?鍦?鏃?闂?鏄細 ",today.getHours(),":",today.getMinutes())
   ***("<br>浠?澶?鏃?鏈?涓猴細 ", today.getMonth()+1,"/",today.getDate(),"/",today.getYear());
// end hiding contents -->
</script>


46銆佽嚜鍔ㄧ殑涓轟綘姣忔浜х敓鏈寰屼慨鏀圭殑鏃ユ湡浜嗭細
<html>
<body>
This is a simple HTML- page.
<br>
Last changes:
   <script language="LiveScript">
   <!--   hide script from old browsers
     ***(document.lastModified)
   // end hiding contents -->
   </script>
</body>
</html>


47銆佷笉鑳戒負絀哄拰閭歡鍦板潃鐨勭害鏉燂細
<html>
<head>
<script language="JavaScript">
<!-- Hide
function test1(form) {
   if (form.text1.value == "")
     alert("鎮?娌?鍐?涓?浠?浣?涓?瑗匡紝 璇?鍐?杈?鍏?涓 嬈?!")
   else {
    alert("鍡?"+form.text1.value+"! 鎮?宸?杈?鍏?瀹?鎴?!");
   }
}
function test2(form) {
   if (form.text2.value == "" ||
       form.text2.value.indexOf('@', 0) == -1)
         alert("榪?涓?鏄?姝?紜?鐨?e-mail address! 璇?鍐?杈?鍏?涓 嬈?!");
   else alert("鎮?宸?杈?鍏?瀹?鎴?!");
}
// -->
</script>
</head>
<body>
<form name="first">
Enter your name:<br>
<input type="text" name="text1">
<input type="button" name="button1" value="杈?鍏?嫻?璇? onClick="test1(this.form)">
<P>
Enter your e-mail address:<br>
<input type="text" name="text2">
<input type="button" name="button2" value="杈?鍏?嫻?璇? onClick="test2(this.form)">
</body>


48銆佽窇椹伅
<html>
<head>
<script language="JavaScript">
<!-- Hide
var scrtxt="鎬庨航鏍?! 寰堥叿鍚?! 鎮ㄤ篃鍙互璇曡瘯."+"Here goes your message the visitors to your
page will "+"look at for hours in pure fascination...";
var lentxt=scrtxt.length;
var width=100;
var pos=1-width;
function scroll() {
   pos++;
   var scroller="";
   if (pos==lentxt) {
     pos=1-width;
   }
   if (pos<0) {
     for (var i=1; i<=Math.abs(pos); i++) {
       scroller=scroller+" ";}
     scroller=scroller+scrtxt.substring(0,width-i+1);
   }
   else {
     scroller=scroller+scrtxt.substring(pos,width+pos);
   }
   window.status = scroller;
   setTimeout("scroll()",150);
   }
//-->
</script>
</head>
<body onLoad="scroll();return true;">
榪欓噷鍙樉紺烘偍鐨勭綉欏?!
</body>
</html>


49銆佸湪緗戦〉涓敤鎸夐挳鏉ユ帶鍒跺墠欏碉紝鍚庨〉鍜屼富欏電殑鏄劇ず銆?br /> <html>
<body>
<FORM NAME="buttonbar">
      <INPUT TYPE="button" VALUE="Back" onClick="history.back()">
      <INPUT TYPE="button" VALUE="JS- Home" onClick="location='script.html'">
      <INPUT TYPE="button" VALUE="Next" onCLick="history.forward()">
</FORM>
</body>
</html>
50銆佹煡鐪嬫煇緗戝潃鐨勬簮浠g爜
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <SCRIPT>
function add()
{
var ress=document.forms[0].luxiaoqing.value
window.location="view-source:"+ress;
}
</SCRIPT>
杈撳叆瑕佹煡鐪嬫簮浠g爜鐨刄RL鍦板潃:
<FORM><input type="text" name="luxiaoqing" size=40 value="http://"></FORM>
<FORM><br>
<INPUT type="button" value="鏌ョ湅婧愪唬鐮? onClick=add()>
</FORM>


51銆乼itle鏄劇ず鏃ユ湡
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?
<script language="JavaScript1.2">
<!--hide
var isnMonth = new
Array("1鏈?,"2鏈?,"3鏈?,"4鏈?,"5鏈?,"6鏈?,"7鏈?,"8鏈?,"9鏈?,"10鏈?,"11鏈?,"12鏈?);
var isnDay = new
Array("鏄熸湡鏃?,"鏄熸湡涓","鏄熸湡浜?,"鏄熸湡涓?,"鏄熸湡鍥?,"鏄熸湡浜?,"鏄熸湡鍏?,"鏄熸湡鏃?);
today = new Date () ;
Year=today.getYear();
Date=today.getDate();
if (document.all)
document.title="浠婂ぉ鏄? "+Year+"騫?+isnMonth[today.getMonth()]+Date+"鏃?+isnDay[today.getDay()]
//--hide-->
</script>


52銆佹樉紺烘墍鏈夐摼鎺?br /> 鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <script language="JavaScript1.2">
<!--
function extractlinks(){
var links=document.all.tags("A")
var total=links.length
var win2=window.open("","","menubar,scrollbars,toolbar")
win2.***("<font size='2'>涓鍏辨湁"+total+"涓繛鎺?lt;/font><br>")
for (i=0;i<total;i++){
win2.***("<font size='2'>"+links[i].outerHTML+"</font><br>")
}
}
//-->
</script>
<input type="button" onClick="extractlinks()" value="鏄劇ず鎵鏈夌殑榪炴帴">


53銆佸洖杞﹂敭鎹㈣
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <script type="text/javascript">               
function handleEnter (field, event) {
   var keyCode = event.keyCode ? event.keyCode : event.which ?
event.which : event.charCode;
   if (keyCode == 13) {
    var i;
    for (i = 0; i < field.form.elements.length; i++)
     if (field == field.form.elements[i])
      break;
    i = (i + 1) % field.form.elements.length;
    field.form.elements[i].focus();
    return false;
   }
   else
   return true;
}     
</script>
<form>
<input type="text" onkeypress="return handleEnter(this, event)"><br>
<input type="text" onkeypress="return handleEnter(this, event)"><br>
<textarea>鍥炶濺鎹㈣


54銆佺‘璁ゅ悗鎻愪氦
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <SCRIPT LANGUAGE="JavaScript">
<!--
function msg(){
if (confirm("浣犵‘璁よ鎻愪氦鍢涳紒"))
document.lnman.submit()
}
//-->
</SCRIPT>
<form name="lnman" method="post" action="">
   <p>
     <input type="text" name="textfield" value="紜鍚庢彁浜?>
   </p>
   <p>
     <input type="button" name="Submit" value="鎻愪氦" onclick="msg();">
   </p>
</form>


55銆佹敼鍙樿〃鏍肩殑鍐呭
鎶婂涓嬩唬鐮佸姞鍏?lt;body>鍖哄煙涓?br /> <script ***script>
var arr=new Array()
arr[0]="涓涓涓涓涓";
arr[1]="浜屼簩浜屼簩浜?;
arr[2]="涓変笁涓変笁涓?;
</script>
<select onchange="zz.cells[this.selectedIndex].innerHTML=arr[this.selectedIndex]">
   <option value=a>鏀瑰彉絎竴鏍?lt;/option>
   <option value=a>鏀瑰彉絎簩鏍?lt;/option>
   <option value=a>鏀瑰彉絎笁鏍?lt;/option>
</select>
<table id=zz border=1>
   <tr height=20>
     <td width=150>絎竴鏍?lt;/td>
<td width=150>絎簩鏍?lt;/td>
<td width=150>絎笁鏍?lt;/td>
   </tr>
</table>

 
56 澶╂皵棰勬姤浠g爜

絎竴嬈?br /> <iframe name="I1" src="http://weather.qq.com/inc/ss150.htm" width="250" height="240">
</iframe>
絎簩嬈撅細
<iframe name="I1" src="http://panel.qq.com/hd/weather.shtml" width="300" height="250">
絎笁嬈撅細
<iframe name="I1" src="http://minisite.qq.com/Weather/qqmini.html" width="300" height="250">

57 瑙嗛MTV浠g爜(鍦板潃瑕佷互.rm/.wmv/.asf/.avi/.mpg緇撳熬)

(鎾斁鍣ㄧ殑澶у皬鍙互鑷繁璋冩暣浠g爜涓殑鏁板鹼紝鍙渶鏀筯eight =“楂樺害”錛寃idth =“瀹藉害”)

浠?wmv鎴栬?asf緇撳熬:

<embed src=http://浣犵殑瑙嗛鏂囦歡鍦板潃 width=360 height=280 loop= true>

浠?rm緇撳熬:

<embed src=http://浣犵殑瑙嗛鏂囦歡鍦板潃 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124

width=180 autostart=true loop=true>

浠?avi鎴栬?mpg緇撳熬:

<embed src="闊蟲▊婧愬湴鍧" border="0" width="320" height="240" type="application/x-mplayer2"></embed>

灝忔妧宸э紝鎯寵褰撲綘鐨勫ソ鍙嬩竴鐧婚檰浣犵殑絀洪棿灝辮兘椹笂鍚埌鏈鏂扮殑闊充箰瑙嗗惉鍚? 鎶宸у湪浜庝唬鐮佺粨灝懼姞涓妛id, 濡備笅
<embed src=http://浣犵殑闊充箰鍦板潃 width=360 height=280 wid>

58 鍥劇墖鎻愪氦琛ㄥ崟
<a onclick="form_s.submit()" style="CURSOR: hand">
59javascript鐨刪istory瀵硅薄
history瀵硅薄   history瀵硅薄鎺у埗鍓嶈繘鍜屽悗閫銆俬istory瀵硅薄鏄疻indow瀵硅薄鐨勪竴涓瓙瀵硅薄.
history鎻愪緵浜?涓柟娉?
1. history.back();   //嫻忚鍣ㄥ悗閫
2. history.forward();//嫻忚鍣ㄥ墠榪?br /> 3. history.go(-2);   //嫻忚鍣ㄥ悗閫涓ゆ,褰揾istory.go()鏂規硶鐨勫弬鏁頒負0鏃?琛ㄧず鍒鋒柊褰撳墠欏甸潰,
//鐢ㄦ埛 宸茬粡杈撳叆鐨勮〃鍗曟暟鎹笉浼氭敼鍙?
<a   href=#   OnClick="javascript:history.back();">榪斿洖</a>



鏈枃鏉ヨ嚜CSDN鍗氬錛岃漿杞借鏍囨槑鍑哄錛歨ttp://blog.csdn.net/facepp/archive/2008/05/07/2407983.aspx


]]>
CSS灞炴уぇ鍏?http://www.tkk7.com/zdq5337/articles/281354.html寮鑺辨祦姘?/dc:creator>寮鑺辨祦姘?/author>Wed, 10 Jun 2009 15:45:00 GMThttp://www.tkk7.com/zdq5337/articles/281354.html[鑳屾櫙]灞炴у叡鏈夊叚欏癸細
銆岃儗鏅鑹層嶏紙background-color錛夛紝璁劇疆鑳屾櫙棰滆壊銆?
銆岃儗鏅浘鍍忋嶏紙background-image錛夛紝璁劇疆緗戦〉鑳屾櫙鍥懼儚銆?
銆岄噸澶嶃嶏紙background-repeat錛夛紝鎺у埗鑳屾櫙鍥懼儚鐨勫鉤閾烘柟寮忥紝鏈変笉閲嶅錛坣o-repeat錛夈侀噸澶嶏紙repeat錛屾部姘村鉤銆佸瀭鐩存柟鍚戝鉤閾猴級銆佹í鍚戦噸澶嶏紙repeat-X錛屽浘鍍忔部姘村鉤鏂瑰悜騫抽摵錛夊拰綰靛悜閲嶅錛坮epeat-Y錛屾部鍥懼儚鍨傜洿鏂瑰悜騫抽摵錛夌瓑4縐嶉夋嫨銆?
銆岄檮鍔犮嶏紙background-attachment錛夛紝鐢ㄤ簬鎺у埗鑳屾櫙鍥懼儚鏄惁浼氶殢欏甸潰鐨勬粴鍔ㄨ屼竴璧鋒粴鍔ㄣ傛湁鍥哄畾錛坒ixd錛屾枃瀛楁粴鍔ㄦ椂錛岃儗鏅浘鍍忎繚璐ㄥ浐瀹氾級鍜屾粴鍔紙scroll錛岃儗鏅浘鍍忛殢鏂囧瓧鍐呭涓璧鋒粴鍔級涓ょ閫夋嫨銆?
銆屾按騫充綅緗?銆屽瀭鐩翠綅緗嶏紙background-position錛夛紝紜畾鑳屾櫙鍥懼儚鐨勬按騫熾佸瀭鐩翠綅緗?
銆傚叡鏈夊乏瀵歸綈錛坙eft錛夈佸彸瀵歸綈錛坮ight錛夈侀《閮紙top錛夈佸簳閮紙bottom錛夈佸眳涓紙center錛夊拰鍊鹼紙鑷畾涔夎儗鏅浘鍍忕殑璧風偣浣嶇疆錛屽彲浣跨敤鎴峰鑳屾櫙鍥懼儚鐨勪綅緗仛鍑烘洿綺劇‘鐨勬帶鍒訛級絳?縐嶉夋嫨銆?

[綾誨瀷]灞炴у叡鏈変節欏癸細
銆屽瓧浣撱嶏紙font-family錛夛紝璁懼畾鏃訛紝闇鑰冭檻嫻忚鍣ㄤ腑鏈夋棤璇ュ瓧浣撱?
銆屽ぇ灝忋嶏紙font-size錛夛紝娉ㄦ剰搴﹂噺鍗曚綅銆?
銆岀矖緇嗐嶏紙font-weight錛夛紝闄や簡normal錛堟甯革級銆乥old錛堢矖浣擄級銆乥older錛堢壒綺楋級銆乴ighter錛堢粏浣擄級澶栵紝榪樻湁9縐嶄互鍍忕礌涓哄害閲忎負鍗曚綅鐨勮緗柟寮忋?
銆屾牱寮忋嶏紙font-style錛夛紝涔熷氨鏄瓧鍨嬨?
銆岃楂樸嶏紙line-height錛夛紝灝辨槸琛岃窛銆傛敞鎰忥紝琛岃窛鍙兘浠ユ槸瀛椾綋澶у皬鍊間負
銆屽彉褰€嶏紙font-variant錛夛紝鍙互灝嗘甯告枃瀛椾竴鍗婂昂瀵稿悗澶у啓鏄劇ず錛屼絾IE鐩墠涓嶆敮鎸佽繖欏瑰睘鎬с?
銆屽ぇ灝忓啓銆嶏紙text-transform錛夛紝榪欓」灞炴ц兘杞昏屾槗涓懼湴鎺у埗瀛楁瘝澶у皬鍐欙紝鏈夐瀛楀ぇ鍐欙紙capitalize銆佸ぇ鍐欙紙uppercase錛夈佸皬鍐欙紙lowercase錛夊拰鏃狅紙none錛屼嬌鎵鏈夌戶鎵挎枃瀛楀拰鍙樺艦鍙傛暟琚拷鐣ワ紝鏂囧瓧灝嗕互姝e父褰㈠紡鏄劇ず錛夌瓑4縐嶃?
銆屼慨楗般嶏紙text-decoration錛夛紝鐢ㄤ簬鎺у埗閾炬帴鏂囨湰鐨勬樉紺哄艦鎬侊紝鏈変笅鍒掔嚎錛坲nderline錛夈佹棤涓嬪垝綰匡紙overline錛夈佸垹闄ょ嚎錛坙ine-through錛夈侀棯鐑侊紙blink錛夊拰鏃狅紙none 錛屼嬌涓婅堪鏁堟灉鍧囦笉浼氬彂鐢燂級絳?縐嶄慨楗版柟寮忋備絾IE4涓嶆敮鎸佹枃瀛楅棯鐑併?

[鍖哄潡]灞炴у叡鏈夊叚欏癸細
銆屽崟璇嶉棿璺濄嶏紙word-spacing錛夛紝涓昏鐢ㄤ簬鎺у埗鏂囧瓧闂寸浉闅旂殑璺濈銆傛湁姝e父錛坣ormal錛夊拰鍊鹼紙鑷畾涔夐棿闅斿鹼級涓ょ閫夋嫨鏂瑰紡銆傚綋閫夋嫨鍊兼椂錛屽彲鐢ㄧ殑鍗曚綅鏈夎嫳鍚嬶紙in錛夈佸帢綾籌紙cm錛夈佹綾籌紙mm錛夈佺偣鏁?pt錛夈?2pt瀛?pc錛夈佸瓧浣撻珮錛坋m錛夈佸瓧浣搙鏈夐珮錛坋x錛夊儚绱狅紙px錛夈?
銆屽瓧姣嶉棿璺濄嶏紙letter-spacing錛夛紝鍏朵綔鐢ㄤ笌瀛楃闂磋窛綾諱技錛屼篃鏈夋甯革紙normal錛夊拰鍊鹼紙鑷畾涔夐棿闅斿鹼級涓ょ閫夋嫨鏂瑰紡銆?
銆屽瀭鐩村榻愩嶏紙vertical-align錛夛紝鎺у埗鏂囧瓧鎴栧浘鍍忕浉瀵逛簬鍏舵瘝浣撳厓绱犵殑鍨傜洿浣嶇疆銆傚灝嗕竴涓?×3鍍忕礌鐨凣IF鍥懼儚鍚屽叾姣嶄綋鍏冪礌鏂囧瓧鐨勯《閮ㄥ瀭鐩村榻愶紝鍒欒GIF鍥懼儚灝嗗湪璇ヨ鏂囧瓧鐨勯《閮ㄦ樉紺恒傚叡鏈夊熀綰匡紙baseline錛屽皢鍏冪礌鐨勫熀鍑嗙嚎鍚屾瘝浣撳厓绱犵殑鍩哄噯綰垮榻愶級銆佷笅鏍囷紙sub錛屽皢鍏冪礌浠ヤ笅鏍囩殑褰㈠紡鏄劇ず錛?涓婃爣錛坰uper錛屽皢鍏冪礌浠ヤ笂鏍囩殑褰㈠紡鏄劇ず錛夈侀《閮紙top 錛屽皢鍏冪礌欏墮儴鍚屾渶楂樼殑姣嶄綋鍏冪礌瀵歸綈錛夈佹枃鏈《瀵歸綈錛坱ext-top錛屽皢鍏冪礌鐨勯《閮ㄥ悓姣嶄綋鍏冪礌鏂囧瓧鐨勯《閮ㄥ榻愶級銆佷腑綰垮榻愶紙middle錛屽皢鍏冪礌鐨勪腑鐐瑰悓姣嶄綋鍏冪礌鐨勪腑鐐瑰榻愶級銆佸簳閮紙bottom錛屽皢鍏冪礌鐨勫簳閮ㄥ悓鏈浣庣殑姣嶄綋鍏冪礌瀵歸綈錛夊強鍊鹼紙鑷畾涔夛級絳?縐嶉夋嫨銆?
銆屾枃鏈榻愩嶏紙text-align錛夛紝璁劇疆鍧楃殑姘村鉤瀵歸綈鏂瑰紡銆傚叡鏈夊乏瀵歸綈錛坙eft錛夈佸彸瀵歸綈錛坮ight錛夈佸眳涓紙center錛夊拰鍧囧垎錛坖ustify錛夌瓑4縐嶉夋嫨銆?
銆屾枃瀛楃緝榪涖嶏紙text-indent錛夛紝鎺у埗鍧楃殑緙╄繘紼嬪害銆?
銆岀┖鐧介棿璺濄嶏紙white-space錛夛紝鍦℉TML涓紝絀烘牸鏄鐪佺暐鐨勶紱鍦–SS涓垯浣跨敤灞炴э紙white-space錛夋帶鍒剁┖鏍肩殑杈撳叆銆傚叡鏈夋甯革紙normal錛夈佷繚鐣欙紙pre錛夊拰涓嶆崲琛岋紙nowrap錛夌瓑3縐嶉夋嫨銆?

 

[杈規]鐨勫睘鎬ф湁3欏癸細
銆屽銆嶏紙border-width錛夛紝鎺у埗杈規鐨勫搴︼紝鍏朵腑鍒嗕負4涓睘鎬э細border-top-width欏惰竟妗嗙殑瀹藉害銆乥order-right-width鍙寵竟妗嗙殑瀹藉害銆乥order-bottom-width搴曡竟妗嗙殑瀹藉害銆乥order-left-width宸﹁竟妗嗙殑瀹藉害銆?
銆岄鑹層嶏紙border-color錛夛紝璁劇疆鍚勮竟妗嗙殑棰滆壊銆傝嫢瑕佷嬌杈規鐨勫洓杈規樉紺轟笉鍚岀殑棰滆壊錛屽彲鍦ㄨ緗腑鍒嗗埆鍒楀嚭銆傚錛?
p{: #ff0000 #009900 #0000ff #55cc00}
嫻忚鍣ㄥ皢鍥涚棰滆壊渚濇鐞嗚В涓猴細涓婅竟妗嗐佸彸杈規銆佸簳杈規鍜屽乏杈規錛堣嚜涓婂紑濮嬮『鏃墮拡錛夈?
銆屾牱寮忋嶏紙border-style錛夛紝璁懼畾杈規鐨勬牱寮忥紝鍏辨湁鏃狅紙none錛夈佽櫄綰匡紙dotted錛夈佺偣鍒掔嚎綰匡紙dotted錛夈佺偣鍒掔嚎錛坉ashed錛夈佸疄綰匡紙solid錛夈佸弻綰匡紙double 錛夈佹Ы鐘訛紙grove錛夈佽剨鐘訛紙ridge錛夈佸嚬闄鳳紙inset錛夊拰鍑歌搗錛坥utset錛夌瓑9縐嶃?


銆岀洅瀛愩嶅睘鎬у叡鏈?欏癸細
銆屽銆嶏紙width錛夛紝紜畾鐩掑瓙鏈韓鐨勫搴︼紝鍙互浣跨洅瀛愮殑瀹藉害涓嶄緷闈犲畠鎵鍖呭惈鐨勫唴瀹瑰灝戙?
銆岄珮銆嶏紙height錛夛紝紜畾鐩掑瓙鏈韓鐨勯珮搴︺?
銆屾誕鍔ㄣ嶏紙float錛夛紝璁劇疆鍧楀厓绱犵殑嫻姩鏁堟灉銆?
銆屾竻闄ゃ嶏紙clear錛夛紝鐢ㄤ簬娓呴櫎璁劇疆鐨勬誕鍔ㄦ晥鏋溿?
銆岃竟璺濄嶏紙margin錛夛紝鎺у埗鍥寸粫杈規鐨勮竟璺濆ぇ灝忋傚叾涓寘鍚?涓睘鎬э細margin-top鎺у埗涓婅竟璺濈殑瀹藉害銆乵argin-right鎺у埗鍙寵竟璺濈殑瀹藉害銆乵argin-bottom鎺у埗涓嬭竟璺濈殑瀹藉害銆乵argin-left鎺у埗宸﹁竟璺濈殑瀹藉害銆?
銆岃竟鐣屻嶏紙padding錛夛紝紜畾鍥寸粫鍧楀厓绱犵殑絀烘牸濉厖鏁伴噺錛屽叾涓寘鍚?涓睘鎬с宲adding-top鎺у埗涓婄暀鐧界殑瀹藉害銆乸adding-right鎺у埗鍙崇暀鐧界殑瀹藉害銆乸adding-bottom鎺у埗涓嬬暀鐧藉搴︺乸adding-left鎺у埗宸︾暀鐧界殑瀹藉害銆?


[鍒楄〃]灞炴у叡鏈?欏癸細
銆岀被鍨嬨嶏紙list-style-type錛夛紝紜畾鍒楄〃姣忎竴欏瑰墠浣跨敤鐨勭鍙鳳紝鍏辨湁鍦嗙偣錛坉isc錛夈佸渾鍦堬紙circle錛夈佹柟褰紙square錛夈佹暟瀛楋紙decimal錛夈佸皬鍐欑綏椹暟瀛楋紙lower-roman 錛夈佸ぇ鍐欑綏椹暟瀛楋紙upper-roman錛夈佸皬鍐欏瓧姣嶏紙lower-alpha錛夊拰澶у啓瀛楁瘝錛坲pper錛峚lpha錛夌瓑8縐嶃?
銆岄」鐩浘鍍忋嶏紙list-style-image錛夛紝鍏朵綔鐢ㄦ槸灝嗗垪琛ㄥ墠闈㈢殑絎﹀彿鎹負鍥懼艦銆?
銆屼綅緗嶏紙list-style-position錛夛紝鐢ㄤ簬鎻忚堪鍒楄〃浣嶇疆錛屾湁鍐咃紙outside錛夊拰澶栵紙inside錛変袱縐嶉夋嫨銆?


[瀹氫綅]灞炴у叡鏈?欏癸細
銆岀被鍨嬨嶏紙position錛夛紝鐢ㄤ簬紜畾瀹氫綅鐨勭被鍨嬶紝鍏辨湁緇濆錛坅bsolute錛夈佺浉瀵癸紙relative錛夊拰闈欐侊紙static錛夌瓑3縐嶉夋嫨銆?
銆孼杞淬嶏紙z-index錛夛紝鐢ㄤ簬鎺у埗緗戦〉涓潡鍏冪礌鐨勫彔鏀鵑『搴忥紝鍙負鍏冪礌璁劇疆閲嶅彔鏁堟灉銆傝灞炴х殑鍙傛暟鍊間嬌鐢ㄧ函鏁存暟錛屽間負0鏃訛紝鍏冪礌鍦ㄦ渶涓嬪眰錛岄傜敤浜庣粷瀵瑰畾浣嶆垨鐩稿瀹氫綅鐨勫厓绱犮?
銆屾樉紺恒嶏紙visibility錛変嬌鐢ㄨ灞炴у彲灝嗙綉欏典腑鐨勫厓绱犻殣钘忥紝鍏辨湁緇ф壙錛坕nherit錛岀戶鎵挎瘝浣撹绱犵殑鍙鎬ц緗級銆佸彲瑙侊紙visible錛夊拰闅愯棌錛坔idden錛夌瓑3縐嶉夋嫨銆?
銆屾孩鍑恒嶏紙overflow錛夛紝鍦ㄧ‘瀹氫簡鍏冪礌鐨勯珮搴﹀拰瀹藉害鍚庯紝濡傛灉鍏冪礌鐨勯潰縐笉鑳藉叏閮ㄦ樉紺哄厓绱犱腑鐨勫唴瀹規椂錛岃灞炴у仛涓鏃ュ拰灝氭挒涓澶╅挓璧蜂綔鐢ㄤ簡銆傚叾涓叡鏈夊彲瑙侊紙visible錛屾墿澶ч潰縐互鏄劇ず鎵鏈夊唴瀹癸級銆侀殣钘忥紙hidden錛岄殣钘忚秴鍑鴻寖鍥寸殑鍐呭錛夈佹粴鍔紙scroll錛屽湪鍏冪礌鐨勫彸杈規樉紺轟竴涓粴鍔ㄦ潯錛夊拰鑷姩錛坅uto錛屽綋鍐呭瓚呭嚭鍏冪礌闈㈢Н鏃訛紝鏄劇ず婊氬姩鏉★級絳?縐嶉夋嫨銆?
銆屽畾浣嶃嶏紝褰撲負鍏冪礌紜畾浜嗙粷瀵瑰畾浣嶇被鍨嬪悗錛岃緇勫睘鎬у喅瀹氬厓绱犲湪緗戦〉涓殑鍏蜂綋浣嶇疆銆傝緇勫睘鎬у寘鍚?涓瓙灞炴э紝鍒嗗埆鏄屽乏銆嶏紙灞炴у悕涓恒宭eft銆嶏紝鎺у埗鍏冪礌宸﹁竟鐨勮搗濮嬩綅緗級銆併屼笂銆嶏紙灞炴у悕涓恒宼op銆嶏紝鎺у埗鍏冪礌涓婇潰鐨勮搗濮嬩綅緗級銆?銆屽銆嶆垨銆岄珮銆嶏紙涓庛岀洅瀛愩嶇被灞炴ч潰鏉夸腑銆屽銆嶆垨銆岄珮銆嶇殑灞炴т綔鐢ㄧ浉鍚岋級銆?
銆屽壀杈戙嶏紙clip錛夛紝褰撳厓绱犺鎸囧畾涓虹粷瀵瑰畾浣嶇被鍨嬪悗錛岃灞炴у彲浠ユ妸鍏冪礌鍖哄煙鍒囨垚鍚勭褰㈢姸錛屼絾鐩墠鎻愪緵鐨勫彧鏈夋柟褰竴縐嶃傚睘鎬у間負rect(top right bottom left)錛屽嵆錛?
rect(top right bottom left)錛屽睘鎬у肩殑鍗曚綅涓轟換浣曚竴縐嶉暱搴﹀崟浣嶃?


[鎵╁睍]灞炴у叡鏈変袱閮ㄥ垎錛?
銆屽垎欏點嶏紝鍏朵腑涓や釜灞炴х殑浣滅敤鏄負鎵撳嵃鐨勯〉闈㈣緗垎欏電銆?銆屼箣鍓嶃嶏紙page-break-before錛夛紱銆屼箣鍚庛嶏紙page-break-after錛夈?
銆岃瑙夋晥鏋溿嶏紝鍏朵腑涓や釜灞炴х殑浣滅敤鏄負緗戦〉涓殑鍏冪礌鏂藉姞鐗規畩鏁堟灉銆?銆屽厜鏍囥嶏紙cusor錛夛紝鍙互鎸囧畾鍦ㄦ煇涓厓绱犱笂瑕佷嬌鐢ㄧ殑鍏夋爣褰㈢姸錛屽叡鏈?5縐嶉夋嫨鏂瑰紡錛屽垎鍒唬琛ㄩ紶鏍囧湪Windows鎿嶄綔緋葷粺涓殑鍚勭褰㈢姸銆傚彟澶栧畠榪樺彲浠ユ寚瀹氭寚閽堝浘鏍囩殑URL鍦板潃錛涖屾護闀溿嶏紙fiter錛夛紝鍙互涓虹綉欏典腑鍏冪礌鏂藉姞鍚勭濂囧鐨勬護闀滄晥鏋滐紝鍏卞寘鍚湁16縐嶆護闀溿?/p>


鏈枃鏉ヨ嚜CSDN鍗氬錛岃漿杞借鏍囨槑鍑哄錛歨ttp://blog.csdn.net/Gj905/archive/2009/04/22/4101532.aspx



]]>
主站蜘蛛池模板: 亚洲国产中文在线二区三区免| 亚洲午夜未满十八勿入网站2| AV免费网址在线观看| 91精品国产亚洲爽啪在线观看| 亚洲午夜成人精品无码色欲| 免费国产作爱视频网站| 亚洲乱码一二三四区麻豆| 手机永久免费的AV在线电影网| 一级毛片**不卡免费播| 亚洲A∨无码无在线观看| 久草免费福利资源站| 亚洲精品偷拍无码不卡av| 无码国产精品一区二区免费| 亚洲久悠悠色悠在线播放| 小小影视日本动漫观看免费| 久久综合图区亚洲综合图区| 亚洲1区2区3区精华液| 国产免费小视频在线观看| 久久国产精品免费一区二区三区 | 久久久高清日本道免费观看| 国产无遮挡又黄又爽免费视频| 精品无码专区亚洲| 激情97综合亚洲色婷婷五 | 亚洲欧洲国产综合| 在线精品免费视频无码的| 亚洲国产精品久久久久| 国产免费牲交视频免费播放 | 亚洲欧美日韩中文无线码| 日韩亚洲国产二区| 成全在线观看免费观看大全| 亚洲性一级理论片在线观看| 麻豆国产精品入口免费观看| 日韩大片免费观看视频播放 | 两个人的视频高清在线观看免费| 亚洲av无码日韩av无码网站冲| 久久影院亚洲一区| 亚洲成人免费电影| 免费无码专区毛片高潮喷水| 亚洲午夜视频在线观看| 久久成人免费电影| 国产亚洲A∨片在线观看|