网页制作特效——特效代码
【网页特效代码-页面特效】页面中飞舞的泡泡
var snow = new Array();
snow[0] = "/Jsupload/pao_006699.gif"
snow[1] = "/Jsupload/pao_6699cc.gif"
snow[2] = "/Jsupload/pao_99ccff.gif"
doc_width = 100;
doc_height = self.innerHeight; }
dx[i] += stx[i];
yers["dot"+i].top = yp[i];
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>飞舞的Q291911320泡泡</title>
</head>
<body>
<SCRIPT language=JavaScript>
yers["dot"+i].left = xp[i] +
am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE_NS6() {
else ok=autoGo; }
if (!ok) theURL=altURL; if (theURL) window.location=theURL;
网页特效代码
网页特效代码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中非案例领取人需提前一天完成该项作业,最后一天为案例领取人总结时间。
【网页特效代码-页面特效】网页中弹出小窗口,页面背景逐渐变为半透明
【网页特效代码-页面特效】网页中弹出小窗口,页面背景逐渐变为半透明.txt我是天使,回不去天堂是因为体重的原因。
别人装处,我只好装经验丰富。
泡妞就像挂QQ,每天哄她2个小时,很快就可以太阳了。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml"><head><title>网页中弹出小窗口,页面背景逐渐变为半透明-Q291911320</title><style>html,body{font-size:12px;margin:0px;height:100%;}.mesWindow{border:#666 1px solid;background:#fff;}.mesWindowTop{border-bottom:#eee 1px solid;margin-left:4px;padding:3px;font-weight:bold;text-align:left;font-size:12p x;}.mesWindowContent{margin:4px;font-size:12px;}.mesWindow .close{height:15px;width:28px;border:none;cursor:pointer;text-decorat ion:underline;background:#fff}</style><script>var isIe=(document.all)?true:false;//设置select的可见状态function setSelectState(state){var objl=document.getElementsByTagName('select');for(var i=0;i<objl.length;i++){objl[i].style.visibility=state;}}function mousePosition(ev){if(ev.pageX || ev.pageY){return {x:ev.pageX, y:ev.pageY};}return {x:ev.clientX + document.body.scrollLeft - document.body.clientLeft,y:ev.clientY + document.body.scrollTop - document.body.clientTop};}//弹出方法function showMessageBox(wTitle,content,pos,wWidth){closeWindow();var bWidth=parseInt(document.documentElement.scrollWidth);var bHeight=parseInt(document.documentElement.scrollHeight);if(isIe){setSelectState('hidden');}var back=document.createElement("div");back.id="back";varstyleStr="top:0px;left:0px;position:absolute;background:#666;width:"+bWidth+"px; height:"+bHeight+"px;";styleStr+=(isIe)?"filter:alpha(opacity=0);":"opacity:0;";back.style.cssText=styleStr;document.body.appendChild(back);showBackground(back,50);var mesW=document.createElement("div");mesW.id="mesWindow";mesW.className="mesWindow";mesW.innerHTML="<div class='mesWindowTop'><table width='100%' height='100%'><tr><td>"+wTitle+"</td><td style='width:1px;'><input type='button' onclick='closeWindow();' title='关闭窗口' class='close' value='关闭' /></td></tr></table></div><div class='mesWindowContent' id='mesWindowContent'>"+content+"</div><div class='mesWindowBottom'></div>"; styleStr="left:"+(((pos.x-wWidth)>0)?(pos.x-wWidth):pos.x)+"px;top:"+(pos.y)+"px ;position:absolute;width:"+wWidth+"px;";mesW.style.cssText=styleStr;document.body.appendChild(mesW);}//让背景渐渐变暗function showBackground(obj,endInt){if(isIe){obj.filters.alpha.opacity+=1;if(obj.filters.alpha.opacity<endInt){setTimeout(function(){showBackground(obj,endInt)},5);}}else{var al=parseFloat(obj.style.opacity);al+=0.01;obj.style.opacity=al;if(al<(endInt/100)){setTimeout(function(){showBackground(obj,endInt)},5);}}}//关闭窗口function closeWindow(){if(document.getElementById('back')!=null){document.getElementById('back').parentNode.removeChild(document.getElementById(' back'));}if(document.getElementById('mesWindow')!=null){document.getElementById('mesWindow').parentNode.removeChild(document.getElementB yId('mesWindow'));}if(isIe){setSelectState('');}}//测试弹出function testMessageBox(ev){var objPos = mousePosition(ev);messContent="<div style='padding:20px 0 20px 0;text-align:center'>消息正文</div>"; showMessageBox('窗口标题',messContent,objPos,350);}</script></head><body><div style="padding:20px"><div style="text-align:left";><a href="#none" onclick="testMessageBox(event);">弹出窗口</a></div><div style="text-align:left;padding-left:20px;padding-top:10px";><select ID="Select1" NAME="Select1"><option>下拉</option></select>弹出窗口时会将其隐藏,关闭时会让其显示,目的是在IE中防止弹出的DIV挡不住下拉框</div><div style="text-align:center";><a href="#none" onclick="testMessageBox(event);">弹出窗口</a></div><div style="text-align:right";><a href="#none" onclick="testMessageBox(event);">弹出窗口</a></div></div></body></html>。
网页特效代码
典型特效加入收藏夹设为首页去掉超链接的下划线自动刷新网页刷新本页返回到上一页跳出小窗口自动关闭窗口给页面加保护固定字号大小状态栏例的动态欢迎语保护自己的页面不被别人放在框架中说明点击即可把你的网站添加到浏览器的收藏菜单下效果收藏本站代码<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这一页。
网页各种特效——代码生成
在远方仿建设银行软键盘密码输入器<html><head><title>网页特效代码||---在远方仿建设银行软键盘密码输入器</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><!-- start 以下为页面显示样式,可以自己定义或不要--><style>BODY {SCROLLBAR-FACE-COLOR: #f0f0f6; FONT-SIZE: 9pt; BACKGROUND-ATTACHMENT: fixed; MARGIN: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #f0f0f6; SCROLLBAR-SHADOW-COLOR: #f0f0f6; SCROLLBAR-3DLIGHT-COLOR: #6699cc; LINE-HEIGHT: normal; SCROLLBAR-ARROW-COLOR: #6699cc; SCROLLBAR-TRACK-COLOR: #6699cc; BACKGROUND-REPEAT: repeat; FONT-FAMILY: 宋体;SCROLLBAR-DARKSHADOW-COLOR: #6699cc}.bold {FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #ffffff; LINE-HEIGHT: 180%; FONT-FAMILY: 宋体}TABLE {FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-FAMILY: 宋体}A:link {COLOR: #0000ff; TEXT-DECORATION: none}A:visited {COLOR: #0000ff; TEXT-DECORATION: none}A:hover {COLOR: #ff0000}A:active {COLOR: #ff0000}A.C:link {COLOR: #ffffff; TEXT-DECORATION: noneA.C:visited {COLOR: #ffffff; TEXT-DECORATION: none}A.C:hover {COLOR: #ff0000}A.C:active {COLOR: #ff0000}.textlogin {BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 18px; BACKGROUND-COLOR: #fafafa}.textarea {BORDER-RIGHT: #003399 1px solid; BORDER-TOP: #003399 1px solid; BORDER-LEFT: #003399 1px solid; BORDER-BOTTOM: #003399 1px solid}</style><!-- end 以下为页面显示样式,可以自己定义--><SCRIPT language=JavaScript>window.onload=function(){password1=null;initCalc();}var CapsLockValue=0;var check;self.onError=null;currentX = currentY = 0;whichIt = null;lastScrollX = 0; lastScrollY = 0;NS = (yers) ? 1 : 0;IE = (document.all) ? 1: 0;function checkFocus(x,y) {stalkerx = document.softkeyboard.pageX;stalkery = document.softkeyboard.pageY;stalkerwidth = document.softkeyboard.clip.width;stalkerheight = document.softkeyboard.clip.height;if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;else return false;}function grabIt(e) {check = false;if(IE) {whichIt = event.srcElement;while (whichIt.id.indexOf("softkeyboard") == -1) {whichIt = whichIt.parentElement;if (whichIt == null) { return true; } }whichIt.style.pixelLeft = whichIt.offsetLeft;whichIt.style.pixelTop = whichIt.offsetTop;currentX = (event.clientX + document.body.scrollLeft);currentY = (event.clientY + document.body.scrollTop);} else {window.captureEvents(Event.MOUSEMOVE);if(checkFocus (e.pageX,e.pageY)) {whichIt = document.softkeyboard;StalkerTouchedX = e.pageX-document.softkeyboard.pageX;StalkerTouchedY = e.pageY-document.softkeyboard.pageY;} }return true;}function moveIt(e) {if (whichIt == null) { return false; }if(IE) {newX = (event.clientX + document.body.scrollLeft);newY = (event.clientY + document.body.scrollTop);distanceX = (newX - currentX); distanceY = (newY - currentY);currentX = newX; currentY = newY;whichIt.style.pixelLeft += distanceX;whichIt.style.pixelTop += distanceY;if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop;if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft;if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20;if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5;event.returnValue = false;} else {whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset;if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset;if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17; return false;}return false;}function dropIt() {whichIt = null;if(NS) window.releaseEvents (Event.MOUSEMOVE);return true;}if(NS) {window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);window.onmousedown = grabIt;window.onmousemove = moveIt;window.onmouseup = dropIt;}if(IE) {document.onmousedown = grabIt;document.onmousemove = moveIt;document.onmouseup = dropIt;}document.write("<DIV align=center id=\"softkeyboard\" name=\"softkeyboard\" style=\"position:absolute; left:0px; top:0px; width:500px; z-index:180;display:none\"><table id=\"CalcTable\" width=\"\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"\"><FORM id=Calc name=Calc action=\"\" method=post autocomplete=\"off\"><tr><td title=\"尊敬的客户:为了保证网上交易安全,建议使用密码输入器输入密码!\" align=\"right\" valign=\"middle\" bgcolor=\"\" style=\"cursor: default;height:30\"><INPUT type=hidden value=\"\" name=password><INPUT type=hidden value=ok name=action2> <font style=\"font-size:13px;\">在远方仿建行</font> 密码输入器         & nbsp       <INPUTstyle=\"width:100px;height:20px;background-color:#54BAF1;\" type=button value=\"使用键盘输入\" bgtype=\"1\" onclick=\"password1.readOnly=0;password1.focus();softkeyboard.style.display='none ';password1.value='';\"><span style=\"width:2px;\"></span></td></tr><tr align=\"center\"><td align=\"center\" bgcolor=\"#FFFFFF\"><table align=\"center\" width=\"%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr align=\"left\"valign=\"middle\"><td><input type=button value=\" ~ \"></td><td><input type=button value=\" ! \"></td><td><input type=button value=\" @ \"></td><td><input type=button value=\" # \"></td><td><input type=button value=\" $ \"></td><td><input type=button value=\" % \"></td><td><input type=button value=\" ^ \"></td><td><input type=button value=\" & \"></td><td><input type=button value=\" * \"></td><td><input type=button value=\" ( \"></td><td><input type=button value=\" ) \"></td><td><input type=button value=\" _ \"></td><td><input type=button value=\" + \"></td><td><input type=button value=\" | \"></td><td colspan=\"1\" rowspan=\"2\"><input name=\"button10\" type=button value=\" 退格\" onclick=\"setpassvalue();\"onDblClick=\"setpassvalue();\" style=\"width:100px;height:42px\"></td></tr><tr align=\"left\" valign=\"middle\"><td><input type=button value=\" ` \"></td><td><input type=button value=\" 1 \"></td><td><input type=button value=\"2 \"></td><td><input type=button value=\"3 \"></td><td><input type=button value=\"4 \"></td><td><input type=button value=\"5 \"></td><td><input type=button value=\"6 \"></td><td><input type=button value=\"7 \"></td><td><input type=button value=\"8 \"></td><td><input type=button value=\"9 \"></td><td><input name=\"button6\" type=button value=\" 0 \"></td><td><input type=button value=\" - \"></td><td><input type=button value=\" = \"></td><td><input type=button value=\" \\ \"></td><td></td></tr><tr align=\"left\" valign=\"middle\"><td><input type=button value=\" q \"></td><td><input type=button value=\" w \"></td><td><input type=button value=\" e \"></td><td><input type=button value=\" r \"></td><td><input type=button value=\" t \"></td><td><input type=button value=\" y \"></td><td><input type=button value=\" u \"></td><td><input type=button value=\" i \"></td><td><input type=button value=\" o \"></td><td><input name=\"button8\" type=button value=\" p \"></td><td><input name=\"button9\" type=button value=\" { \"></td><td><input type=button value=\" } \"></td><td><input type=button value=\" [ \"></td><td><input type=button value=\" ] \"></td><td><input name=\"button9\" type=button onClick=\"capsLockText();setCapsLock();\" onDblClick=\"capsLockText();setCapsLock();\" value=\"切换大/小写\"style=\"width:100px;\"></td></tr><tr align=\"left\" valign=\"middle\"><td><input type=button value=\" a \"></td><td><input type=button value=\" s \"></td><td><input type=button value=\" d \"></td><td><input type=button value=\"f \"></td><td><input type=button value=\"g \"></td><td><input type=button value=\"h \"></td><td><input type=button value=\" j \"></td><td><input name=\"button3\" type=button value=\" k \"></td><td><input name=\"button4\" type=button value=\" l \"></td><td><input name=\"button5\" type=button value=\" : \"></td><td><input name=\"button7\" type=button value=\" " \"></td><td><input type=button value=\" ; \"></td><td><input type=button value=\" ' \"></td><td rowspan=\"2\" colspan=\"2\"><input name=\"button12\" type=button onclick=\"OverInput();\" value=\" 确定\"style=\"width:130px;height:42\"></td></tr><tr align=\"left\" valign=\"middle\"><td><input name=\"button2\" type=button value=\" z \"></td><td><input type=button value=\" x \"></td><td><input type=button value=\"c \"></td><td><input type=button value=\" v \"></td><td><input type=button value=\" b \"></td><td><input type=button value=\" n \"></td><td><input type=button value=\" m \"></td><td><input type=button value=\" < \"></td><td><input type=button value=\" > \"></td><td><input type=button value=\" ? \"></td><td><input type=button value=\" , \"></td><td><input type=button value=\" . \"></td><td><input type=button value=\" / \"></td></tr></table></td></FORM></tr></table></DIV>")function addValue(newValue){if (CapsLockValue==0){var str=Calc.password.value;if(str.length<password1.maxLength){Calc.password.value += newValue;}if(str.length<=password1.maxLength){password1.value=Calc.password.value;}}else{var str=Calc.password.value;if(str.length<password1.maxLength){Calc.password.value += newValue.toUpperCase();}if(str.length<=password1.maxLength){password1.value=Calc.password.value;}}}function setpassvalue(){var longnum=Calc.password.value.length;var num;num=Calc.password.value.substr(0,longnum-1);Calc.password.value=num;var str=Calc.password.value;password1.value=Calc.password.value;}function OverInput(){var str=Calc.password.value;password1.value=Calc.password.value;softkeyboard.style.display="none";Calc.password.value="";password1.readOnly=1;}function showkeyboard(){if(event.y+140)softkeyboard.style.top=event.y+document.body.scrollTop+15;if((event.x-250)>0){softkeyboard.style.left=event.x-250;} else{softkeyboard.style.left=0;}softkeyboard.style.display="block";password1.readOnly=1;password1.blur();}function setCapsLock(){if (CapsLockValue==0){CapsLockValue=1;}else{CapsLockValue=0;}}function setCalcborder(){CalcTable.style.border="1px solid #0090FD"}function setHead(){CalcTable.cells[0].style.backgroundColor="#7EDEFF"}function setCalcButtonBg(){for(var i=0;i<Calc.elements.length;i++){if(Calc.elements[i].type=="button"&&Calc.elements[i].bgtype!="1"){ Calc.elements[i].style.borderTopWidth= 0Calc.elements[i].style.borderRightWidth= 2Calc.elements[i].style.borderBottomWidth= 2Calc.elements[i].style.borderLeftWidth= 0Calc.elements[i].style.borderTopStyle= "none";Calc.elements[i].style.borderRightStyle= "solid";Calc.elements[i].style.borderBottomStyle= "solid";Calc.elements[i].style.borderLeftStyle= "none";Calc.elements[i].style.borderTopColor= "#118ACC";Calc.elements[i].style.borderRightColor= "#118ACC";Calc.elements[i].style.borderBottomColor= "#118ACC";Calc.elements[i].style.borderLeftColor= "#118ACC";Calc.elements[i].style.backgroundColor="#ADDEF8";var str1=Calc.elements[i].value;str1=str1.trim();var thisButtonValue=Calc.elements[i].value;thisButtonValue=thisButtonValue.trim();if(thisButtonValue.length==1){Calc.elements[i].onclick=function(){varthisButtonValue=this.value;thisButtonValue=thisButtonValue.trim();addValue(thisBut tonValue);}Calc.elements[i].ondblclick=function(){varthisButtonValue=this.value;thisButtonValue=thisButtonValue.trim();addValue(thisBut tonValue);}}}}}function initCalc(){setCalcborder();setHead();setCalcButtonBg();}String.prototype.trim = function(){return this.replace(/(^\s*)|(\s*$)/g, "");}var capsLockFlag;capsLockFlag=true;function capsLockText(){if(capsLockFlag){for(var i=0;i<Calc.elements.length;i++){var char=Calc.elements[i].value;var char=char.trim();if(Calc.elements[i].type=="button"&&char>="a"&&char<="z"&&char.length==1){ Calc.elements[i].value=" "+String.fromCharCode(char.charCodeAt(0)-32)+" ";} }}else{for(var i=0;i<Calc.elements.length;i++){var char=Calc.elements[i].value;var char=char.trim()if(Calc.elements[i].type=="button"&&char>="A"&&char<="Z"&&char.length==1){ Calc.elements[i].value=" "+String.fromCharCode(char.charCodeAt(0)+32)+" ";}}} capsLockFlag=!capsLockFlag;}</SCRIPT></head><body><BR><div align="center"><table border="0" width="500" id="table1"><tr><td><p style="line-height: 150%">今天闲着无聊,看到建行那个输入密码的方式很不错,顺手给拿了下来,你点击那个登陆密码框就可以看到效果了。
html标签特效代码大全
html标签特效代码大全(让你制作漂亮的页面效果)〈!〉跑马灯〈marquee>.。
.〈/marquee〉普通卷动〈marquee behavior=slide>.。
.〈/marquee〉滑动〈marquee behavior=scroll>.。
.</marquee〉预设卷动〈marquee behavior=alternate>.。
.〈/marquee〉来回卷动〈marquee direction=down>。
</marquee〉向下卷动〈marquee direction=up〉..。
</marquee〉向上卷动<marquee direction=right></marquee〉向右卷动<marquee direction=’left’〉</marquee>向左卷动〈marquee loop=2>...</marquee>卷动次数<marquee width=180〉。
.</marquee〉设定宽度<marquee height=30〉.。
.</marquee>设定高度<marquee bgcolor=FF0000〉。
..〈/marquee>设定背景颜色<marquee scrollamount=30>..。
</marquee〉设定滚动速度<marquee scrolldelay=300〉。
..〈/marquee〉设定卷动时间〈marquee onmouseover=”this.stop()">。
</marquee>鼠标经过上面时停止滚动〈marquee onmouseover=”this.start()”〉..。
</marquee>鼠标离开时开始滚动〈!〉字体效果<h1>。
常用网站特效代码
我们要先做一个16*16的icon(图标文件),保存为index.ico。把这个图标文件上传到根目录下并在首页<head></head>之间加上如下代码:
<link REL = "Shortcut Icon" href="/blog/index.ico">
5.让网页随意后退
11.表格的半透明显示效果
在<head></head>之间加上如下代码:
<style>
.alpha{filter: Alpha(Opacity=50)} //50表示50%的透明度
</style>
在<body></body>之间加上如下代码:
<table border="1" width="100" height="62" class="alpha" bgcolor="#F2A664" >
self.moveBy (0,-800);
for(i = x; i > 0; i--)
{
self.moveBy(0,3);
}
for(j = 200; j > 0; j--){ //如果你认为窗口抖动厉害,就200换成个位数
self.moveBy(0,j);
<a href="java:history.go(-X)">X</a> //把X换成你想要后退在页数
//把“-”变成“+”就为前进
6.鼠标指向时弹出信息框
在<body></body>之间加上如下代码:
<a href over="alert('弹出信息!')">显示的链接文字</a>
网页制作特效——鼠标特效代码
网页制作特效——鼠标特效(一)时钟环绕鼠标<html><head><title>跟随鼠标的日期时间表盘</title></head><BODY><!--将以下代码加入HTML的<Body></Body>之间--><SCRIPT language=JavaScript><!--dCol="0000FF"fCol="FF0000"sCol="00FF00"mCol="000000"hCol="000000"ClockHeight=40;ClockWidth=40;ClockFromMouseY=0;ClockFromMouseX=100;d=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");m=new Array("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月");date=new Date();day=date.getDate();year=date.getYear();if (year < 2000) year=year+1900;TodaysDate="年"+m[date.getMonth()]+" "+day+"日"+d[date.getDay()]+" "+year;D=TodaysDate.split('');H='...';H=H.split('');M='....';M=M.split('');S='.....';S=S.split('');Face='1 2 3 4 5 6 7 8 9 10 11 12';font='Arial';size=1;speed=0.6;ns=(yers);ie=(document.all);Face=Face.split(' ');n=Face.length;a=size*10;ymouse=0;xmouse=0;scrll=0;props="<font face="+font+" size="+size+" color="+fCol+">";props2="<font face="+font+" size="+size+" color="+dCol+">";Split=360/n;Dsplit=360/D.length;HandHeight=ClockHeight/4.5HandWidth=ClockWidth/4.5HandY=-7;HandX=-2.5;scrll=0;step=0.06;currStep=0;y=new Array();x=new Array();Y=new Array();X=new Array();for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}if (ns){for (i=0; i < D.length; i++)document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');for (i=0; i < n; i++)document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');for (i=0; i < S.length; i++)document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');for (i=0; i < M.length; i++)document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');for (i=0; i < H.length; i++)document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');}if (ie){document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');for (i=0; i < D.length; i++)document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+' </font></div>');document.write('</div></div>');document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><divstyle="position:relative">');for (i=0; i < n; i++)document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i] +'</font></div>');document.write('</div></div>');document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');for (i=0; i < H.length; i++)document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';te xt-align:center;font-weight:bold">'+H[i]+'</div>');document.write('</div></div>');document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');for (i=0; i < M.length; i++)document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';t ext-align:center;font-weight:bold">'+M[i]+'</div>');document.write('</div></div>')document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');for (i=0; i < S.length; i++)document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';te xt-align:center;font-weight:bold">'+S[i]+'</div>');document.write('</div></div>')}(ns)?window.captureEvents(Event.MOUSEMOVE):0;function Mouse(evnt){ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY; xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;}(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;function ClockAndAssign(){time = new Date ();secs = time.getSeconds();sec = -1.57 + Math.PI * secs/30;mins = time.getMinutes();min = -1.57 + Math.PI * mins/30;hr = time.getHours();hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;if (ie){Od.style.top=window.document.body.scrollTop;Of.style.top=window.document.body.scrollTop;Oh.style.top=window.document.body.scrollTop;Om.style.top=window.document.body.scrollTop;Os.style.top=window.document.body.scrollTop;}for (i=0; i < n; i++){var F=(ns)?yers['nsFace'+i]:ieFace[i].style;F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);}for (i=0; i < H.length; i++){var HL=(ns)?yers['nsHours'+i]:ieHours[i].style;HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);}for (i=0; i < M.length; i++){var ML=(ns)?yers['nsMinutes'+i]:ieMinutes[i].style;ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);}for (i=0; i < S.length; i++){var SL=(ns)?yers['nsSeconds'+i]:ieSeconds[i].style;SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);}for (i=0; i < D.length; i++){var DL=(ns)?yers['nsDate'+i]:ieDate[i].style;DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll; DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);}currStep-=step;}function Delay(){scrll=(ns)?window.pageYOffset:0;Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);for (i=1; i < D.length; i++){Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);}y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);for (i=1; i < n; i++){y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);}ClockAndAssign();setTimeout('Delay()',40);}if (ns||ie)window.onload=Delay;//--></SCRIPT></body></html>该文章转摘自-网页制作大宝库() - 原文链接:/texiao/shubiao/201007026251.shtml(二)银光鼠标:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>很有特色的荧光鼠标</title><meta name="GENERATOR" content="Microsoft FrontPage 5.0"></head><body id="mybody" style="filter:light(enabled=1);" bgcolor="#ffffff" text="#000000"><divid="Layer1" style="height: 32; left: 66; position: absolute; top: 41; width: 52"><dd><div align="right"><img src="images/light.gif" width="29" height="30"></div></dd></div><p align="center"><b><font size="5">日落大道上的亚洲男孩</font></b></p><table border="0" width="100%"><tr><td width="82%"><font face="宋体" color="#FF00FF" style="font-size: 9pt"></font><span style="font-size: 9pt">人人爱谈张爱玲,尤其在论及服饰的时候。
网页制作特效——特效代码
网页制作特效——网页特效(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=/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.cells.length;i++)secTable.cells[i].className="sec1";secTable.cells[n].className="sec2";for(i=0;i<mainTable.tBodies.length;i++)mainTable.tBodies[i].style.display="none";mainTable.tBodies[n].style.display="block";}</SCRIPT><!--HTML部分--><TABLE id=secTable cellSpacing=0 cellPadding=0 width=549 border=0><TBODY><TR align=middle height=20><TD class=sec2 onclick=secBoard(0) width="10%">关于TBODY标记</TD><TD class=sec1 onclick=secBoard(1) width="10%">关于cells集合</TD><TD class=sec1 onclick=secBoard(2) width="10%">关于tBodies集合</TD><TD class=sec1 onclick=secBoard(3) width="10%">关于display属性</TD></TR></TBODY></TABLE><TABLE class=main_tab id=mainTable height=240 cellSpacing=0 cellPadding=0 width=549 border=0><!--关于TBODY标记--><TBODY style="DISPLAY: block"><TR><TD vAlign=top align=middle><BR><BR><TABLE cellSpacing=0 cellPadding=0 width=490 border=0><TBODY><TR><TD>指定行做为表体。
网页特效代码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()">。
【免费下载】常用的网页特效代码
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> <br>
<input type=checkbox name=list value="1">软件的界面<br>
dreamweaver经典网页特效及网页代码设计技巧系列之---文字跳舞效果
dreamweaver 经典网页特效及网页代码设计技巧系列之---文字跳舞效果脚本说明:第一步:把如下代码加入<body>区域中<SCRIPTlanguage=JavaScript><!--functionMM_reloadPage(init) {if (init==true) with(navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage; }}else if(innerWidth!=document.MM_pgW ||innerHeight!=document.MM_pgH)location.reload(); }MM_reloadPage(true); // --></SCRIPT><SCRIPTlanguage=JavaScript><!--functionMM_timelinePlay(tmLnName, myID) {vari,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firs tTime=false;if (document.MM_Time == null)MM_initTimelines(); tmLn =document.MM_Time[tmLnName];if (myID == null) { myID = ++tmLn.ID; firstTime=true;} if (myID == tmLn.ID){setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay);fNew =++tmLn.curFrame; for (i=0;i<tmLn.length; i++) {sprite = tmLn[i];if (sprite.charAt(0) == 's') {if (sprite.obj) { numKeyFr =sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; if (fNew >=firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {keyFrm=1;for (j=0;j<sprite.values.length; j++) {props =sprite.values[j]; if (numKeyFr != props.length) { if (props.prop2 == null)sprite.obj[props.prop] =props[fNew-firstKeyFr];elsesprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr];} else {while(keyFrm<numKeyFr &&fNew>=sprite.keyFrames[keyFrm])keyFrm++;if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null)sprite.obj[props.prop] =props[keyFrm-1];elsesprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if(sprite.charAt(0)=='b' && fNew ==sprite.frame)eval(sprite.value); if (fNew >stFrame) tmLn.ID = 0; } }}functionMM_timelineGoto(tmLnName, fNew, numGotos) {vari,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,t heObj; if (document.MM_Time == null)MM_initTimelines(); tmLn =document.MM_Time[tmLnName];if (numGotos != null)if (tmLn.gotoCount == null)tmLn.gotoCount = 1; else if(tmLn.gotoCount++ >= numGotos){tmLn.gotoCount=0; return}jmpFwd = (fNew > tmLn.curFrame); for (i = 0; i <tmLn.length; i++) { sprite = (jmpFwd)? tmLn[i] :tmLn[(tmLn.length-1)-i];if (sprite.charAt(0) == "s") {numKeyFr =sprite.keyFrames.length;firstKeyFr =sprite.keyFrames[0]; lastKeyFr =sprite.keyFrames[numKeyFr - 1];if ((jmpFwd &&fNew<firstKeyFr) || (!jmpFwd &&lastKeyFr<fNew)) continue;for (keyFrm=1;keyFrm<numKeyFr &&fNew>=sprite.keyFrames[keyFrm];keyFrm++);for (j=0;j<sprite.values.length; j++) {props =sprite.values[j]; if (numKeyFr == props.length)propNum = keyFrm-1else propNum =Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); if (sprite.obj != null) {if (props.prop2 == null)sprite.obj[props.prop] = props[propNum]; elsesprite.obj[props.prop2][props.prop] = props[propNum]; } } } else if(sprite.charAt(0)=='b' && fNew ==sprite.frame)eval(sprite.value); }tmLn.curFrame = fNew;if (tmLn.ID == 0) eval('MM_timelinePlay(tmLnName)');}functionMM_initTimelines() { //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.var ns =navigator.appName == "Netscape";document.MM_Time = new Array(1);document.MM_Time[0] = new Array(8);document.MM_Time["Timeline1"] =document.MM_Time[0]; document.MM_Time[0].MM_Name ="Timeline1";document.MM_Time[0].fps = 10;document.MM_Time[0][0] = newString("sprite"); document.MM_Time[0][0].slot = 1;if (ns)document.MM_Time[0][0].obj =document["Layer1"]; elsedocument.MM_Time[0][0].obj =document.all ?document.all["Layer1"] : null;document.MM_Time[0][0].keyFrames = new Array(2, 6, 9, 12, 15,18);document.MM_Time[0][0].values = new Array(4);document.MM_Time[0][0].values[0] = newArray(263,264,265,266,268,268,268,268,271,272,273,270,268,266,265,264,26 3); document.MM_Time[0][0].values[0].prop = "left";document.MM_Time[0][0].values[1] = newArray(101,95,89,82,76,87,98,108,100,93,86,91,96,100,102,104,106);document.MM_Time[0][0].values[1].prop = "top";if (!ns) {document.MM_Time[0][0].values[0].prop2 = "style";document.MM_Time[0][0].values[1].prop2 = "style";}document.MM_Time[0][0].values[2] = new Array(58,54,50,46,43,33,24,15,20,25,31,36,41,47,48,49,50);document.MM_Time[0][0].values[2].prop = "width";if (!ns)document.MM_Time[0][0].values[2].prop2 = "style";document.MM_Time[0][0].values[3] = newArray(52,51,50,49,48,46,44,42,43,44,45,46,47,49,48,47,47); document.MM_Time[0][0].values[3].prop = "height";if (!ns)document.MM_Time[0][0].values[3].prop2 = "style";document.MM_Time[0][1] = newString("sprite"); document.MM_Time[0][1].slot = 2;if (ns)document.MM_Time[0][1].obj =document["Layer2"]; elsedocument.MM_Time[0][1].obj =document.all ?document.all["Layer2"] : null;document.MM_Time[0][1].keyFrames = new Array(2, 5, 9, 12, 15, 18);document.MM_Time[0][1].values = new Array(2);document.MM_Time[0][1].values[0] = newArray(323,323,322,322,322,322,322,323,324,326,328,326,324,322,322,322,32 3); document.MM_Time[0][1].values[0].prop = "left";document.MM_Time[0][1].values[1] = new Array(126,120,115,111,110,111,111,111,108,105,101,105,109,113,117,122,126); document.MM_Time[0][1].values[1].prop = "top";if (!ns) {document.MM_Time[0][1].values[0].prop2 = "style";document.MM_Time[0][1].values[1].prop2 = "style";}document.MM_Time[0][2] = newString("sprite"); document.MM_Time[0][2].slot = 3;if (ns)document.MM_Time[0][2].obj =document["Layer4"]; elsedocument.MM_Time[0][2].obj =document.all ?document.all["Layer4"] : null;document.MM_Time[0][2].keyFrames = new Array(2, 5, 9, 12, 15, 18);document.MM_Time[0][2].values = new Array(3);document.MM_Time[0][2].values[0] = newArray(363,363,363,363,363,363,363,363,365,366,368,366,364,363,363,363,36 3); document.MM_Time[0][2].values[0].prop ="left";document.MM_Time[0][2].values[1] = newArray(131,123,115,107,113,119,125,131,122,111,101,113,124,131,131,131,13 1); document.MM_Time[0][2].values[1].prop = "top";if (!ns) {document.MM_Time[0][2].values[0].prop2 = "style";document.MM_Time[0][2].values[1].prop2 = "style";}document.MM_Time[0][2].values[2] = newArray(22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22); document.MM_Time[0][2].values[2].prop = "width";if (!ns)document.MM_Time[0][2].values[2].prop2 = "style";document.MM_Time[0][3] = newString("sprite");document.MM_Time[0][3].slot = 4;if (ns)document.MM_Time[0][3].obj =document["Layer5"]; elsedocument.MM_Time[0][3].obj =document.all ?document.all["Layer5"] : null;document.MM_Time[0][3].keyFrames = new Array(2, 5, 9, 12, 15, 18);document.MM_Time[0][3].values = new Array(2);document.MM_Time[0][3].values[0] = new Array(388,390,391,393,392,391,390,388,390,394,398,397,395,393,390,389,388); document.MM_Time[0][3].values[0].prop = "left";document.MM_Time[0][3].values[1] = newArray(131,128,124,121,124,126,129,131,119,103,86,105,122, 136,137,134,131); document.MM_Time[0][3].values[1].prop = "top";if (!ns) {document.MM_Time[0][3].values[0].prop2 = "style";document.MM_Time[0][3].values[1].prop2 = "style";}document.MM_Time[0][4] = newString("sprite"); document.MM_Time[0][4].slot = 5;if (ns)document.MM_Time[0][4].obj =document["Layer6"]; elsedocument.MM_Time[0][4].obj =document.all ?document.all["Layer6"] : null;document.MM_Time[0][4].keyFrames = new Array(2, 5, 9, 12, 15, 18);document.MM_Time[0][4].values = newArray(2);document.MM_Time[0][4].values[0] = newArray(413,413,413,413,413,413,413,413,415,416,418,416,414,413,413,413,41 3); document.MM_Time[0][4].values[0].prop = "left";document.MM_Time[0][4].values[1] = newArray(131,124,118,111,116,120,125,131,119,105,91,107,121,131,131,131,131 ); document.MM_Time[0][4].values[1].prop = "top";if (!ns) {document.MM_Time[0][4].values[0].prop2= "style";document.MM_Time[0][4].values[1].prop2 = "style";}document.MM_Time[0][5] = newString("sprite"); document.MM_Time[0][5].slot = 6;if (ns)document.MM_Time[0][5].obj =document["Layer7"]; elsedocument.MM_Time[0][5].obj =document.all ?document.all["Layer7"] : null;document.MM_Time[0][5].keyFrames = newArray(2, 5, 9, 12, 15, 18);document.MM_Time[0][5].values = new Array(2);document.MM_Time[0][5].values[0] = newArray(433,433,433,433,434,436,437,438,435,432,428,427,427,428,430,431,43 3);document.MM_Time[0][5].values[0].prop = "left";document.MM_Time[0][5].values[1] = newArray(131,131,131,131,128,125,120,116,118,120,121,117,112,106,114,122,13 1); document.MM_Time[0][5].values[1].prop ="top";if (!ns) {document.MM_Time[0][5].values[0].prop2 = "style";document.MM_Time[0][5].values[1].prop2 = "style";}document.MM_Time[0][6] = newString("behavior"); document.MM_Time[0][6].frame = 19;document.MM_Time[0][6].value ="MM_timelineGoto('Timeline1','1')"; document.MM_Time[0][7] = newString("sprite"); document.MM_Time[0][7].slot = 7;if (ns)document.MM_Time[0][7].obj =document["Layer3"]; elsedocument.MM_Time[0][7].obj =document.all ?document.all["Layer3"] : null;document.MM_Time[0][7].keyFrames = new Array(2, 5, 9, 13, 16, 18);document.MM_Time[0][7].values = new Array(4);document.MM_Time[0][7].values[0] = newArray(458,458,458,458,457,457,457,458,463,468,473,478,468,459,453,454,458);document.MM_Time[0][7].values[0].prop = "left";document.MM_Time[0][7].values[1] = newArray(101,98,94,91,93,96,99,101,95,88,80,71,77,85,91,97,101);document.MM_Time[0][7].values[1].prop = "top";if (!ns) {document.MM_Time[0][7].values[0].prop2 = "style";document.MM_Time[0][7].values[1].prop2 = "style";}document.MM_Time[0][7].values[2] = newArray(31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31);document.MM_Time[0][7].values[2].prop = "width";if (!ns)document.MM_Time[0][7].values[2].prop2= "style";document.MM_Time[0][7].values[3] = newArray(42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42); document.MM_Time[0][7].values[3].prop = "height";if (!ns)document.MM_Time[0][7].values[3].prop2 = "style";document.MM_Time[0].lastFrame = 19; for (i=0;i<document.MM_Time.length; i++) {document.MM_Time[i].ID = null;document.MM_Time[i].curFrame = 0;document.MM_Time[i].delay =1000/document.MM_Time[i].fps;}}//--></SCRIPT><DIV id=Layer1 style="Z-INDEX: 1; LEFT: 264px; WIDTH: 58px; POSITION:absolute; TOP: 86px; HEIGHT: 52px"><FONT face=隶书color=#ff3333size=7>网</FONT></DIV><DIV id=Layer2style="Z-INDEX: 2; LEFT: 324px; WIDTH: 36px; POSITION: absolute; TOP: 112px; HEIGHT: 27px"><FONT face=隶书size=4><fontcolor="#336600"size="5">页</font></FONT></DIV><DIV id=Layer4style="Z-INDEX: 4; LEFT: 363px; WIDTH:25px; POSITION:absolute; TOP: 116px; HEIGHT: 22px"><FONT face=隶书size=4><fontcolor="#FFFF00">制</font></FONT></DIV><DIV id=Layer5style="Z-INDEX: 5; LEFT: 388px; WIDTH:1px; POSITION:absolute; TOP: 116px; HEIGHT: 1px"><FONT face=隶书size=4><FONTcolor=#ff33ff>作</FONT></FONT></DIV><DIV id=Layer6 style="Z-INDEX: 6; LEFT: 408px; WIDTH: 18px; POSITION:absolute; TOP: 116px; HEIGHT: 12px"><FONT face=隶书size=4><fontcolor="#0000CC">特</font></FONT></DIV><DIV id=Layer7style="Z-INDEX: 7; LEFT: 428px; WIDTH:21px; POSITION:absolute; TOP: 116px; HEIGHT: 15px"><FONT face=隶书size=4><fontcolor="#FF6633">效</font></FONT></DIV><DIV id=Layer3style="Z-INDEX: 8; LEFT: 453px; WIDTH:31px; POSITION: absolute; TOP: 91px; HEIGHT:42px"><B><FONT color=#00ff00size=+5><I><font color="#009900">~</font></I></FONT></B></DIV>第二步:把<body>中的内容改为:<bodybgcolor="#fef4d9" onload="MM_timelinePlay('Timeline1')">。
【网页特效代码-页面特效】变幻的飞行彩球,而且有不同的颜色
for (i=0; i < xL; i++){
document.write('<div id="xie" style="position:absolute;top:0;left:0;width:10px;height:10px;'
+'font-family:Courier New;font-size:50px;color:#ffffff">.</div>');
}
document.write('</div></div>');
//Initial Placement!
function Set(){
for (i=0; i < xL; i++){
xR=Math.round(Math.random()*3);
xE=Math.round(Math.random()*2500+50)
if (xR == 3) xB[i]=-xE;
if (xR == 2) xB[i]=xW+xE;
if (xR == 1) xA[i]=-xE;
if (xR == 0) xA[i]=xH;
xie[i].style.top =xY[i];
【网页特效代码-页面特效】点击文字链接后,慢慢展开一个菜单层,展开
【网页特效代码-页面特效】点击文字链接后,慢慢展开一个菜单层,展开.txt﹃根网线''尽赚了多少人的青春い有时候感动的就是身边微不足道的小事。
﹎破碎不是最残酷的最残酷的是踩着这些碎片却假装不疼痛固执的寻找﹎将来就算我遇见再怎么完美的人,都有一个缺点,他不是你,_____下辈子要做男生,娶一个像我这样的女生。
<STYLE>#iewrap {POSITION: relative; HEIGHT: 30px}#iewrap2 {POSITION: absolute}#dropmenu03 {FILTER: revealTrans(Duration=1.5,Transition=12)visibility:hide}</STYLE><TABLE cellSpacing=0 cellPadding=0 align=center border=0><TBODY><TR bgColor=#f2f2f2><TD width=10 bgColor=#f2f2f2> </TD><TD width=100 bgColor=#f2f2f2><ILAYER id=dropmenu01 height="20"><LAYERid=dropmenu02 height="20" visibility="show"><SPAN id=iewrap><SPANid=iewrap2 style="WIDTH: 100px; TOP: 10px"onclick="dropit2();event.cancelBubble=true;return false"><FONT face=宋体><A class=redhref=""><font color=black>展开菜单</font></A></FONT></SPAN></SPAN></LAYER></ILAYER><SCRIPT language=javascript><!--var enableeffect=true//将如下数组修改成你自己的。
网页字体特效代码大全
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特效代码⼤全(完整)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、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
网页制作特效——网页特效(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="><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<[i].className="sec1";[n].className="sec2";for(i=0;i<[i].="none";[n].="block";}</SCRIPT><!--HTML部分--><TABLE id=secTable cellSpacing=0 cellPadding=0 width=549 border=0><TBODY><TR align=middle height=20><TD class=sec2 onclick=secBoard(0) width="10%">关于TBODY标记</TD><TD class=sec1 onclick=secBoard(1) width="10%">关于cells集合</TD><TD class=sec1 onclick=secBoard(2) width="10%">关于tBodies集合</TD><TD class=sec1 onclick=secBoard(3) width="10%">关于display属性</TD></TR></TBODY></TABLE><TABLE class=main_tab id=mainTable height=240 cellSpacing=0 cellPadding=0 width=549 border=0><!--关于TBODY标记--><TBODY style="DISPLAY: block"><TR><TD vAlign=top align=middle><BR><BR><TABLE cellSpacing=0 cellPadding=0 width=490 border=0><TBODY><TR><TD>指定行做为表体。
<BR>注释:TBODY要素是块要素,并且需要结束标签。
<BR>即使如果表格没有显式定义TBODY要素,该要素也提供给所有表。
<BR><BR>参考:《动态HTML参考和开发应用大全》(人民邮电出版社Microsoft Corporation著北京华中兴业科技发展有限公司译)<BR><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY><!--关于cells集合--><TBODY style="DISPLAY:none"><TR><TD vAlign=topalign=middle><BR><BR><TABLE cellSpacing=0cellPadding=0 width=490 border=0><TBODY><TR><TD>检索表行或者整个表中所有单元格的集合。
<BR>应用于TR、TABLE。
<BR><BR>参考:《动态HTML参考和开发应用大全》(人民邮电出版社Microsoft Corporation著北京华中兴业科技发展有限公司译)<BR><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY><!--关于tBodies集合--><TBODY style="DISPLAY:none"><TR><TD vAlign=topalign=middle><BR><BR><TABLE cellSpacing=0cellPadding=0 width=490 border=0><TBODY><TR><TD>检索表中所有TBODY对象的集合。
对象在该集合中按照HTML源顺序排列。
<BR>应用于TABLE。
<BR><BR>参考:《动态HTML参考和开发应用大全》(人民邮电出版社Microsoft Corporation著北京华中兴业科技发展有限公司译)<BR><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY><!--关于display属性--><TBODY style="DISPLAY:none"><TR><TD vAlign=topalign=middle><BR><BR><TABLE cellSpacing=0cellPadding=0 width=490 border=0><TBODY><TR><TD>设置或者检索对象是否被提供。
<BR>可能的值为block、none、inline、list-item、table-header-group、table-footer-group。
<BR>该特性可读写,块要素默认值为block,内联要素默认值为inline;层叠样式表(CSS)属性不可继承。
<BR><BR>参考:《动态HTML参考和开发应用大全》(人民邮电出版社Microsoft Corporation著北京华中兴业科技发展有限公司译)<BR><BR><Ahref="" target=_blank>点击此处</A>可参阅微软<A href="" target=_blank>MSDN在线</A>上的解释。
</TD></TR></TBODY></TABLE>;</TD></TR></TBODY></TABLE></body></html>(3)下拉菜单:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>网页特效代码||---非常棒的绿色下拉透明菜单</title></head><body><script language="JavaScript">var mmenus = new Array();var misShow = new Boolean();misShow=false;var misdown = new Boolean();misdown=false;var mnumberofsub=0;var musestatus=false;var mpopTimer = 0;mmenucolor='#89CB10';mfontcolor='MenuText';mmenuoutcolor='#ADEF34';mmenuincolor='#B5 E74E';mmenuoutbordercolor='#ECFA3A';mmenuinbordercolor='#5A2614';mmidoutcolor='#A9DA 1D';mmidincolor='#799310';mmenuovercolor='#004080';mitemedge='0';msubedge='1';mmenuu nitwidth=66;mmenuitemwidth=140;mmenuheight=25;mmenuwidth='100%';mmenuadjust=0;m menuadjustV=0;mfonts='font-family: 宋体; font-size: 9pt; color: MenuText; ';mcursor='hand'; var swipeSteps = 4;var swipemsec = 25;var swipeArray = new Array();function swipe(el, dir, steps, msec) {if (steps == null) steps = swipeSteps;if (msec == null) msec = swipemsec;if == null)= ;if != null);swipeArray[] = el;= "rect(-99999, 99999, 99999, -99999)";if == null || == 0) {= ;= ;= ;= ;}= steps;= "rect(0,0,0,0)";("repeat(" + dir + "," + + "," + steps + "," + msec + ")", msec); }function repeat(dir, index, steps, msec) {el = swipeArray[index];var left = ;var top = ;var width = ;var height = ;if == 0) {= "rect(-99999, 99999, 99999, -99999)";return;}else {;= "visible";switch (dir) {case 2:= "rect(" + height*steps + "," + width + "," + height + "," + 0 + ")";= top - height*steps;break;case 8:= "rect(" + 0 + "," + width + "," + height*/steps + "," + 0 + ")";= top + height*steps;break;case 6:= "rect(" + 0 + "," + width + "," + height + "," + width*/steps + ")";= left - width*steps;break;case 4:= "rect(" + 0 + "," + width*(swipeSteps - /steps + "," + height + "," + 0 + ")";= left + width*steps;break;}= ("repeat(" + dir + "," + index + "," + steps + "," + msec + ")", msec);}}var mtmpleft="";var mtmptop="";function hideSwipe(el) {;= "hidden";= "rect(-99999, 99999, 99999, -99999)";= 0;if(mtmpleft!="") = mtmpleft;if(mtmptop!="") = mtmptop;}function stoperror(){return true;}=stoperror;function mpopOut() {mpopTimer = setTimeout('mallhide()', 500); }function getReal(el, type, value) {temp = el;while ((temp != null) && != "BODY")) { if (eval("temp." + type) == value) {el = temp;return el;}temp = ;}return el;}function mMenuRegister(menu){mmenus[] = menureturn - 1)}function mMenuItem(caption,command,target,isline,statustxt,level,img,sizex,sizey,pos){ = new Array();=caption;=command;=target;=isline;=statustxt;if(level!=null){mnumberofsub++;=mnumberofsub;}=level;=img;=sizex;=sizey;=pos;}function mMenu(caption,command,target,img,sizex,sizey,pos){= new Array();=caption;=command;=target;=img;=sizex;=sizey;=pos;=mMenuRegister(this);}function mMenuAddItem(item){[ = item= ;=true;}= mMenuAddItem;= mMenuAddItem;function mtoout(src){mtoin(src){mnochange(src){'';mallhide(){for(var nummenu=0;nummenu<;nummenu++){var themenu=['mMenu'+nummenu]var themenudiv=['mmenudiv'+nummenu]mnochange(themenu);mmenuhide(themenudiv);}for(nummenu=1;nummenu<=mnumberofsub;nummenu++){ var thesub=['msubmenudiv'+nummenu]msubmenuhide(thesub);mnochange['mp'+nummenu]);["mitem"+nummenu].=mfontcolor;}}function mmenuhide(menuid){'Alpha(Opacity=100)';hideSwipe(menuid);misShow=false;}function msubmenuhide(menuid){'Alpha(Opacity=100)';'hidden';}function mmenushow(menuid,pid){'Alpha(Opacity=80)';mshowsubmenu(menuid,pid,rid){'Alpha(Opacity=80)';'visible';}function mmenu_over(menuid,x){toel = getReal "className", "coolButton"); fromel = getReal "className", "coolButton"); if (toel == fromel) return;if(x<0){misShow = false;mallhide();mtoout(eval("mMenu"+x));}else{mallhide();mtoin(eval("mMenu"+x)); mmenushow(menuid,eval("mMenu"+x));}clearTimeout(mpopTimer);}function mmenu_out(x){toel = getReal "className", "coolButton"); fromel = getReal "className", "coolButton"); if (toel == fromel) return;if (misShow){mtoin(eval("mMenu"+x));}else{mnochange(eval("mMenu"+x));}mpopOut()}function mmenu_down(menuid,x){if(misShow){mmenuhide(menuid);mtoout(eval("mMenu"+x));}else{mtoin(eval("mMenu"+x));mmenushow(menuid,eval("mMenu"+x));misdown=true;}}function mmenu_up(){misdown=false;}function mmenuitem_over(menuid,item,x,j,i){toel = getReal "className", "coolButton");fromel = getReal "className", "coolButton");if (toel == fromel) return;srcel = getReal "className", "coolButton");for(nummenu=1;nummenu<=mnumberofsub;nummenu++){ var thesub=['msubmenudiv'+nummenu]if(!(menuid==thesub|| msubmenuhide(thesub);mnochange['mp'+nummenu]);["mitem"+nummenu].=mfontcolor;}}if(item)["mitem"+item].=mmenuovercolor;if(misdown||item){mtoin(srcel);}else{mtoout(srcel);}if(x==-1)mthestatus=eval("msub"+j).items[i].statustxt; if(j==-1)mthestatus=mmenus[x].items[i].statustxt;if(mthestatus!=""){musestatus=true;=mthestatus;}clearTimeout(mpopTimer);}function mmenuitem_out(hassub){toel = getReal "className", "coolButton");fromel = getReal "className", "coolButton");if (toel == fromel) return;srcel = getReal "className", "coolButton");if(!hassub)mnochange(srcel);if(musestatus)="";mpopOut()}function mmenuitem_down(){srcel = getReal "className", "coolButton");mtoin(srcel)misdown=true;}function mmenuitem_up(){srcel = getReal "className", "coolButton");mtoout(srcel)misdown=false;}function mexec3(j,i){var cmd;if(eval("msub"+j).items[i].target=="blank"){cmd = "('"+eval("msub"+j).items[i]mand+"')";}else{cmd = eval("msub"+j).items[i].target+".location=\""+eval("msub"+j).items[i]mand+"\""; }eval(cmd);}function mexec2(x){var cmd;if(mmenus[x].target=="blank"){cmd = "('"+mmenus[x]mand+"')";}else{cmd = mmenus[x].target+".location=\""+mmenus[x]mand+"\"";}eval(cmd);}function mexec(x,i){var cmd;if(mmenus[x].items[i].target=="blank"){cmd = "('"+mmenus[x].items[i]mand+"')";}else{cmd = mmenus[x].items[i].target+".location=\""+mmenus[x].items[i]mand+"\"";}eval(cmd);}function mbody_click(){if (misShow){srcel = getReal "className", "coolButton");for(var x=0;x<=;x++){if=="mMenu"+x)return;}for(x=1;x<=mnumberofsub;x++){if=="mp"+x)return;}mallhide();}}=mbody_click;function mwritetodocument(){var mwb=1;var stringx='<div id="mposflag"style="position:absolute;"></div><table id=mmenutable border=0 cellpadding=3 cellspacing=2 width='+mmenuwidth+' height='+mmenuheight+' bgcolor='+mmenucolor+' onselectstart="=false"'+' style="filter:Alpha(Opacity=80);cursor:'+mcursor+';'+mfonts+' border-left: '+mwb+'px solid '+mmenuoutbordercolor+';'+' border-right: '+mwb+'px solid '+mmenuinbordercolor+'; '+'border-top: '+mwb+'px solid '+mmenuoutbordercolor+'; '+'border-bottom: '+mwb+'px solid '+mmenuinbordercolor+'; padding:0px"><tr>'for(var x=0;x<;x++){var thismenu=mmenus[x];var imgsize="";if!="0"||!="0")imgsize=" width="++" height="+;var ifspace="";if!="")ifspace=" ";stringx += "<td nowrap class=coolButton id=mMenu"+x+" style='border: "+mitemedge+"px solid "+mmenucolor+"' width="+mmenuunitwidth+"px onmouseover=mmenu_over(mmenudiv"+x+","+x+") onmouseout=mmenu_out("+x+") onmousedown=mmenu_down(mmenudiv"+x+","+x+")";if!=""){stringx += " onmouseup=mmenu_up();mexec2("+x+");";}else{stringx += " onmouseup=mmenu_up()";}if=="0"){stringx += " align=center><img align=absmiddle src='"++"'"+imgsize+">"+ifspace++"</td>";}else if=="1"){stringx += " align=center>"++ifspace+"<img align=absmiddle src='"++"'"+imgsize+"></td>";}else if=="2"){stringx += " align=center background='"++"'> "++" </td>";}else{stringx += " align=center> "++" </td>";}stringx += "";}stringx+="<td width=*> </td></tr></table>";for(var x=0;x<;x++){thismenu=mmenus[x];if(x<0){stringx+='<div id=mmenudiv'+x+' style="visiable:none"></div>';}else{stringx+='<div id=mmenudiv'+x+'style="filter:Alpha(Opacity=80);cursor:'+mcursor+';position:absolute;'+'width:'+mmenuitemwidth+'px; z-index:'+(x+100);if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){stringx+=';border-left: 1px solid '+mmidoutcolor+';border-top: 1px solid '+mmidoutcolor;}stringx+=';border-right: 1px solid '+mmenuinbordercolor+';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden" onselectstart="=false">\n'+'<table width="100%" border="0" height="100%" align="center" cellpadding="0" cellspacing="2" '+'style="'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){stringx+=';border-right: 1px solid '+mmidincolor+';border-bottom: 1px solid '+mmidincolor;}stringx+=';border-top: 1px solid '+mmenuoutbordercolor+';padding: 4px" bgcolor='+mmenucolor+'>\n'for(var i=0;i< var thismenuitem=[i];var imgsize="";if!="0"||!="0")imgsize=" width="++" height="+;var ifspace="";if!="")ifspace=" ";if!=null){stringx += "<tr><td id=mp"++" class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\"mmenuitem_over(mmenudiv"+x+",'"++"',"+x+",-1,"+i+");mshowsubmenu(msubmenudiv"++",mp"++",mmenudiv"+x+");\""+"><table id=mitem"++" cellspacing='0' cellpadding='0' border='0' width='100%' style='"+mfonts+"'><tr><td ";if=="0"){stringx += "><img align=absmiddle src='"++"'"+imgsize+">"+ifspace++"</td><td";}else if=="1"){stringx += ">"++ifspace+"<img align=absmiddle src='"++"'"+imgsize+"></td><td";}else if=="2"){stringx += "background='"++"'>"++"</td><td background='"++"'";}else{stringx += ">"++"</td><td";}stringx += " align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\n";}else if(!{stringx += "<tr><td class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+"' width=100% height=15px onmouseover=\"mmenuitem_over(mmenudiv"+x+",false,"+x+",-1,"+i+");\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";stringx += "mmenuitem_up();mexec("+x+","+i+"); ";if=="0"){stringx += "><img align=absmiddle src='"++"'"+imgsize+">"+ifspace++"</td></tr>";}else if=="1"){stringx += ">"++ifspace+"<img align=absmiddle src='"++"'"+imgsize+"></td></tr>";}else if=="2"){stringx += "background='"++"'>"++"</td></tr>";}else{stringx += ">"++"</td></tr>";}}else{stringx+='<tr><td height="1" background="/images/" onmousemove="clearTimeout(mpopTimer);"><img height="1" width="1" src="" border="0"></td></tr>\n';}}stringx+='</table>\n</div>'}}for(var j=1;j<=mnumberofsub;j++){thisitem=eval("msub"+j);stringx+='<div id=msubmenudiv'+j+'style="filter:Alpha(Opacity=80);tag:'++';cursor:'+mcursor+';position:absolute;'+'width:'+mmenuitemwidth+'px; z-index:'+(j+200);if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){stringx+=';border-left: 1px solid '+mmidoutcolor+';border-top: 1px solid '+mmidoutcolor;}stringx+=';border-right: 1px solid '+mmenuinbordercolor+';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden" onselectstart="=false">\n'+'<table width="100%" border="0" height="100%" align="center" cellpadding="0" cellspacing="2" '+'style="'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){stringx+=';border-right: 1px solid '+mmidincolor+';border-bottom: 1px solid '+mmidincolor;}stringx+=';border-top: 1px solid '+mmenuoutbordercolor+';padding: 4px" bgcolor='+mmenucolor+'>\n'for(var i=0;i< var thismenuitem=[i];var imgsize="";if!="0"||!="0")imgsize=" width="++" height="+;var ifspace="";if!="")ifspace=" ";if!=null){stringx += "<tr><td id=mp"++" class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\"mmenuitem_over(msubmenudiv"+j+",'"++"',-1,"+j+","+i+");mshowsubmenu(msubmenudiv"++",mp"++",msubmenudiv"+j+");\""+"><table id=mitem"++" cellspacing='0' cellpadding='0' border='0' width='100%' style='"+mfonts+"'><tr><td ";if=="0"){stringx += "><img align=absmiddle src='"++"'"+imgsize+">"+ifspace++"</td><td";}else if=="1"){stringx += ">"++ifspace+"<img align=absmiddle src='"++"'"+imgsize+"></td><td";}else if=="2"){stringx += "background='"++"'>"++"</td><td background='"++"'";}else{stringx += ">"++"</td><td";}stringx += " align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\n";}else if(!{stringx += "<tr><td class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+"' width=100% height=15px onmouseover=\"mmenuitem_over(msubmenudiv"+j+",false,-1,"+j+","+i+");\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";stringx += "mmenuitem_up();mexec3("+j+","+i+"); ";if=="0"){stringx += "><img align=absmiddlesrc='"++"'"+imgsize+">"+ifspace++"</td></tr>";}else if=="1"){stringx += ">"++ifspace+"<img align=absmiddle src='"++"'"+imgsize+"></td></tr>";}else if=="2"){stringx += "background='"++"'>"++"</td></tr>";}else{stringx += ">"++"</td></tr>";}}else{stringx+='<tr><td height="1" background="/images/" onmousemove="clearTimeout(mpopTimer);"><img height="1" width="1" src="" border="0"></td></tr>\n';}}stringx+='</table>\n</div>'}("<div align='center' id='JsMenuCSS'>"+stringx+"</div>");}mpmenu1=new mMenu('网站首页','/','self','','','','');(new mMenuItem(' 用户注册','/','self',false,'用户注册',null,'','','',''));(new mMenuItem(' 用户登录','/','self',false,'用户登录',null,'','','',''));(new mMenuItem(' 用户退出','/action=logout','self',false,'用户退出',null,'','','',''));(new mMenuItem(' 资料修改','/bbs/','self',false,'',null,'','','',''));mpmenu2=new mMenu('软件下载','/SoftDown/','self','','','','');(new mMenuItem(' 系统程序','/softdown/CateID=1','self',false,'系统程序',null,'','','','')); (new mMenuItem(' 网络工具','/softdown/CateID=2','self',false,'网络工具',null,'','','','')); (new mMenuItem(' 媒体工具','/softdown/CateID=3','self',false,'媒体工具',null,'','','','')); (new mMenuItem(' 图文处理','/softdown/CateID=4','self',false,'图文处理',null,'','','','')); (new mMenuItem(' 桌面工具','/softdown/CateID=5','self',false,'桌面工具',null,'','','','')); (new mMenuItem(' 程序代码','/softdown/CateID=6','self',false,'程序代码',null,'','','','')); (new mMenuItem(' 游戏娱乐','/softdown/CateID=7','self',false,'游戏娱乐',null,'','','','')); (new mMenuItem(' 其他工具','/softdown/CateID=8','self',false,'其他工具',null,'','','','')); (new mMenuItem(' 特别栏目','/softdown/CateID=9','self',false,'特别栏目',null,'','','','')); (new mMenuItem(null,null,null,true));(new mMenuItem(' 下载排行','/SoftDown/order=AllHits&updown=desc','self',false,'软件下载排行榜',null,'','','',''));mpmenu3=new mMenu('软件学院','/SoftSchool/','self','','','','');(new mMenuItem(' 软件瞭望','/SoftSchool/CateID=1','self',false,'软件瞭望',null,'','','','')); (new mMenuItem(' 精文荟萃','/SoftSchool/CateID=2','self',false,'精文荟萃',null,'','','','')); (new mMenuItem(' 操作系统','/SoftSchool/CateID=3','self',false,'操作系统',null,'','','','')); (new mMenuItem(' 网络软件','/SoftSchool/CateID=4','self',false,'网络软件',null,'','','','')); (new mMenuItem(' 工具软件','/SoftSchool/CateID=5','self',false,'工具软件',null,'','','','')); (new mMenuItem(' 办公软件','/SoftSchool/CateID=6','self',false,'办公软件',null,'','','','')); (new mMenuItem(' 认证考试','/SoftSchool/CateID=7','self',false,'认证考试',null,'','','','')); (new mMenuItem(null,null,null,true));(new mMenuItem(' 阅读排行','/SoftSchool/order=hits&updown=desc','self',false,'文章阅读排行榜',null,'','','',''));mpmenu4=new mMenu('Web 开发','/Develop/','self','','','','');(new mMenuItem(' 网页设计','/Develop/CateID=1','self',false,'网页设计',null,'','','',''));(new mMenuItem(' .Net专栏','/Develop/CateID=10','self',false,'.Net专栏',null,'','','',''));(new mMenuItem(' ASP 学院','/Develop/CateID=2','self',false,'ASP 学院',null,'','','',''));。