如內(nèi)容超出單元格,則隱藏
style="TABLE-LAYOUT: fixed"
讓彈出窗口總是在最上面: <body onblur="this.focus();">
不要滾動(dòng)條? 讓豎條沒(méi)有: <body style=‘overflow:scroll;overflow-y:hidden‘> </body>
讓橫條沒(méi)有: <body style=‘overflow:scroll;overflow-x:hidden‘> </body>
兩個(gè)都去掉?更簡(jiǎn)單了 <body scroll="no"> </body>
怎樣去掉圖片鏈接點(diǎn)擊后,圖片周圍的虛線? <a href="#" onFocus="this.blur()"><img src="logo.jpg" border=0></a>
電子郵件處理提交表單 <form name="form1" method="post" action="mailto:****@***.com" enctype="text/plain"> <input type=submit> </form>
在打開的子窗口刷新父窗口的代碼里如何寫? window.opener.location.reload()
如何設(shè)定打開頁(yè)面的大小 <body onload="top.resizeTo(300,200);">
在頁(yè)面中如何加入不是滿鋪的背景圖片,拉動(dòng)頁(yè)面時(shí)背景圖不動(dòng) <html><head> <STYLE> body {background-image:url(logo.gif); background-repeat:no-repeat; background-position:center } </STYLE> </head> <body bgproperties="fixed" > </body> </html>
各種樣式的光標(biāo) auto :標(biāo)準(zhǔn)光標(biāo)
default :標(biāo)準(zhǔn)箭頭
hand :手形光標(biāo)
wait :等待光標(biāo)
text :I形光標(biāo)
vertical-text :水平I形光標(biāo)
no-drop :不可拖動(dòng)光標(biāo)
not-allowed :無(wú)效光標(biāo)
help :?幫助光標(biāo)
all-scroll :三角方向標(biāo)
move :移動(dòng)標(biāo)
crosshair :十字標(biāo) e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
本機(jī)ip<%=request.servervariables("remote_addr")%>
服務(wù)器名<%=Request.ServerVariables("SERVER_NAME")%>
服務(wù)器IP<%=Request.ServerVariables("LOCAL_ADDR")%>
服務(wù)器端口<%=Request.ServerVariables("SERVER_PORT")%>
服務(wù)器時(shí)間<%=now%> IIS
版本<%=Request.ServerVariables"SERVER_SOFTWARE")%>
腳本超時(shí)時(shí)間<%=Server.ScriptTimeout%>
本文件路徑<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%>
服務(wù)器CPU數(shù)量<%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%>
服務(wù)器解譯引擎<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %>
服務(wù)器操作系統(tǒng)<%=Request.ServerVariables("OS")%>
文本豎排方式
<style type="text/css">
<!--
.shupai {Writing-mode:tb-rl}
-->
</style>
超鏈接去虛線邊框
在鏈接中加上onfocus="this.blur()"
網(wǎng)頁(yè)搜索關(guān)鍵字 頭里插入
<META NAME="keywords" CONTENT="xxxx,xxxx,xxx,xxxxx,xxxx,">
收藏夾圖標(biāo)
<link rel = "Shortcut Icon" href="favicon.ico">
我的電腦
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
網(wǎng)上鄰居
file:///::%7B208D2C60-3AEA-1069-A2D7-08002B30309D%7D
我的文檔
file:///::%7B450D8FBA-AD25-11D0-98A8-0800361B1103%7D
控制面板
file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}
回收站
file:///::%7B645FF040-5081-101B-9F08-00AA002F954E%7D
鼠標(biāo)控制圖片隱現(xiàn)效果
把如下代碼加入<body>區(qū)域中:
<SCRIPT language="javascript">
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
//-->
</SCRIPT>
2、把如下代碼加入<body>區(qū)域中:
<img src="2.gif" style="filter:alpha(opacity=20)"
onMouseOver="makevisible(this,0)"
onMouseOut="makevisible(this,1)">
禁止圖片下載
<A HREF="javascript:void(0)" onMouseover="alert(‘對(duì)不起,此圖片不能下載!‘)">
<IMG SRC="2.gif" Align="center" Border="0" width="99" height="50"></A>
頁(yè)嵌頁(yè)
<iframe width=291 height=247 src="main.files/news.htm" frameBorder=0></iframe>
隱藏滾動(dòng)條
<body style="overflow-x:hidden;overflow-y:hidden"
CSS文字陰影(定義在<TD>中)
.abc{
FILTER: dropshadow(color=#666666, offx=1, offy=1, positive=1); FONT-FAMILY: "宋體"; FONT-SIZE: 9pt;COLOR: #ffffff;
}
列表/菜單
onchange="location=this.options[this.selectedIndex].value"
<iframe id="frm" src="k-xinwen.html" scrolling="no" width="314" height="179"></iframe>
<img src="xiangshang.jpg" onMouseOver="sf=setInterval(‘frm.scrollBy(0,-2)‘,1)" onMouseOut="clearInterval(sf)" width="31" height="31">
<img src="xiangxia.jpg" onMouseOver="sf=setInterval(‘frm.scrollBy(0,2)‘,1)" onMouseOut="clearInterval(sf)" width="31" height="31" >
reurl=server.htmlencode(request.ServerVariables("HTTP_REFERER"))
服務(wù)器上如何定義連接
MM_www_STRING ="driver={Microsoft access Driver (*.mdb)};dbq=" & server.mappath("../data/www.mdb")
鏈接到
response.redirect"login.asp"
location.href="xx.asp"
onClick="window.location=‘login.asp‘"
onClick="window.open(‘‘)"
取得IP
userip = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If userip = "" Then userip = Request.ServerVariables("REMOTE_ADDR")
sql="update feedbak set hit=hit+1 where id="&request("id")
conn.execute(sql)
截取字符是否加...
function formatStr(str,len)
if(len(str)>len)
str = left(str,len) + "..."
end if
formatStr = str
end function
接收表單
If Ucase(Request.ServerVariables("REQUEST_METHOD")) = "POST" then
end if
圖片寬度
<script language="javascript">
<!--
var flag=false;
function DrawImage(ckp){
var image=new Image();
image.src=ckp.src;
if(image.width>0 && image.height>0)
{flag=true;
if(image.width>120){
ckp.width=120;
}else{
ckp.width=image.width;
}
ckp.alt=image.width+"×"+image.height;
}
}
//-->
</script>
I‘ll be Back 22:18:06
<img src="<%=formPath%>/<%=rs("photoname")%>" border="0" onload="javascript:DrawImage(this);">
跳轉(zhuǎn)
<meta http-equiv=refresh content=‘0; url=/distributor/distributor.aspx‘>
溢出欄的設(shè)制
?石家莊網(wǎng)站建設(shè)的優(yōu)點(diǎn):我們是專屬定制,制作符合您公司業(yè)務(wù)、風(fēng)格的網(wǎng)站,這就做到給您制作的網(wǎng)站是網(wǎng)絡(luò)上獨(dú)一無(wú)二的網(wǎng)站,這樣更有利于搜索引擎的收錄。如果您喜歡網(wǎng)絡(luò)上某個(gè)風(fēng)格的網(wǎng)站或者網(wǎng)站模板,我們是只仿制而不直接套用,我們會(huì)對(duì)其中的結(jié)構(gòu)和樣式做增減優(yōu)化,做…
?競(jìng)價(jià)排名營(yíng)銷是一種通過(guò) 競(jìng)價(jià)購(gòu)買搜索引擎中關(guān)鍵詞或關(guān)鍵短語(yǔ)的廣告方式。競(jìng)價(jià)排名營(yíng)銷分為兩種類型。 第一種,直接為真正的搜索引擎結(jié)果的排名付費(fèi),也就是說(shuō)付的錢越多,網(wǎng)頁(yè)所獲得的排名名也就越高。 第二種則更類似于普通的廣告。這種競(jìng)價(jià)排名營(yíng)銷方式通過(guò)…
?網(wǎng)站優(yōu)化對(duì)網(wǎng)站來(lái)說(shuō)是非常重要的,直接決定和影響著網(wǎng)站所起到的作用,以及在各個(gè)地方當(dāng)中的排名。在進(jìn)行seo優(yōu)化的過(guò)程中,我們必須要堅(jiān)持一定的原則,真正的把這些事情做得更好,才可以確保最終的結(jié)果,這對(duì)于我們來(lái)說(shuō)是非常重要的事。 SEO優(yōu)化主要分為8小步: …