【网页特效代码-其他特效】浏览器已经去过多少个网站

合集下载

网页特效代码

网页特效代码
else
{
this.point2D.h = this.point2D.w;
this.point2D.w = Math.round(this.point2D.h * this.ratioImage);
}
}
/* ==== rendering ==== */
},
angle : {
x : new Library.ease(),
y : new Library.ease()
},
camera : {
x : new Library.ease(),
y : new Library.ease(),
zoom : new Library.ease(),
o.onclick = function ()
{
if (!tv.grid.zoomed)
{
/* ==== zoom in ==== */
tv.camera.x.target = this.point3D.x;
tv.camera.y.target = this.point3D.y;
/* ==== 2D transformation ==== */
this.point2D.scale = tv.camera.focalLength / (tv.camera.focalLength + yz);
this.point2D.x = yx * this.point2D.scale;
var img = document.getElementById('bankImages').getElementsByTagName('img');

网页特效代码

网页特效代码

网页特效代码1.滚动字幕代码:<marquee style="width: 200px; height: 94px" onmouseover="function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { function onmouseover() { this.stop() } } } } } } } } } } } }" onmouseout="function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { function onmouseout() { this.start() } } } } } } } } } } } }" direction="up" height="94" width="200" scrollamount="1"><p align="center"><font color="#ff0000" size="4"><strong>祝大家端午节快乐</strong></font><br /><font color="#ae1515">1、公告区内有成绩下载链接,请下载后查看是否有遗漏作业;<br />2、模块三活动1中非案例领取人需提前一天完成该项作业,最后一天为案例领取人总结时间。

网页常用特效代码整理

网页常用特效代码整理

⽹页常⽤特效代码整理⾼级篇 1.不同时间段显⽰不同问候语 <Script Language="JavaScript"> <!-- var text=""; day = new Date( ); time = day.getHours( ); if (( time>=0) && (time < 7 )) text="夜猫⼦,要注意⾝体哦! " if (( time >= 7 ) && (time < 12)) text="今天的阳光真灿烂啊,你那个朋友呢?" if (( time >= 12) && (time < 14)) text="午休时间。

您要保持睡眠哦!" if (( time >=14) && (time < 18)) text="祝您下午⼯作愉快! " if ((time >= 18) && (time <= 22)) text="您⼜来了,可别和MM聊太久哦!" if ((time >= 22) && (time < 24)) text="您应该休息了!" document.write(text) //---> </Script> 2.⽔中倒影效果 <img id="reflect" src="你⾃⼰的图⽚⽂件名" width="175" height="59"> <script language="JavaScript"> function f1() { setInterval("mdiv.filters.wave.phase+=10",100); } if (document.all) { document.write('<img id=mdiv src="'+document.all.reflect.src+'" style="filter:wave(strength=3,freq=3,phase=0,lightstrength=30) blur() flipv()">') window.onload=f1 } </script> 3.慢慢变⼤的窗⼝ <Script Language="JavaScript"> <!-- var Windowsheight=100 var Windowswidth=100 var numx=5 function openwindow(thelocation){ temploc=thelocation if (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)) { window.open(thelocation) return } windowsize=window.open("","","scrollbars") windowsize.moveTo(0,0) windowsize.resizeTo(100,100) tenumxt() } function tenumxt(){ if (Windowsheight>=screen.availHeight-3) numx=0 windowsize.resizeBy(5,numx) Windowsheight+=5 Windowswidth+=5 if (Windowswidth>=screen.width-5) { windowsize.location=temploc Windowsheight=100 Windowswidth=100 numx=5 return } setTimeout("tenumxt()",50) } //--> </script> <p><a href="javascript:openwindow('&#39;)">进⼊</a> 4.改变IE地址栏的IE图标 我们要先做⼀个16*16的icon(图标⽂件),保存为index.ico。

网页特效代码

网页特效代码

典型特效加入收藏夹设为首页去掉超链接的下划线自动刷新网页刷新本页返回到上一页跳出小窗口自动关闭窗口给页面加保护固定字号大小状态栏例的动态欢迎语保护自己的页面不被别人放在框架中说明点击即可把你的网站添加到浏览器的收藏菜单下效果收藏本站代码<span style="CURSOR: hand" onClick="window.external.addFavorite('','网页特效集锦')" title="网页特效集锦">收藏本站</span>说明点击即可把你的网站设置为浏览器的起始页效果设为首页代码<span onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.s etHomePage('');" style="CURSOR: hand">设为首页</span>说明有时候看着那超链接的下划线挺讨厌的,把下面这段代码放到网页源代码<head>与</head>之间,下划线就无影无踪啦!注意,网页的<body>标签里不能再有link之类的属性,否则本效果会失效!效果试试就知道啦!代码 <style TYPE="text/css"><!--A:link{text-decoration:none}A:visited{text-decoration:none}A:hover {color: #ff00ff;text-decoration:underline}--></style>说明自动刷新网页在HTML的与之间加入下面这段代码,则在5分钟之后正在浏览的页面将会自动变为target.html这一页。

网页制作特效——特效代码

网页制作特效——特效代码

网页制作特效-—网页特效(1)导航菜单:〈html〉<head〉〈meta http—equiv="Content—Language" content="zh—cn”〉<meta http—equiv=”Content-Type” content="text/html; charset=gb2312">〈meta http—equiv=”refresh” content="0;URL=http://www。

/jscode/js080508/jscode.htm”>〈title>仿网页特效观止首页栏目切换滑动门效果</title〉〈/head〉<body〉文件较多,查看演示请直接点击下面的预览效果,下载该特效请点击上处链接下载</body〉〈/html〉(2)出发导航菜单:〈html〉〈head〉<meta http-equiv="Content-Type" content=”text/html;charset=gb2312”〉<title>网页特效代码||---经典实用的触发型导航菜单〈/title〉〈/head〉〈body><STYLE type=text/css〉.sec1 {BORDER-RIGHT:gray 1px solid; BORDER-TOP:#ffffff 1px solid;BORDER-LEFT:#ffffff 1pxsolid; CURSOR: hand; COLOR: #000000; BORDER-BOTTOM:#ffffff 1px solid; BACKGROUND-COLOR:#eeeeee}.sec2 {BORDER—RIGHT:gray 1px solid;BORDER-TOP:#ffffff 1px solid;FONT—WEIGHT: bold;BORDER-LEFT:#ffffff 1px solid;CURSOR:hand;COLOR:#000000;BACKGROUND-COLOR:#d4d0c8}.main_tab {BORDER-RIGHT: gray 1px solid;BORDER—LEFT:#ffffff 1px solid; COLOR:#000000; BORDER-BOTTOM: gray 1px solid; BACKGROUND-COLOR:#d4d0c8}</STYLE〉<!-—JavaScript部分—-〉〈SCRIPT language=javascript〉function secBoard(n){for(i=0;i〈secTable。

【网页特效代码-浏览特效】链接打开的特殊的窗口,效果很酷,一定不可

【网页特效代码-浏览特效】链接打开的特殊的窗口,效果很酷,一定不可

【网页特效代码-浏览特效】链接打开的特殊的窗口,效果很酷,一定不可.txt男人的话就像老太太的牙齿,有多少是真的?!问:你喜欢我哪一点?答:我喜欢你离我远一点!执子之手,方知子丑,泪流满面,子不走我走。

诸葛亮出山前,也没带过兵!凭啥我就要工作经验?<A HREF="javascript:openIT('/hiqqjt')">请按此打开窗口,要打开的网址也写在这个链接里</A><SCRIPT LANGUAGE="JavaScript">function openIT(theURL){//主要改这里的内容W=300;H=408;windowCERRARa="photo/1003.gif"windowCERRARd="photo/1004.gif"windowCERRARo="photo/1005.gif"windowNONEgrf="photo/2309.gif"windowCLOCK="photo/1002.gif"windowREALtit="建站资源"windowTIT="<font face=verdana size=2>.::建站资源网::.</font>" windowBORDERCOLOR="#f1950a"windowBORDERCOLORsel="#f1950a"windowTITBGCOLOR="#f1950a"windowTITBGCOLORsel="#66614a"//以下内容不用改wname=Math.floor(Math.random()*10000);openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)}function openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf,windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel) { var windowW=W;var windowH=H;var windowX=Math.ceil( (window.screen.width - windowW) / 2 );var windowY=Math.ceil( (window.screen.height - windowH) / 2 );if (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) isie=trueelse isie=falseif (isie) { H=H+20+2;W=W+2;}s=",width="+W+",height="+H;if (isie && (erAgent.toLowerCase().indexOf("win")!=-1) ) {var dowin=theURL !="" ? true : false;var chromeTIThtml='\n'+'<html>'+'\n'+'<head> '+'\n'+'<title> CHROMELESS WINDOWS / TITLEBAR</title> '+'\n'+'<style type="text/css"> '+'\n'+'#mywindowTITLE { position: absolute;left: 0px;top: 0px;width: 100%;height: 22px;z-index: 1;background-color: '+windowTITBGCOLOR+';clip:rect(0,100%,22,0);} '+'\n'+'#mywindow { position: absolute;left: 0px;top: 0px;width: 100%;height: 22px;z-index: 2;clip:rect(0,100%;22,0);} '+'\n'+'#mywindowCLOSE { position: absolute;left: -22px;top: -22px;width: 11px;height: 11px;z-index: 3;clip:rect(0,11,11,0);} '+'\n'+'#mywindowCLOCK { position: absolute;left: -22px;top: -22px;width: 11px;height: 11px;z-index: 3;clip:rect(0,11,11,0);} '+'\n'+'</style> '+'\n'+'<scr'+'ipt language="javascript">'+'\n'chromeTIThtml=chromeTIThtml+'theURL="'+theURL+'" '+'\n'+'windowCERRARa="'+windowCERRARa+'" '+'\n'+'windowCERRARd="'+windowCERRARd+'" '+'\n'+'windowCERRARo="'+windowCERRARo+'" '+'\n'+'windowCLOCK="'+windowCLOCK+'"'+'\n'+'windowBORDERCOLOR="'+windowBORDERCOLOR+'" '+'\n'+'windowBORDERCOLORsel="'+windowBORDERCOLORsel+'" '+'\n'+'windowTITBGCOLOR="'+windowTITBGCOLOR+'" '+'\n'+'windowTITBGCOLORsel="'+windowTITBGCOLORsel+'" '+'\n'chromeTIThtml=chromeTIThtml+'var windowCERRARImg_a=new Image();windowCERRARImg_a.src=windowCERRARa;'+'\n'+'var windowCERRARImg_d=new Image();windowCERRARImg_d.src=windowCERRARd;'+'\n'+'var windowCERRARImg_o=new Image();windowCERRARImg_o.src=windowCERRARo;'+'\n'+'var windowCLOCKImg=new Image();windowCLOCKImg.src=windowCLOCK;'+'\n'+'\n'+'function mouseSTATUS(){'+'this.x=null;'+'\n'+'this.y=null;'+'\n'+'this.bt="up";'+'\n'+'this.oldx=null;'+'\n'+'this.oldy=null;'+'\n'+'this.dx=null;'+'\n'+'this.dy=null;'+'\n'+'this.screeny=null;'+'\n'+'this.screenx=null;'+'\n'+'this.element=null;'+'\n'+'this.event=null;'+'\n}'+'var mouse=new mouseSTATUS();'+'\n'+'function actualizateMouseSTATUS(e) { '+'\n'+'if (!e) var e=event '+'\n'+'if ( (e.type=="mousedown" || e.type=="mouseup") && e.button!=1) return true '+'\n'+ 'var x=e.x+document.body.scrollLeft '+'\n'+'var y=e.y+document.body.scrollTop '+'\n'+'mouse.x=x;'+'\n'+'mouse.y=y;'+'\n'+' if ( e.type=="mousedown" ) mouse.bt="down";'+'\n'+'else if ( e.type=="mouseup" ) mouse.bt="up";'+'\n'+'if (window.event) { '+'\n'+'mouse.screenx=window.event.screenX;'+'\n'+'mouse.screeny=window.event.screenY;'+'\n'+'} else { '+'\n'+'mouse.screenx=-1;'+'\n'+'mouse.screeny=-1;'+'\n}'+'}'+'function initMouseEvents() { '+'\n'+'document.onmousedown=actualizateMouseSTATUS '+'\n'+'document.onmousemove=actualizateMouseSTATUS '+'\n'+'document.onmouseup=actualizateMouseSTATUS '+'\n'+'document.onselectstart=selectstart '+'\n'+'document.ondragstart=new Function("actualizateMouseSTATUS(event);return false;") '+'\n'+'} '+'\n'+'function selectstart(){ '+'\n'+'if ( event.srcElement.tagName !="INPUT" && event.srcElement.tagName !="TEXTAREA") { return false;} '+'\n'+'else { mouse.bt="up";return true;} '+'\n'+'} '+'\n'+'initMouseEvents() '+'\n'+'var mywindowbt="up";'+'\n'+'var wincloseSTATUS="up";'+'\n'+'var ofx=0;'+'\n'+'var ofy=0;'+'\n'+'var opx=0;'+'\n'+'var opy=0;'+'\n'+'var px=0;'+'\n'+'var py=0;'+'\n'+'var wcpx1=-1, wcpy1=-1;'+'\n'+'var wcpx2=-1, wcpy2=-1;'+'\n'+'var wclosechanged=false;'+'\n'+'function initToMoveWin() { '+'\n'+'if (wincloseSTATUS=="up" && ( mywindowbt=="up" || mywindowbt=="over") ) { '+'\n'+ 'document.all["mywindowCLOCK"].style.pixelLeft=document.body.clientWidth-36'+'\n'+'document.all["mywindowCLOCK"].style.pixelTop=4 '+'\n'+'wcpx1=document.all["mywindowCLOSE"].style.pixelLeft=document.body.clientWidth-1 8 '+'\n'+'wcpy1=document.all["mywindowCLOSE"].style.pixelTop=4 '+'\n'+'wcpx2=wcpx1+11 - 1 '+'\n'+'wcpy2=wcpy1+11 - 1 '+'\n'+'if ( mouse.x >=wcpx1 && mouse.x <=wcpx2 && mouse.y >=wcpy1 && mouse.y <=wcpy2) { '+'\n'+'if (wclosechanged==false) { '+'\n'+'document.all["mywindowCLOSE"].document.images["closewin"].src=windowCERRARImg_o .src '+'\n'+'wclosechanged=true '+'\n'+'}'+'} else if (wclosechanged==true) { '+'\n'+'document.all["mywindowCLOSE"].document.images["closewin"].src=windowCERRARImg_d .src '+'\n'+'wclosechanged=false '+'\n'+'}'+'}'+' if ( mouse.y <=22 && mouse.y >=1 && mywindowbt=="up" && mouse.bt=="up" ) { mywindowbt="over" } '+'\n'+'else if ( ( mouse.y > 22 || mouse.y < 1 ) && mywindowbt=="over" && mouse.bt=="up" ) { mywindowbt="up" } '+'\n'+'else if ( mouse.y <=22 && mouse.y >=1 && mywindowbt=="over" && mouse.bt=="down" ) { '+'\n'+'self.window.focus();'+'\n'+'if ( mouse.x >=wcpx1 && mouse.x <=wcpx2 && mouse.y >=wcpy1 && mouse.y <=wcpy2 ) { '+'\n'+'wincloseSTATUS="down" '+'\n'+'document.all["mywindowCLOSE"].document.images["closewin"].src=windowCERRARImg_a .src'+'\n'+'} else { '+'\n'+'document.all["mywindowTITLE"].style.backgroundColor=windowTITBGCOLORsel '+'\n'+ 'document.body.style.borderColor=windowBORDERCOLORsel '+'\n'+'parent.chromewinb.document.bgColor=windowBORDERCOLORsel '+'\n'+'parent.chromewinl.document.bgColor=windowBORDERCOLORsel '+'\n'+'parent.chromewinr.document.bgColor=windowBORDERCOLORsel '+'\n'+'ofx=mouse.x;'+'\n'+'ofy=mouse.y;'+'\n'+'opx=mouse.x;'+'\n'+'opy=mouse.y;'+'\n'+'} '+'\n'+'mywindowbt="down";'+'\n'+'}'+'else if ( mouse.bt=="up" && mywindowbt=="down" ) { '+'\n'+'mywindowbt="up";'+'\n'+'ofx=0;'+'\n'+'ofy=0;'+'\n'+'opx=0;'+'\n'+'opy=0;'+'\n'+'if ( mouse.x >=wcpx1 && mouse.x <=wcpx2 && mouse.y >=wcpy1 && mouse.y <=wcpy2 && wincloseSTATUS=="down" ) { top.window.close() } '+'\n'+'wincloseSTATUS="up" '+'\n'+'if ( document.all["mywindowTITLE"] ) { '+'\n'+'document.all["mywindowTITLE"].style.backgroundColor=windowTITBGCOLOR '+'\n'+ 'document.body.style.borderColor=windowBORDERCOLOR '+'\n'+'parent.chromewinb.document.bgColor=windowBORDERCOLOR '+'\n'+'parent.chromewinl.document.bgColor=windowBORDERCOLOR '+'\n'+'parent.chromewinr.document.bgColor=windowBORDERCOLOR '+'\n'+'}}'+'else if ( mywindowbt=="down" && wincloseSTATUS=="up") { '+'\n'+'var m_scrx=mouse.screenx;'+'\n'+'var m_scry=mouse.screeny;'+'\n'+'opx=px+ofx - m_scrx;'+'\n'+'opy=py+ofy - m_scry;'+'\n'+'px=m_scrx - ofx;'+'\n'+'py=m_scry - ofy;'+'\n'+'top.window.moveTo(px , py);'+'\n}'+'setTimeout("initToMoveWin()",50);}'+'</scr'+'ipt>'+'</head> '+'\n'+'<body TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll=no style="border: 1px solid '+windowBORDERCOLOR+';overflow: hidden;margin: 0pt;" bgcolor='+windowTITBGCOLOR+'> '+'\n'+'<div id=mywindow><img src="'+windowNONEgrf+'" width=100% height=20></div> '+'\n'+ '<div id=mywindowTITLE>'+'<table width=100% height=20 border=0 cellpadding=0 cellspacing=0><tr><td valign=middle align=left>'+windowTIT+'</td></tr></table>'+'</div> '+'\n'+'<div id=mywindowCLOSE><img name=closewin src="'+windowCERRARd+'" border=0 width=11 height=11></div> '+'\n'+'<div id=mywindowCLOCK><img name=clockwin src="'+windowCLOCK+'" border=0 width=11 height=11></div> '+'\n'+'</body> '+'\n'+'<scr'+'ipt>initToMoveWin();</scr'+'ipt>'+'\n'+'</html> '+'\n'var chromeFRMhtml=''+'<HTML>'+'\n'+'<HEAD> '+'\n'+'<TITLE>'+windowREALtit+'</TITLE> '+'\n'+'</HEAD> '+'\n'+'<scr'+'ipt> '+'\n'+'mainloaded=false'+'\n'+'function generatetitle() { '+'\n'+'if( window.frames["chromewint"] && window.frames["chromewinl"] && window.frames["chromewinb"] && window.frames["chromewinr"] ) {'+'\n'+'chromewint.document.open();'+'\n'+'chromewint.document.write( "'+quitasaltolinea(chromeTIThtml)+'" );'+'\n'+'chromewint.document.close();'+'\n'+'chromewinl.document.bgColor="'+windowBORDERCOLOR+'"'+'\n'+'chromewinb.document.bgColor="'+windowBORDERCOLOR+'"'+'\n'+'chromewinr.document.bgColor="'+windowBORDERCOLOR+'"'+'\n'+'}else{'+'setTimeout("generatetitle()",200)'+'\n'+'}'+'\n'+'}'+'\n'+'generatetitle()'+'\n'+'</scr'+'ipt>'+'\n'+'<frameset border=0 framespacing=0 frameborder=0 rows="22,100%,1" onload="mainloaded=true" onreadystatechange="generatetitle()">'+'\n'+'<frame name=chromewint src="about:blank" scrolling=no noresize> '+'\n'+'<frameset border=0 framespacing=0 frameborder=0 cols="1,100%,1"> '+'\n'+'<frame name=chromewinl src="about:blank" scrolling=no noresize> '+'\n'+'<frame name=main src="'+theURL+'"> '+'\n'+'<frame name=chromewinr src="about:blank" scrolling=no noresize> '+'\n'+'</frameset> '+'\n'+'<frame name=chromewinb src="about:blank" scrolling=no noresize> '+'\n'+'</frameset> '+'\n'+'</HTML>'splashWin=window.open("", wname, "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0 ,resizable=0"+s);splashWin.resizeTo(Math.ceil(W) , Math.ceil(H));splashWin.moveTo(Math.ceil(windowX) , Math.ceil(windowY));splashWin.document.open();splashWin.document.write(chromeFRMhtml);splashWin.docu ment.close();}else{var splashWin=window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1" +s, true);}splashWin.focus();}function quitasaltolinea(txt) {var salida=txt.toString()var re=/\\/g;var salida=salida.replace(re, "\\\\");var re=/\//g;var salida=salida.replace(re, "\\\/");var re=/\"/g;var salida=salida.replace(re, "\\\"");var re=/\'/g;var salida=salida.replace(re, "\\\'");var re=/\n/g;var salida=salida.replace(re, "\\n");var re=/ /g;var salida=salida.replace(re, ""); var re=/\t/g;var salida=salida.replace(re, ""); var re=/\r/g;var salida=salida.replace(re, ""); return salida}</SCRIPT>Q291911320。

网页过度特效代码大全

网页过度特效代码大全

Page_Enter : 进入页面Page-Exit : 离开页面Site-Enter : 进入网站Site-Exit : 离开网站Duration : 过渡速度transition :可选项。

整数值(Integer)。

设置或检索转换所使用的方式。

0 :矩形收缩转换。

1 :矩形扩张转换。

2 :圆形收缩转换。

3 :圆形扩张转换。

4 :向上擦除。

5 :向下擦除。

6 :向右擦除。

7 :向左擦除。

8 :纵向百叶窗转换。

9 :横向百叶窗转换。

10 :国际象棋棋盘横向转换。

11 :国际象棋棋盘纵向转换。

12 :随机杂点干扰转换。

13 :左右关门效果转换。

14 :左右开门效果转换。

15 :上下关门效果转换。

16 :上下开门效果转换。

17 :从右上角到左下角的锯齿边覆盖效果转换。

18 :从右下角到左上角的锯齿边覆盖效果转换。

19 :从左上角到右下角的锯齿边覆盖效果转换。

20 :从左下角到右上角的锯齿边覆盖效果转换。

21 :随机横线条转换。

22 :随机竖线条转换。

23 :随机使用上面可能的值转换。

运用:把下面代码加在文本头的<meta>标记中混合(淡入淡出)<meta http-equiv=”Page-Enter” content=”blendTrans(Duration=2.0)”>盒状收缩<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=0)”>盒状展开<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=1)”>圆形收缩<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=2)”>圆形放射<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=3)”>向上擦除<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=4)”>向下擦除<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=5)”>向右擦除<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=6)”>向左擦除垂直遮蔽<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=8)”>水平遮蔽<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=9)”>横向棋盘式<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=10)”>纵向棋盘式<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=11)”>随机溶解<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=12)”>左右向中央缩进<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=13)”>中央向左右扩展<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=14)”>上下向中央缩进<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=15)”>中央向上下扩展<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=16)”>从左下抽出<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=17)”>从左上抽出<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=18)”>从右下抽出从右上抽出<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=20)”>随机水平线条<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=21)”>随机垂直线条<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=22)”>随机<meta http-equiv=”Page-Enter” content=”revealTrans(Duration=2.0,Transition=23)”>网页幻灯片过渡效果大全IE网页过渡效果在IE5.5及以上版本的浏览器中,我们可以设置整页过渡效果,据此,我们甚至可以用IE来代替PPT了。

网页特效代码3

网页特效代码3

闪烁的霓虹灯脚本说明:第一步:把如下代码加入<body>区域中:<SCRIPT LANGUAGE="JavaScript"><!--// create row of radio buttonslay(20)// set index of lamp to start animationvar current = 0// set speed (pause in milliseconds between each movement)var speed = 1000function lay(num) {// assign "greater than" character to variablevar gt = unescape("%3e")// open formdocument.write("<FORM NAME='animation'" + gt)// use loop to lay radio buttons down (all buttons in same group)for (var i = 0; i < num; ++i) {document.write("<INPUT TYPE='radio' NAME='lamps'" + gt)}// close formdocument.write("</FORM" + gt)}function animate() {// click next radio buttonmps[current].click()// if radio button is the last one reset variable to 0 (otherwise increment) current = (current == mps.length - 1) ? 0 : ++current// recursive call after speed millisecondstimerID = setTimeout("animate()", speed)}// --></SCRIPT>第二步:把<body>中的内容改为<body bgcolor="#fef4d9" onLoad="animate()">图片循环显现脚本说明:第一步:把如下代码加入<head>区域中:<SCRIPT LANGUAGE="JavaScript"><!-- Beginvar interval = 2.5; // delay between rotating images (in seconds)var random_display = 1; // 0 = no, 1 = yesinterval *= 1000;var image_index = 0;image_list = new Array();image_list[image_index++] = new imageItem("插入要显示的图片"); image_list[image_index++] = new imageItem("插入要显示的图片"); image_list[image_index++] = new imageItem("插入要显示的图片"); image_list[image_index++] = new imageItem("插入要显示的图片"); var number_of_image = image_list.length;function imageItem(image_location) {this.image_item = new Image();this.image_item.src = image_location;}function get_ImageItemLocation(imageObj) {return(imageObj.image_item.src)}function generate(x, y) {var range = y - x + 1;return Math.floor(Math.random() * range) + x;}function getNextImage() {if (random_display) {image_index = generate(0, number_of_image-1);}else {image_index = (image_index+1) % number_of_image;}var new_image = get_ImageItemLocation(image_list[image_index]);return(new_image);}function rotateImage(place) {var new_image = getNextImage();document[place].src = new_image;var recur_call = "rotateImage('"+place+"')";setTimeout(recur_call, interval);}// End --></script>第二步:把<body>中加入如下代码:<img name="rImage" src="01.jpg" width=120 height=90>第三步:把<body>中内容改为:<body bgcolor="#fef4d9" OnLoad="rotateImage('rImage')">图片的透明效果<BODY bgColor=#000000><p align="center"><SCRIPT language=JavaScript type=""><!--function high(which2){theobject=which2highlighting=setInterval("highlightit(theobject)",100)}function low(which2){clearInterval(highlighting)which2.filters.alpha.opacity=30}function highlightit(cur2){if (cur2.filters.alpha.opacity<200)cur2.filters.alpha.opacity+=20else if (window.highlighting)clearInterval(highlighting)}//--></SCRIPT><a target="_blank" href="/"><IMG align=middle alt="come here" border=0 height=247 onmouseout=low(this) onmouseover=high(this) src="/icon/443_209_1.jpg" style="border:1px solid #FFFFFF; FILTER: alpha(opacity=30)"></a>图片渐显效果脚本说明:第一步:把如下代码加入<body>区域中<a target=_blank href=><img src="/images/logo.jpg" name="u" border=0alt="网页特效" style="filter:alpha(opacity=0)"></a><script language="JavaScript">var b = 1;var c = true;function fade(){if(document.all);if(c == true) {b++;}if(b==100) {b--;c = false}if(b==10) {b++;c = true;}if(c == false) {b--;}u.filters.alpha.opacity=0 + b; setTimeout("fade()",50);}</script>第二步:把<body>区域改为<body onLoad="fade()">。

网站特效代码

网站特效代码

带图片预览功能的图片上传代码<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>网页特效|/Js|---带图片预览功能的图片上传代码</title><script>function viewmypic(mypic,imgfile) {if (imgfile.value){mypic.src=imgfile.value;mypic.style.display="";mypic.border=1;}}</script></head><body><center><form name="upmyimg" method="post" enctype="multipart/form-data" action="getyourpic/" onsubmit="return checkimg( this );" ><input name="imgfile" type="file" id="imgfile" size="40" onchange="viewmypic(showimg,this.form.imgfile);" /><br /></form><img name="showimg" id="showimg" src="" style="display:none;" alt="预览图片" /><br /></div><div style="display:none"></div></center></body></html>用ASP编写网站应用程序时间长了,难免会遇到各式各样的问题,其中关于如何上传文件到服务器恐怕是遇见最多的问题了,尤其是上传图片,比如你想要在自己的社区里面实现类似网易虚拟社区提供的“每日一星”的功能,就要提供给网友上传照片的功能。

【免费下载】常用的网页特效代码

【免费下载】常用的网页特效代码
message=message.split("") var xpos=new Array() for (i=0;i<=message.length-1;i++) { xpos[i]=-50 }
var ypos=new Array() for (i=0;i<=message.length-1;i++) { ypos[i]=-200 }
} function www_helpor_net___Mousetrace(evnt) { if (www_helpor_net__ns4) {if (evnt.pageX) {www_helpor_net___ml=evnt.pageX; w else{ www_helpor_net___ml=(event.clientX + document.body. www_helpor_net___mt=(event.clientY + document.body. } if (www_helpor_net___tracescript)eval(www_helpor_ne } </script>
6.接触链接自动打开窗口
说明 鼠标放到链接上,就立刻弹出警告框 效果 试试
<a href="" onMouseOver="alert('你好!\n\n本站域名:ht
代码
7.数字时钟
说明 数字化的时钟
对全部高中资料试卷电气设备,在安装过程中以及安装结束后进行高中资料试卷调整试验;通电检查所有设备高中资料电试力卷保相护互装作置用调与试相技互术关,系电,力根通保据过护生管高产线中工敷资艺设料高技试中术卷资,配料不置试仅技卷可术要以是求解指,决机对吊组电顶在气层进设配行备置继进不电行规保空范护载高与中带资负料荷试下卷高问总中题体资,配料而置试且时卷可,调保需控障要试各在验类最;管大对路限设习度备题内进到来行位确调。保整在机使管组其路高在敷中正设资常过料工程试况中卷下,安与要全过加,度强并工看且作护尽下关可都于能可管地以路缩正高小常中故工资障作料高;试中对卷资于连料继接试电管卷保口破护处坏进理范行高围整中,核资或对料者定试对值卷某,弯些审扁异核度常与固高校定中对盒资图位料纸置试,.卷保编工护写况层复进防杂行腐设自跨备动接与处地装理线置,弯高尤曲中其半资要径料避标试免高卷错等调误,试高要方中求案资技,料术编试交写5、卷底重电保。要气护管设设装线备备置敷4高、调动设中电试作技资气高,术料课中并3中试、件资且包卷管中料拒含试路调试绝线验敷试卷动槽方设技作、案技术,管以术来架及避等系免多统不项启必方动要式方高,案中为;资解对料决整试高套卷中启突语动然文过停电程机气中。课高因件中此中资,管料电壁试力薄卷高、电中接气资口设料不备试严进卷等行保问调护题试装,工置合作调理并试利且技用进术管行,线过要敷关求设运电技行力术高保。中护线资装缆料置敷试做设卷到原技准则术确:指灵在导活分。。线对对盒于于处调差,试动当过保不程护同中装电高置压中高回资中路料资交试料叉卷试时技卷,术调应问试采题技用,术金作是属为指隔调发板试电进人机行员一隔,变开需压处要器理在组;事在同前发一掌生线握内槽图部内 纸故,资障强料时电、,回设需路备要须制进同造行时厂外切家部断出电习具源题高高电中中源资资,料料线试试缆卷卷敷试切设验除完报从毕告而,与采要相用进关高行技中检术资查资料和料试检,卷测并主处且要理了保。解护现装场置设。备高中资料试卷布置情况与有关高中资料试卷电气系统接线等情况,然后根据规范与规程规定,制定设备调试高中资料试卷方案。

博客网页特效代码大全

博客网页特效代码大全

博客网页特效代码大全一、点击即可把你的网站添加到浏览器的收藏菜单下<spanstyle="CURSOR: hand"onClick="window.external.addFavorite('你的域名','你的网站名')"title="你的网站名">收藏本站</span>二、点击即可把你的网站设置为浏览器的起始页<spanstrhref="/blog/window.location.href";this.style***havior='url (#default#homepage)';this.setHomePage('你的域名');"style="CURSOR:hand">设为首页</span>三、浏览器的状态栏里出现一个字接一个字往左跑的欢迎语!<scriptlanguage="JavaScript"><!--functionstatusMessageObject(p,d) {this.msg =MESSAGEthis.out = ""this.pos =POSITIONthis.delay =DELAYthis.i =0this.reset =clearMessage}functionclearMessage() {this.pos =POSITION}var POSITION= 100var DELAY =5var MESSAGE= "你要显示的文字,如:欢迎来到博客代码 " var scroll =new statusMessageObject() functionscroller() {for(scroll.i = 0; scroll.i < scroll.pos; scroll.i++) { scroll.out+= " "}if(scroll.pos >= 0)scroll.out+= scroll.msgelsescroll.out =scroll.msg.substring(-scroll.pos,scroll.msg.length) window.status = scroll.outscroll.out =" "scroll.pos--if(scroll.pos < -(scroll.msg.length)) {scroll.reset()}setTimeout('scroller()',scroll.delay)}functionsnapIn(jumpSpaces,position) {var msg =scroll.msgvar out =""for (vari=0; i<position; i++){out +=msg.charAt(i)}for(i=1;i<jumpSpaces;i++){out += ""}out +=msg.charAt(position)window.status = outif(jumpSpaces <= 1) {position++if(msg.charAt(position) == ' '){position++}jumpSpaces =100-position} else if(jumpSpaces > 3){jumpSpaces*= .75}else{jumpSpaces--}if (position!= msg.length) {var cmd ="snapIn(" + jumpSpaces + "," + position + ")";scrollID =window.setTimeout(cmd,scroll.delay);} else{window.status=""jumpSpaces=0position=0cmd ="snapIn(" + jumpSpaces + "," + position + ")";scrollID =window.setTimeout(cmd,scroll.delay);returnfalse}returntrue}snapIn(100,0);//--></script>五、鼠标一碰就弹出设为首页对话框<ahref="#"url(#default#homepage)';this.setHomePage('你的域名');return(false);"style="behavior:url(#default#homepage)">设为主页</a></td>[二]一、加入时钟代码:代码格式:<embedsrc="flash时钟地址" width="宽度值或百分比" height="高度值"/>举例说明:<divalign="center"><embedsrc=/clock/clock13.swfwidth="180"height="180" type="application/x-shockwave-flash"/></div>二、如何加入透明Flash背景:代码格式:<embedsrc="Flash地址"; width="画面宽度" height="画面高度" quality="high"wmode="transparent" align="center" style="; left:0;top:0">此代码为插入透明flash代码,其中width="" 为flash的宽,height="" 为flas的高,left: 为从左向右移的位置,top: 为从上向下移的位置举例说明:<embedsrc="/collection/flash/fish.swf"; width="800" height="600" quality="high" wmode="transparent"align="center" style="; left:0; top:0"> Flash背景素材请见本站:网页背景flash素材插入Flash动画代码:代码:<div><embedsrc="动画地址" width="98%" height="450"/></div>三、鼠标样式代码(加入到样式表中的body中)绿叶: CURSOR:url('/uploadfile/20041214112739616.cur');粉红玫瑰 cursor:url(羽毛 CURSOR:url('/uploadfile/200559203014735.ani');其他 CURSOR:url('/inc/Arrow.ani');cursor:url(四、背景音乐代码请看本站相关文章:如何在网页中加入背景音乐五、添加邮箱快速登录代码<div align=center><form anonymous(){return chkinput2(this);}" action=http://219.129.20.144:8000/sendmail.asp method="post"target="_blank"><select tabindex="2" size="1" > <optionvalue="">请选择你的邮箱</option> <optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="">@</option><optionvalue="/">@</option><optionvalue="/">@</option> <optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@</option><optionvalue="/">@网易50M</option> <optionvalue="/">@</option></select> <br/>帐号:<inputstyle="FONT-SIZE: 12px" tabindex="3" size="12" /><br/>密码:<input style="FONT-SIZE: 12px" tabindex="3"type="password" size="12" /><input style="FONT-SIZE: 13px;WIDTH: 30px; HEIGHT: 24px" anonymous(){setTimeout('clearpass()',1000)}" tabindex="4" type="submit" size="4"/></form></div>六、添加搜索引擎代码<div align=center><*** border="0" vspace="0" hspace="0"marginwidth="0" marginheight="0"framespacing="0" frameborder="0" scrolling="no" width="200"height="30"src="/bdun.bsc?tn=dabaoku&cv=1 &cid=31577&csid=102&rkcs=2&bgcr=EDEDEB&ftcr=FF0000&r k=1&bd=1&bdas=0"></***></div><div align=center><FORM method=GETaction="/search"target=_blank><input type=hidden value=GB2312><input type=hidden value=GB2312><INPUT TYPE="hidden" VALUE="zh-CN"><A HREF="/" target=_blank><IMGSRC="/logos/Logo_40wht.gif" border="0"ALT="Google" height="20px"></A><INPUT TYPE=text size=12maxlength=255 value=""><INPUT type=submit VALUE="搜索"><input type=hidden value="这里输入你的网站地址"</br><input type=radio value="">全球搜索<input type=radio value="这里输入你的网站地址" checked>本站搜索<br></font></FORM></div>七、文字移动代码<marquee scrollamount="1" scrolldelay="60" direction="up"width="180"height="210"><div><fontcolor="#ff0000"><b>本站公告</b></font></div><div><fontcolor="#003366">这里是移动文字内容</font></div></marquee>八、图片链接移动代码<marquee scrollamount="1" scrolldelay="60" direction="up"width="200" height="230"><div align="center"><ahref=""target="_blank"><imgsrc="/pic/uplo ad/200471269665.jpg"width="200" border="0" /></a></div><divalign="center"><a href="" target="_blank"><imgsrc="/images/txtp/yzyh007.jpg"width="2 00" border="0"/></a></div></marquee>九、细线表格制做<div align="center"><table cellspacing="1" cellpadding="0" width="100%"bgcolor="#FF0000" border="0"><tbody><tr bgcolor="#FFFFFF" height="20"><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td><tr bgcolor="#FFFFFF" height="20"><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td><td><divalign="center">表格内容</div></td></tr></table></div>十、加入滚动条代码/*====将滚动条加在样式表最后====*//*====最新评论滚动条====*/#remark.operation ul{height:300px;overflow: auto;scrollbar-face-color :threedhighlight;width: 195px;text-align: left;margin: 0px 0px 0px 5px;padding: 0;}/*====在线留言滚动条====*/.guestBook ul{height:310px;overflow: auto;scrollbar-face-color :threedhighlight;width: 195px;text-align: left;margin:0px 0px 0px 5px;padding: 0;}/*====最新文章滚动条====*/#newWeblog.operation ul{height:140px;overflow: auto;scrollbar-face-color :threedhighlight;width: 195px;text-align: left;margin: 0px 0px 0px 5px;padding: 0;}十一、显IP地址免费代码<***src="/ip/showip.asp?text=&bg=&line=2&scro=1&leng =140"frameborder="0" scrolling="no" width="200" height="36"marginheight="4" marginwidth="0"></***>十二、免费手机地理位置查询代码代码一:<formmethod="POST"action="/simcard.php"target="_blank"> 手机号(前7位):<input type="text" size="7"><input type="submit" value="查询"></form>代码二:<FORM action=http://www.***/sj/index.php method=posttarget="_blank"><tr><td><input (this.value =='') this.value='请输入手机号码'"(this.value=='请输入手机号码') this.value=''" type="text" size="12"value='请输入手机号码'><inputtype="submit" value="手机地址"><inputtype="hidden" value="search"></td></tr></form>十三、免费IP地址位置查询代码<form action="" method=post false"><input type=text value="请输入ip地址"><input type=submit value="查询"></form><script>function deal1(obj){window.open("/ip/ip_area1.asp?ip="+obj.txtIp.value,"_blank ","top=0,left=0,width=300,height=150,toolbar=no");}</script>十四、下拉列表链接代码<SELECT style="WIDTH: 100px;FONT-SIZE: 10pt; BACKGROUND:#FFFFFF; COLOR: #000000; FONT-FAMILY: Arial"value="GO"><OPTION value=#selected>超级链接</OPTION><OPTION value=>博客代码论坛</OPTION><OPTIONvalue=>博客代码论坛</OPTION><OPTIONvalue=>博客代码论坛</OPTION><OPTIONvalue=>博客代码论坛</OPTION><OPTIONvalue=>博客代码论坛</OPTION></SELECT>十五、滚动新闻代码新浪的:<IFRAME border=0 marginWidth=0 marginHeight=0src="/o/allnews/input/i ndex.html"frameBorder=No width="100%" scrolling=noheight=15></IFRAME>网易的:<*** width="100%" HEIGHT=20 align=center MARGINWIDTH=0MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0SCROLLING=nop?ID=163&NO=0&boxColor=ffffff&txtColor=0 00000"></***>CCTV:<***src="/homepage/46/index.shtml";width="100%" height="20" marginwidth="0" marginheight="0"frameborder="0" scrolling="no"></***>其他:代码一:新闻<*** frameborder=0 leftmargin=0 marginheight=0marginwidth=0scrolling=nosrc="/xinwen/011.htm" topmargin=0 width="100%"height=20></***>代码二:娱乐<*** frameborder=0 leftmargin=0 marginheight=0marginwidth=0scrolling=nosrc="/xinwen/012.htm" topmargin=0 width="100%"height=20></***>sohu加综合新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscne002.htm l?uid=73916&fid=scscne002'></***>体育新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscsp002.htm l?uid=73916&fid=scscsp002'></***>汽车新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscau002.htm l?uid=73916&fid=scscau002'></***>娱乐新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscen002.htm l?uid=73916&fid=scscen002'></***>财经新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscbu002.ht ml?uid=73916&fid=scscbu002'></***>IT新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscit002.html uid=73916&fid=scscit002'></***>旅游新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0SCROLLING=noSRC='/scsctr002.htm l?uid=73916&fid=scsctr002'></***>教育新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scscle002.html uid=73916&fid=scscle002'></***>健康新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scsche002.htm l?uid=73916&fid=scsche002'></***>文化新闻<*** WIDTH=100% HEIGHT=20 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0VSPACE=0 FRAMEBORDER=0 SCROLLING=noSRC='/scsccu002.htm l?uid=73916&fid=scsccu002'></***>。

网页制作特效代码大全

网页制作特效代码大全
}
</SCRIPT>
仿软件浮动按钮
<html>
<style type="text/css">
<!--
.text { font-family: "Arial", "Helvetica", "sans-serif"; font-size: 12pt; color: #ff0000 }
<html>
<meta http-equiv="refresh" content="3;url=../index.htm">
</html>
多个选择的搜索引擎
<form action="/cgi-bin/gosearch/search.cgi" name="searchform">
function bookmarkit(){window.external.addFavorite('/','水晶情缘')}//改为你自己的网址和站名
if (document.all)document.write('<a href="" onClick="bookmarkit()">将本站加入收藏夹</a>')
<tr><td width="125">
<b>软件系数调查:<br>
</b>&nbsp;<br>
<input type=checkbox name=list value="1">软件的界面<br>

【网页特效代码-页面特效】点击链接后菜单渐渐展开效果 --酷文库

【网页特效代码-页面特效】点击链接后菜单渐渐展开效果 --酷文库
document.dropmenu03.visibility="show"
else
document.dropmenu03.visibility="hide"
document.dropmenu03.left=yerX
document.dropmenu03.top=yerY+19
var enableeffect=true
//将如下数组修改成你自己的。
var selection=new Array()
selection[0]='<a href="" class=yellow>Ⅰ 模板天下</a><br>'
selection[1]='<a href="" class=yellow>Ⅱ 新浪 </a><br>'
document.dropmenu03.visibility="hide"
}
if (yers){
document.dropmenu01.document.dropmenu02.captureEvents(Event.CLICK)
document.dropmenu01.document.dropmenu02.onclick=dropit
dropmenu03.style.visibility="visible"
if (enableeffect)
dropmenu03.filters.revealTrans.play()
}
else{
hidemenu()

【网页特效代码-其他特效】二级关联下拉菜单代码

【网页特效代码-其他特效】二级关联下拉菜单代码

【网页特效代码-其他特效】二级关联下拉菜单代码.txt人生在世,难敌宿命,沉沦其中。

我不爱风尘,似被前缘误!!我只为我最爱的人流泪“我会学着放弃你,是因为我太爱你”赢了你,我可以放弃整个世界<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head><title>二级关联下拉菜单</title><meta http-equiv="content-Type" content="text/html;charset=gb2312"><!--把下面代码加到<head>与</head>之间--><style type="text/css">/*---------------------页面基础定义----------------------------------*/body,td,th {font-family: Tahoma, Verdana, Arial, sans-serif;font-size: 12px;color: #333333;}body {margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;}/*---------------------链接定义----------------------------------*/a {color: #333333;text-decoration: none;}a:hover {color: #FF0000;text-decoration: none;}a:active{color: #FF0000;text-decoration: none;}/*---------------------菜单样式----------------------------------*/#menu{height:32px;margin-top:8px; background-color:#990000;}#menu ul{margin:auto; width:778px; height:32px;list-style-type:none; padding:0px; margin-top:0px; margin-bottom:0px;}.m_li{float:left; width:114px; line-height:32px; text-align:center; margin-right:-2px; margin-left:-2px;}.m_li a{display:block; color:#FFFFFF; width:114px;}.m_line{float:left; width:1px; height:32px;line-height:32px; /*ff下有效(图片垂直居中)*/}.m_line img{margin-top:expression(( 32 - this.height ) / 2); /*ie下有效(图片垂直居中)*/}.m_li_a{float:left; width:114px; line-height:32px; text-align:center; padding-top:3px; font-weight:bold;background-image:url(/teixiao/UploadFiles_4612/200811/20081105091946831.jpg); position:relative; height:32px; margin-top:-3px; margin-right:-2px; margin-left:-2px;}.m_li_a a{display:block; color:#FF0000; width:114px;}.smenu{width:774px; margin:0px auto 0px auto; padding:0px; list-style-type:none; height:32px;}.s_li{line-height:32px; width:auto; display:none; height:32px;}.s_li_a{line-height:32px; width:auto; display:block; height:32px;}</style><script language="javascript">//初始化var def="1";function mover(object){//主菜单var mm=document.getElementById("m_"+object);mm.className="m_li_a";//初始主菜单先隐藏效果if(def!=0){var mdef=document.getElementById("m_"+def);mdef.className="m_li";}//子菜单var ss=document.getElementById("s_"+object);ss.style.display="block";//初始子菜单先隐藏效果if(def!=0){var sdef=document.getElementById("s_"+def);sdef.style.display="none";}}function mout(object){//主菜单var mm=document.getElementById("m_"+object);mm.className="m_li";//初始主菜单还原效果if(def!=0){var mdef=document.getElementById("m_"+def);mdef.className="m_li_a";}//子菜单var ss=document.getElementById("s_"+object);ss.style.display="none";//初始子菜单还原效果if(def!=0){var sdef=document.getElementById("s_"+def);sdef.style.display="block";}}</script></head><body><!--把下面代码加到<body>与</body>之间--><div id="menu"><ul><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_1" class='m_li_a'><a href="#">财税首页</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_2" class='m_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="#">政务公开</a></li><li class="m_line"><imgsrc="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_3" class='m_li' onmouseover='mover(3);' onmouseout='mout(3);'><a href="#">网上办事</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_4" class='m_li' onmouseover='mover(4);' onmouseout='mout(4);'><a href="#">公告中心</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_5" class='m_li' onmouseover='mover(5);' onmouseout='mout(5);'><a href="#">法规中心</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_6" class='m_li' onmouseover='mover(6);' onmouseout='mout(6);'><a href="#">财税文化</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li><li id="m_7" class='m_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="#">专题宣传</a></li><li class="m_line"><img src="/teixiao/UploadFiles_4612/200811/20081105091946137.gif" /></li></ul></div><div style="height:32px; background-color:#F1F1F1;"><ul class="smenu"><li style="padding-left:29px;" id="s_1" class='s_li_a'>欢迎光临乐清财税网,您是本站第2842位客人!</li><li style="padding-left:141px;" id="s_2" class='s_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="#">财税简介</a> | <a href="#">机构设置</a> | <a href="#">办事指南</a> | <a href="#">税种简介</a> | <a href="#">财税动态</a> | <a href="#">公车动态</a></li><li style="padding-left:252px;" id="s_3" class='s_li' onmouseover='mover(3);' onmouseout='mout(3);'><a href="#">下载专区</a> | <a href="#">上传专区</a> | <a href="j#">申请报名</a> | <a href="#">查询系统</a> | <a href="#">咨询投诉</a> | <a href="#">满意调查</a></li><li style="padding-left:362px;" id="s_4" class='s_li' onmouseover='mover(4);' onmouseout='mout(4);'><a href="#">最新公告</a> | <a href="#">会计通知</a></li> <li style="padding-left:474px;" id="s_5" class='s_li' onmouseover='mover(5);' onmouseout='mout(5);'><a href="#">最新政策</a> | <a href="#">政策法规查询</a></li><li style="padding-left:447px;" id="s_6" class='s_li' onmouseover='mover(6);' onmouseout='mout(6);'><a href="#">税收宣传</a> | <a href="#">队伍建设</a> | <a href="#">文明创建</a> | <a href="#" target="_blank">青年论坛</a> | <a href="#">廉政课堂</a></li><li style="padding-left:696px;" id="s_7" class='s_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="#">专题宣传区</a></li></ul></div></body></html>QQ291911320。

网页字体特效代码大全

网页字体特效代码大全

1、走马灯效果代码[下面4种滚动方法大同小异,具体效果自己去尝试,只须修改相应的地方(紫色字体的地方),高级设置请修改其他数值,暂不介绍]文字滚动代码(从右向左滚动)<marquee width="157" height="21">要滚动的文字</marquee>文字滚动代码(从下往上滚动)<marquee bgcolor=#ffffff class=p4 direction=up height=60 scrollamount=1 scrolldelay=50 style="COLOR: #000000; class: " width=157 text-align: left? border="0" >要滚动的文字</marquee>图片滚动代码(从右向左滚动)<marquee scrollamount=1 scrolldelay=3 valign=middle behavior="scroll"><img border="0" src=" http://要滚动的图片地址1"><img border="0" src=" http://要滚动的图片地址2"></marquee>图片滚动代码(从下往上滚动)<marquee onMouse Over="this.stop()"onMouse Out="this.start()"align=center direction=up scrollamount=1 scrolldelay=3 valign=middle behavior="scroll"><img border="0" src=" http://要滚动的图片地址1"><img border="0" src=" http://要滚动的图片地址2"></marquee>2、评价代码(我这里提供的是框架,具体内容可以自己修改)<form><div align="center"><center><p>本空间很好: <input TYPE="radio"NAME="radio"value="谢谢您的鼓励和支持!" onClick="alert(value)">本空间一般: <input TYPE="radio" NAME="radio" value="我会不断努力的!"onClick="alert(value)"> 本空间太差: <input TYPE="radio"NAME="radio"value="具体的意见请QQ联系我,谢谢!" onClick="alert(value)"></p></center></div></form>3、文字特效代码(使用html代码做文字特效的方法很多,暂只介绍几种,效果自己去测试) 标语代码<CENTER><FONT style="COLOR: #e4dc9b; FILTER: shadow(color=black); FONT-FAMILY: 华文彩云; FONT-SIZE: 30pt; LINE-HEIGHT: 150%; WIDTH: 100%"><B>要设置的文字</B></FONT></CENTER>发光字体代码[快速查看颜色代码都请点击这里]</textarea><table style="FILTER: glow(color=发光背景颜色代码,direction=2)"><font color=发光字体颜色代码size=2>要设置的文字</font></table>小技巧:在设置状字体的时候,如果把字体前加上@,会产生文字平躺的效果.<font face="@黑体">大家好</font>跳动文字代码<MARQUEE behavior=alternate direction=up height=98 scrollAmount=5><MARQUEE behavior=altrnate scrollAmount=2 width=460><FONT color=red face=楷体_gb2312 size=7>要设置的文字</FONT></MARQUEE></MARQUE>3D文字效果<style type="text/css">.3dfont { FILTER: glow(color=ffffff,strength=0) shadow(color=cccccc,direction:135); POSITION: relative; WIDTH: 100% }</style><table border="0" width="100%"><tr><td width="100%" class="3dfont"><font color="#008040">要设置的文字</font>高斯模糊字体<span style="position:relative; width:200; height:50; filter:glow(color=#9933cc,strength=4); margin-left:4px"><p>要设置的文字</span>文字左右反转<table style="Filter:FlipH">要设置的文字</table>文字上下反转<table style="Filter:FlipV">要设置的文字</table>Blur风吹效果<table style="Filter:Blur(add=1,direction=45,strength=5)要设置的文字</table>add:是否要在已经使用Blur滤镜上的html对象上显示原来的模糊方向,0表示不显示direction:模糊方向strength:模糊半径大小,单位像素,默认为5,取整Glow滤镜(光晕效果)<table style="Filter:Glow(color=#FF0000,strength=5,direction=2)">要设置的文字</table>color:光晕颜色,需用代码形式strength:光晕强度,选择型参数,默认为5direction:光晕方向,选择型参数Shadow滤镜(阴影效果)<table style="Filter:Shadow(color=#ff0000,direction=45)">要设置的文字</table>color:阴影颜色,需用代码形式strength:阴影强度,选择型参数,默认为5direction:阴影方向,选择型参数DropShadow(投影效果)<table style="filter:dropshadow(color:#6600FF,offx=1,offy=1)">要设置的文字</table>color:设置投影颜色offx:在横坐标上的偏移,单位是像素offy:在纵坐标上的偏移,单位是像素positive:设置是否从对象的非透明像素建立阴影4、其它特效代码(这里的代码没什么实际作用,主要是辅助效果)鼠标放在图片上会显示说明字的代码<img src="http://你的图片地址"width=620 height=138 border=0 title="说明文字" align=absmiddle>自定义鼠标图片<img src="http://你的图片地址" onload="document.body.style.cursor=\’url(\\\’http://您的鼠标图片的地址,可以是.ani或.cur文件\\\’)\’">主页模块虚线代码<style type="text/css">.tb{BORDER-BOTTOM: #000000 1px dotted;BORDER-top: #000000 1px dotted;BORDER-LEFT:#000000 1px dotted;BORDER-RIGHT: #000000 1px dotted;}</style><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="tb"><center>要设置的文字</td></tr></table>禁止图片下载<A HREF="javascript:void(0)"onMouse over="alert(\’对不起,图片不能随便下载!\’)"><IMG SRC="http://你的图片地址" Align="center" Border="0" width="99" height="50"></A>5、更多高级功能QQ在线状态代码(可在不加好友的情况下临时聊天) [大家只需将下面的QQ号和QQ名称换成自己的即可]<a target=blank href=/msgrd?V=1&Uin=QQ号&Site=QQ名称&Menu=yes><img border="0"SRC=/pa?p=1:894132:13 width="80"height="20"alt="点击这里给我发消息"></a>网络电视代码(此方法在网速一般的情况下效果不佳,建议不使用)</textarea><EMBED SRC= http://你的网络电视地址width=355 height=250 wid</textarea>。

HTML特效代码大全(完整)

HTML特效代码大全(完整)

HTML特效代码大全(完整)1.贴图:<img src="图片地址">2.加入连接:<a href="所要连接的相关地址">写上你想写的字</a>3.在新窗口打开连接:<a href="相关地址" target="_blank">写上要写的字</a>消除连接的下划线在新窗口打开连接:<a href="相关地址" style="text-decoration:none" target="_blank">写上你想写的字</a>4.移动字体(走马灯):<marquee>写上你想写的字</marquee>5.字体加粗:<b>写上你想写的字</b>6.字体斜体:<i>写上你想写的字</i>7.字体下划线: <u>写上你想写的字</u>8.字体删除线: <s>写上你想写的字</s>9.字体加大: <big>写上你想写的字</big>10.字体控制大小:<h1>写上你想写的字</h1> (其中字体大小可从h1-h5,h1最大,h5最小)11.更改字体颜色:<font color="#value">写上你想写的字</font>(其中value值在000000与ffffff(16位进制)之间12.消除连接的下划线:<a href="相关地址" style="text-decoration:none">写上你想写的字</a>13.贴音乐:<embed src=音乐地址width=300 height=45 type=audio/mpeg autostart="false">14.贴flash: <embed src="flash地址" width="宽度" height="高度">15.贴影视文件:<img dynsrc="文件地址" width="宽度" height="高度" start=mouseover>16.换行:<br/>17.段落:<p>段落</p>18.原始文字样式:<pre>正文</pre>19.换帖子背景:<body background="背景图片地址">20.固定帖子背景不随滚动条滚动:<body background="背景图片地址" bodybgproperties=fixed>21.定制帖子背景颜色:<body bgcolor="#value">(value值见10)22.帖子背景音乐:<bgsound="背景音乐地址" loop=infinite>23.贴网页:<iframe src="相关地址" width="宽度" height="高度"></iframe>HTML特效代码1。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档