19.flash圖片效果
以下代碼加入<head>區域
< language="java">
<!--
makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
//-->
</>
以下代碼加入<body>區域
<img src="<table cellspacing="0" cellpadding="0" bgcolor="#0000FF" height="18" id="Q"><tr><td></td></tr></table></td></tr></table>
</center>
< language=java>
var R = 0; load();
load() {R = R + 2; Q.style.width = R + "%"; time= setTimeout("load()",50);
if (R > 100) {clearTimeout(time); P.style.width=0}}
</>
27 全屏
< language=java>
open(index.asp,,fullscreen=1);
</>
21.背景圖片滾動
<body scroll="no" background="/images/bg.jpg" link="#00FF00" alink="#FF0000" vlink="#00FF00" bgcolor="#000080" topmargin="8">
< language="java">
var backgroundOffset = 0;
var bgObject = eval(body);
scrollBG(maxSize) {backgroundOffset = backgroundOffset + 1;
if (backgroundOffset > maxSize) backgroundOffset = 0;
bgObject.style.backgroundPosition = "0 " + backgroundOffset;}
var ScrollTimer = setInterval("scrollBG(410)", 20)
</>
如果轉萜,請注明轉自-=IT人=-http://www.itren.cn
22.網頁不會被緩存
HTMl網頁
< HTTP-EQUIV="pragma" CONTENT="no-cache">
< HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
< HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
或者< HTTP-EQUIV="expires" CONTENT="0">
ASP網頁
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
PHP網頁
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
23.<%定義數據庫連接的一些常量
Const adOpenForwardOnly = 0 游標只向前瀏覽記錄,不支持分頁、Recordset、BookMark
Const adOpenKeyset = 1 鍵集游標,其他用戶對記錄說做的修改將反映到記錄集中,但其他用戶增加或刪除記錄不會反映到記錄集中。支持分頁、Recordset、BookMark
Const adOpenDynamic = 2 動態游標功能最強,但耗資源也最多。用戶對記錄說做的修改,增加或刪除記錄都將反映到記錄集中。支持全功能瀏覽(ACCESS不支持)。
Const adOpenStatic = 3 靜態游標,只是數據的一個快照,用戶對記錄說做的修改,增加或刪除記錄都不會反映到記錄集中。支持向前或向后移動
Const adLockReadOnly = 1 鎖定類型,默認的,只讀,不能作任何修改
Const adLockPessimistic = 2 當編輯時立即鎖定記錄,最安全的方式
Const adLockOptimistic = 3 只有在調用Update方法時才鎖定記錄集,而在此前的其他操作仍可對當前記錄進行更改、插入和刪除等
Const adLockBatchOptimistic = 4 當編輯時記錄不會被鎖定,而更改、插入和刪除是在批處理方式下完成的
Const adCmdText = &H0001
Const adCmdTable = &H0002
%>
24.最小化、最大化、關閉窗口
<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" ="Minimize"></object>
<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" ="Maximize"></object>
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" ="Close"></OBJECT>
<input type=button =最小化 =hh1.Click()>
<input type=button =最大化 =hh2.Click()>
<input type=button =關閉 =hh3.Click()>
說明:本例適用于IE
25.判斷上一頁的來源
asp頁:
request.servervariables("HTTP_REFERER")
java :
referrer
26.光標是停在文本框文字的最后
< language="java">
cc()
{
var e = event.srcElement;
var r =e.createTextRange();
r.moveStart(character,e..length);
r.collapse(true);
r.select();
}
</>
<input type=text name=text1 ="123" ="cc()">
說明:適用于表格數據提交
如果轉萜,請注明轉自-=e代時光=-http://www.e3i5.com
27.怎樣通過asp的手段來檢查來訪者是否用了代理
<% if Request.ServerVariables("HTTP_X_FORWARDED_FOR")<>"" then
response.write "<font color=#FF0000>您通過了代理服務器,"& _
"真實的IP為"&Request.ServerVariables("HTTP_X_FORWARDED_FOR")
end if
%>
28.取得控件的絕對位置
< language="java">
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);
}
</>
//VB
< language="VB"><!--
getIE()
dim t,l,a,b
set a=all.img1
t=all.img1.offsetTop
l=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
--></>
29.滾動特效
<marquee Over="this.stop()" Out="this.start()" scrollamount="2" scrolldelay="0" direction="up" width="330" height="120" border="0" align="center" id="MARQUEE1">
<p>歡迎光臨E代時光
感謝
</marquee>
30.自動更新提示
<body>
<TABLE border=2 cellspacing=0 cellpadding=3>
<TR><TD bgcolor="#000044">
<FONT color="#4400ff" face=georgia,arial size=+1>
<CENTER>
< LANGUAGE="java">
<!--
write(title);
//-->
</>
</TD></TR>
<TR><TD bgcolor="#440000">
<FONT size=-1 color="#ff0000" face="trebuchet MS","arial">
< LANGUAGE="java">
<!-- Begin
getVal (offset) {
var endstr = documents..indexOf (";", offset);
if (endstr == -1)
endstr = documents..length;
return unescape(documents..substring(offset, endstr));
}
Get (name) {
var arg = name + "=";
var alen = arg.length;
var clen = documents..length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (documents..substring(i, j) == arg)
return getVal (j);
i = documents..indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
Set (name, ) {
var argv = Set.arguments;
var argc = Set.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
documents. = name + "=" + escape () +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
Delete(name) {
var exp = new Date();
FixDate (exp);
exp.setTime (exp.getTime() - 1);
var cval = Get (name);
if (cval != null)
documents. = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var _date=new Date(lastModified);
var expdate = new Date();
expdate.setTime(expdate.getTime()+(5*24*60*60*1000));
write("<Font color=ff8800>" + "上次更新時間: "+ "</font>" +lastModified);
write("");
if (!(_date == Get("_date"))){
Set("_date",_date,expdate);
write("<font color=yellow>
站點上次更新!</font>
");
}
// End -->
</>
</FONT>
</TD></TR>
</TABLE>
</CENTER>
</body>
31.關于表格提交的幾種格式
<input type=text name=txtPostalCode press="if (event.keyCode < 45 || event.keyCode > 57) event.return = false;">
限制輸入字符,你可以改變KEYCODE的值來限制輸入。你將KEYCODE的值設為極大和極小就什么也不能輸入了。這個可以屏蔽你想屏蔽的字符有一定的選擇性..
<INPUT type="text" name="username" ="james" disabled>
使用disabled屬性后的區域的值,不能被傳遞給其他的程序(ASP/CGI)去處理,如果你非要傳遞請通過隱藏屬性去做。這個比較單一,功能不強。一般用于未完成的站點。
<INPUT type="text" name="partNumber" ="1500" readonly>
readonly屬性顧名思義是“只讀”。它將TEXT轉化為一個對象,禁止對它進行編輯。你雖然可以通過TAB鍵在多個TEXT區域間切換,但是不能修改已經指定的TEXT區的值。但是它不象Disabled屬性那樣,可以進行正常的數值傳遞。
32.讓背景圖不滾動
IE瀏覽器支持一個 Body 屬性 bgproperties,它可以讓背景不滾動:
〈Body Background="圖片文件" bgproperties="fixed"〉
33.讓你的網頁無法另存為
<no><i src="/*>";</i></no>
34.讓I框架內的文檔的背景透明
<i src="about :<body style=background:transparent>" allowtransparency></i>
35.禁止右鍵:
<body oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="selection.empty()" oncopy="selection.empty()" onbeforecopy="return false"up="selection.empty()">
36.進入頁面后立即自動刷新?
< http-equiv="refresh" content="120;url=Http://www.itren.cn">
Http://www.itren.cn ,這是你自己的網址。
37 .打開窗口即最大化
< language="java">
<!-- Begin
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
// End -->
</>
38.能隱藏I的滾動條嗎?我知道的三種方法:
1. 設置i scrolling="no"
2. 被包含頁body應用overflow:hidden
3. 被包含頁的body標簽加scroll="no"
39.加入背景音樂
<bgsound src="mid/min1.mid" loop="-1"> 只適用于IE
<embed src="music.mid" autostart="true" loop="true" hidden="true"> 對Netscape ,IE 都適用
40.滾動
<MARQUEE direction=up height=146 out=start() over=stop() scrollAmount=4></marquee>
41.細線分隔線
<hr noshade size=0 color=#C0C0C0>
42.過度方式
< http-equiv="Page-Exit" content="revealTrans(Duration=3,Transition=5)">
Duration的值為網頁動態過渡的時間,單位為秒。
Transition是過渡方式,它的值為0到23,分別對應24種過渡方式。如下表:
0 盒狀收縮 1 盒狀放射
2 圓形收縮 3 圓形放射
4 由下往上 5 由上往下
6 從左至右 7 從右至左
8 垂直百葉窗 9 水平百葉窗
10 水平格狀百葉窗 11垂直格狀百葉窗
12 隨意溶解 13從左右兩端向中間展開
14從中間向左右兩端展開 15從上下兩端向中間展開
16從中間向上下兩端展開 17 從右上角向左下角展開
18 從右下角向左上角展開 19 從左上角向右下角展開
20 從左下角向右上角展開 21 水平線狀展開
22 垂直線狀展開 23 隨機產生一種過渡方式
43.如何控制橫向和縱向滾動條的顯隱?
<body style="overflow-y:hidden"> 去掉x軸
<body style="overflow-x:hidden"> 去掉y軸
<body scroll="no">不顯
44.怎樣在 FrontPage2000 中加入 Flash 動畫?
在 FrontPage2000 中,點擊[插入]->[高級]->[插件],在彈出的窗口中,設置一下 Flash 文件的大小及其它信息,確定即可。
45.加入注釋的格式是:
〈!-[注釋內容…]--〉
46.怎樣在網頁中加入 E-mail 鏈接并顯示預定的主題?
〈A href="mailto:itren@itren.cn?subject=主題"〉……〈/a〉
47.定義本網頁關鍵字,
可以在〈Head〉〈/Head〉中加入如下代碼:
〈 name="Keywords" content="E代時光"〉
Content 中所包含的就是關鍵字,你可以自行設置。
這里有個技巧,你可以重復某一個單詞,這樣可以提高自己網站的排行位置,如:
〈 name="Keywords" content="E代時光"〉
48.IE5.0 的部分快捷鍵:
A:打開查找功能:Ctrl+F
關閉瀏覽器窗口:Ctrl+W
打開地址欄下拉列表框:F4
刷 新:F5
將當前Web頁保存到收藏夾列表:Ctrl+D
打開當前 IE 窗口的一個拷貝:Ctrl+N
停止下載當前網頁:Esc
光標迅速移動到網頁的開頭:Home
光標迅速移動到網頁的尾部:End
打開新的地址鍵入窗口:Ctrl+O
打開收藏夾:Ctrl+I
打開歷史記錄文件夾:Ctrl+H
打開瀏覽器設定的默認主頁:Alt+HOME
49.添加到收藏夾:
〈a href="java :external.addFavorite(http://www.itren.cn ,www.itren.cn);"〉添加到收藏夾〈/a〉
50.設為首頁:
〈a href=# =this.style.behavior=url(#default#homepage);this.setHomePage(http://www.itren.cn); 〉設為首頁〈/a〉
51.定制瀏覽器地址欄前的小圖標:
A:在網頁的〈head〉〈/head〉間加入以下語句:
〈link rel="shortcuticon" href="http://…/icon.ico"〉
即可。其中 icon.ico 為 16x16 的圖標文件,顏色不要超過 16 色。
52.把滾動條放在瀏覽器窗口的左邊
A:在 <body> 中加 dir=RTL,即 <body dir=RTL>
53.頁面全部保護
<>
<!--
//加入頁面保護
rf()
{return false; }
oncontextmenu = rf
keydown()
{if(event.ctrlKey ==true || event.keyCode ==93 || event.shiftKey ==true){return false;} }
down =keydown
drag()
{return false;}
ondragstart=drag
stopmouse(e) {
if (navigator.appName == Netscape && (e.which == 3 || e.which == 2))
return false;
else if
(navigator.appName == Microsoft Internet Explorer && (event.button == 2 || event.button == 3)) {
alert("IT人帶給你的是最好的東西");
return false;
}
return true;
}
down=stopmouse;
if (layers)
captureEvents(Event.MOUSEDOWN);
down=stopmouse;
//-->
</>
54.狀態欄的特效,可以很好的屏蔽顯示的地址
< language=java>kstatus();
e3i5(){
self.status="※※歡迎來到【IT人】※※★☆趕快把http://www.itren.cn 告訴給你的朋友吧★☆※※";
setTimeout("e3i5()",0);
}</>
55.防刷新代碼
<%
Dim URL
If DateDiff("s",Request.s("oesun")("vitistime"),Now())<2 Then
URL=Request.ServerVariables("Http_REFERER")
Response.Write("< http-equiv=""refresh"" content=""2;URL="&URL&""">")
Response.Write("防刷新,兩秒后自動跳轉...")
Response.End
End IF
Response.s("oesun")("vitistime")=Now()
%>
56. oncontextmenu="event.return=false" 將徹底屏蔽鼠標右鍵
<table border oncontextmenu=return(false)><td>no</table> 可用于Table
57. <body onselectstart="return false"> 取消選取、防止復制
58. onpaste="return false" 不準粘貼
59. oncopy="return false;" oncut="return false;" 防止復制
60. <link rel="Shortcut Icon" href="favicon.ico"> IE地址欄前換成自己的圖標
61. <link rel="Bookmark" href="favicon.ico"> 可以在收藏夾中顯示出你的圖標
62. <input style="ime-mode:disabled"> 關閉輸入法
63. 永遠都會帶著框架
< language="Java"><!--
if (window == top)top.location.href = "s.htm"; //s.htm為框架網頁
// --></>
64. 防止被人
< LANGUAGE=JAVA><!--
if (top.location != self.location)top.location=self.location;
// --></>
65. 網頁將不能被另存為
<no><i src="/*.html>";</i></no>
66. <input type=button =查看網頁源代碼
="location = view-source:+
67.刪除時確認
<a href="/java" :if(confirm("確實要刪除嗎?"))location="boos.asp?&areyou=刪除&page=1">刪
除</a>
68. 取得控件的絕對位置
//Java
< language="Java">
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);
}
</>
//VB
< language="VB"><!--
getIE()
dim t,l,a,b
set a=all.img1
t=all.img1.offsetTop
l=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
--></>
69. 光標是停在文本框文字的最后
< language="java">
cc()
{
var e = event.srcElement;
var r =e.createTextRange();
r.moveStart(character,e..length);
r.collapse(true);
r.select();
}
</>
<input type=text name=text1 ="123" ="cc()">
70. 判斷上一頁的來源
java :
referrer
71. 最小化、最大化、關閉窗口
<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" ="Minimize"></object>
<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" ="Maximize"></object>
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" ="Close"></OBJECT>
<input type=button =最小化 =hh1.Click()>
<input type=button =最大化 =hh2.Click()>
<input type=button =關閉 =hh3.Click()>
本例適用于IE
72.屏蔽功能鍵Shift,Alt,Ctrl
<>
look(){
if(event.shiftKey)
alert("禁止按Shift鍵!"); //可以換成ALT CTRL
}
down=look;
</>
73. 網頁不會被緩存
< HTTP-EQUIV="pragma" CONTENT="no-cache">
< HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
< HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
或者< HTTP-EQUIV="expires" CONTENT="0">
74.怎樣讓表單沒有凹凸感?
<input type=text style="border:1 solid #000000">
或
<input type=text style="border-left:none; border-right:none; border-top:none; border-bottom:
1 solid #000000"></textarea>
75.<div><span>&<layer>的區別?
<div>(division)用來定義大段的頁面元素,會產生轉行
<span>用來定義同一行內的元素,跟<div>的唯一區別是不產生轉行
<layer>是ns的標記,ie不支持,相當于<div>
76.讓彈出窗口總是在最上面:
<body ="this.focus();">
77.不要滾動條?
讓豎條沒有:
<body style=overflow:scroll;overflow-y:hidden>
</body>
讓橫條沒有:
<body style=overflow:scroll;overflow-x:hidden>
</body>
兩個都去掉?更簡單了
<body scroll="no">
</body>
78.怎樣去掉圖片鏈接點擊后,圖片周圍的虛線?
<a href="#" ="this.blur()"><img src="/logo.jpg" border=0></a>
79.電子郵件處理提交表單
<form name="form1" method="post" action="mailto:****@***.com" enctype="text/plain">
<input type=submit>
</form>
80.在打開的子窗口刷新父窗口的代碼里如何寫?
opener.location.reload()
81.如何設定打開頁面的大小
<body ="top.resizeTo(300,200);">
打開頁面的位置<body ="top.moveBy(300,200);">
82.在頁面中如何加入不是滿鋪的背景圖片,拉動頁面時背景圖不動
<STYLE>
body
{background-image:url(/logo.gif); background-repeat:no-repeat;
background-position:center;background-attachment: fixed}
</STYLE>
83. 檢查一段字符串是否全由數字組成
< language="Java"><!--
checkNum(str){return str.match(//D/)==null}
alert(checkNum("1232142141"))
alert(checkNum("123214214a1"))
// --></>
84. 獲得一個窗口的大小
body.clientWidth; body.clientHeight
85. 怎么判斷是否是字符
if (/[^/x00-/xff]/g.test(s)) alert("含有漢字");
else alert("全是字符");
86.TEXTAREA自適應文字行數的多少
<textarea rows=1 name=s1 cols=27 onpropertychange="this.style.posHeight=this.scrollHeight">
</textarea>
87. 日期減去天數等于第二個日期
< language=Java>
cc(dd,dadd)
{
//可以加上錯誤處理
var a = new Date(dd)
a = a.Of()
a = a - dadd * 24 * 60 * 60 * 1000
a = new Date(a)
alert(a.getFullYear() + "年" + (a.getMonth() + 1) + "月" + a.getDate() + "日")
}
cc("12/23/2002",2)
</>
88. 選擇了哪一個Radio
<HTML>< language="vb">
checkme()
for each ob in radio1
if ob.checked then alert ob.
next
end
</><BODY>
<INPUT name="radio1" type="radio" ="style" checked>Style
<INPUT name="radio1" type="radio" ="barcode">Barcode
<INPUT type="button" ="check" ="checkme()">
</BODY></HTML>
89.腳本永不出錯
< LANGUAGE="Java">
<!-- Hide
killErrors() {
return true;
}
= killErrors;
// -->
</>
90.ENTER鍵可以讓光標移到下一個輸入框
<input down="if(event.keyCode==13)event.keyCode=9">
91. 檢測某個網站的鏈接速度:
把如下代碼加入<body>區域中:
< language=Java>
tim=1
setInterval("tim++",100)
b=1
var autourl=new Array()
autourl[1]=www.itren.cn
autourl[2]="
autourl[3]="
autourl[4]=www.ebb365.com
autourl[5]="
butt(){
write("<form name=autof>")
for(var i=1;i<autourl.length;i++)
write("<input type=text name=txt"+i+" size=10 =測試中……> =》<input type=text
name=url"+i+" size=40> =》<input type=button =GO
=open(this.form.url"+i+".)><br>")
write("<input type=submit =刷新></form>")
}
butt()
auto(url){
forms[0]["url"+b].=url
if(tim>200)
{forms[0]["txt"+b].="鏈接超時"}
else
{forms[0]["txt"+b].="時間"+tim/10+"秒"}
b++
}
run(){for(var i=1;i<autourl.length;i++)write("<img
src=http://"+autourl+"/"+Math.random()+" width=1 height=1
=auto(http://"+autourl+")>") }
run()</>
92. 各種樣式的光標
auto :標準光標 default :標準箭頭 hand :手形光標 wait :等待光標 text :I形光標 vertical-text :水平I形光標 no-drop :不可拖動光標 not-allowed :無效光標 help :?幫助光標 all-scroll :三角方向標 move :移動標 crosshair :十字標 e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
93.頁面進入和退出的特效
進入頁面< http-equiv="Page-Enter" content="revealTrans(duration=x, transition=y)">
推出頁面< http-equiv="Page-Exit" content="revealTrans(duration=x, transition=y)">
這個是頁面被載入和調出時的一些特效。duration表示特效的持續時間,以秒為單位。transition表示使用哪種特效,取值為1-23:
0 矩形縮小 1 矩形擴大 2 圓形縮小 3 圓形擴大 4 下到上刷新 5 上到下刷新 6 左到右刷新 7 右到左刷新 8 豎百葉窗 9 橫百葉窗 10 錯位橫百葉窗 11 錯位豎百葉窗 12 點擴散 13 左右到中間刷新 14 中間到左右刷新 15 中間到上下 16 上下到中間 17 右下到左上 18 右上到左下 19 左上到右下 20 左下到右上 21 橫條 22 豎條 23 以上22種隨機選擇一種
94.在規定時間內跳轉
< http-equiv=V="REFRESH" content="5;URL=http://www.51js.com">
95.網頁是否被檢索
< name="ROBOTS" content="屬性值">
其中屬性值有以下一些:
屬性值為"all": 文件將被檢索,且頁上鏈接可被查詢;
屬性值為"none": 文件不被檢索,而且不查詢頁上的鏈接;
屬性值為"index": 文件將被檢索;
屬性值為"follow": 查詢頁上的鏈接;
屬性值為"noindex": 文件不檢索,但可被查詢鏈接;
屬性值為"nofollow": 文件不被檢索,但可查詢頁上的鏈接。
96.flash播放器代碼:
< language="Java" src="http://w2.k688.com/flashmtv/free/1 ... </>(嵌入式)
< language="Java" src="http://w2.k688.com/flashmtv/free/2 ... </>(彈出式)
< language="Java" src="http://w2.k688.com/flashmtv/free/3 ... </>(按鈕式)
97.多郵箱登陸代碼:
<TABLE width="760" height="1" style=font-size:9pt;TEXT-DECORATION:none; border=0 align=center cellPadding=0 cellSpacing=0 bordercolor="#111111" >
<FORM name=mailForm onsubmit="return check(this)" method=post>
<TBODY><TR> <TD width="78%" height=26 align=left bgcolor="#3DB836">
<div align="center"><STRONG><a href="http://www.k688.com/"style=font-size:9pt;TEXT-DEC ... 00CCtarget="_blank"> 郵箱快速登陸→</a></STRONG> <font style=font-size:9pt;>帳號</font>
< language=j.encode src="http://w1.k688.com/free/xjlmail.js"></>
<input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid" ="this.=;" size=16 =用戶名 name=name>
<font style=font-size:9pt;>信箱:</font>
<select tabindex=2 size=1 name=mailSelect>
<option selected>請選擇您的郵局</option>
<option =http://mail.sina.com.cn/cgi-bin/login.cgi;u;psw>@sina.com</option>
<option =http://vip.sina.com/cgi-bin/login.cgi;user;pass>@vip.sina.com</option>
<option =http://bjweb.163.net/cgi/163/login_pro.cgi;user;pass>@163.net</option>
<option =http://webmail.21cn.net/nature/gb/NULL/NULL/NULL/SignIn.gen;LoginName;passwd;hidden;DomainName;21cn.net>@21cn.net</option>
<option =http://freemail.263.net/cgi/login;user;pass>@263.net</option>
<option =http://vip.163.com/payment/VipLogon.jsp;username;password;post>@vip.163.com</option>
<option =http://web.netease.com/cgi/login;user;pass;post>@netease.com</option>
<option =http://web.yeah.net/cgi/login;user;pass;post>@Yeah.net</option>
<option =http://freemail.china.com/extend/gb/NULL/NULL/NULL/SignIn.gen;LoginName;passwd;post>@mail.china.com</option>
<option =http://login.mail.sohu.com/chkpwd.php;UserName;Password;post>@sohu.com</option>
<option =http://login.chinaren.com/zhs/servlet/Login;username;password;post;hidden;url;http://mail.chinaren.com>@ChinaRen.com</option>
<option =http://edit.bjs.yahoo.com/config/login;login;passwd;post>@yahoo.com.cn</option>
<option =https://login.passport.com/ppsecure/post.srf?da=passport.com&svc=mail;login;passwd;suffix;msn.com>@msn.com</option></select>
<font style=font-size:9pt;>密碼:</font>
<input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid"
=this.select() tabindex=3ā type=password size=12 name=password>
<input type=submit =登陸 name=Submit2>
< language="Java" type="text/Java" src="http://union.3721.com/ass/txt_2.js?pid2=A_ ... ;></>
<a href="http://www.k688.com/"style=font-size:9pt;TEXT-DECORATIO ... 0"target="_blank">
<font color="#FF0000">免費代碼</font></a> </div></TD></TR></FORM></TABLE>
98.IP來源地顯示代碼:(四種)
1)< src="http://w1.k688.com/ip/ip1.js"></>
效果:歡迎您來自:福建省福州市 的朋友.您的IP:218.66.37.215【網】
2)< src="http://w1.k688.com/ip/ip2.js"></>
效果: 您的IP:218.66.37.215
您來自:福建省福州市
3)< src="http://w1.k688.com/ip/ip3.js"></>
效果:您的IP:218.66.37.215.來自:福建省福州市【網】
4)< src="http://w1.k688.com/ip/ip4.js"></>
效果:(只顯示IP和地址,前后文字可自己添加)
218.10.89.246 黑龍江省哈爾濱市 【網】 218.10.89.246 黑龍江省哈爾濱市 【網】 219.128.2.25 廣東省中山市 【網】 218.10.89.246 黑龍江省哈爾濱市 【網】 219.128.2.25 廣東省中山市 【網】 218.66.37.215. 福建省福州市【網】
99.百度搜索代碼:
<i id="baidu" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
spacing="0" border="0" scrolling="no" width="468" height="50"
src="http://unstat.baidu.com/bdun.bsc?tn=jianliang&csid=101&rkcs=2& ... 000&rk=0&bd=1&bdas=0">
</i>
本文轉自:http://boke.itren.cn/u/天涯任我行/archives/2006/102.html
---------------------------------------------------------------------------------------------------------------------------------
說人之短,乃護己之短。夸己之長,乃忌人之長。皆由存心不厚,識量太狹耳。能去此弊,可以進德,可以遠怨。
http://m.tkk7.com/szhswl
------------------------------------------------------------------------------------------------------ ----------------- ---------
posted on 2007-12-05 13:39
宋針還 閱讀(1271)
評論(0) 編輯 收藏 所屬分類:
JAVASCRIPT