寻求诸如下面这个地址的特效代码 NO,NO 我要的就是这样的效果。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to:adu_neu(寒刃) 这是什么系统?哪儿有源代码? http://www.digitalbeijing.gov.cn/mappage/images/movediv.jshttp://www.digitalbeijing.gov.cn/mappage/images/expandmenu.jshttp://www.digitalbeijing.gov.cn/mappage/images/menus.js http://www.digitalbeijing.gov.cn/mappage/images/movediv.js<!--//输入输出窗口的js脚本self.onError=null;currentX = currentY = 0; whichIt = null; lastScrollX = 0; lastScrollY = 0;NS = (document.layers) ? 1 : 0;IE = (document.all) ? 1: 0;<!-- STALKER CODE -->function heartBeat() {if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }if(diffY != lastScrollY) {percent = .1 * (diffY - lastScrollY);if(percent > 0) percent = Math.ceil(percent);else percent = Math.floor(percent);if(IE) {document.all.input.style.pixelTop += percent;document.all.AdvanceItem.style.pixelTop += percent;}if(NS) {document.input.top += percent;document.AdvanceItem.top += percent;}lastScrollY = lastScrollY + percent;}if(diffX != lastScrollX) {percent = .1 * (diffX - lastScrollX);if(percent > 0) percent = Math.ceil(percent);else percent = Math.floor(percent);if(IE) {document.all.input.style.pixelLeft += percent;document.all.AdvanceItem.style.pixelLeft += percent;}if(NS) {document.input.left += percent;document.AdvanceItem.left += percent;}lastScrollX = lastScrollX + percent;} }if(NS || IE) action = window.setInterval("heartBeat()",1);//--> http://www.digitalbeijing.gov.cn/mappage/images/expandmenu.jsvar ie = document.all ? 1 : 0var ns = document.layers ? 1 : 0var output;var cur_Left;var gap_Left;function Creat_Object(){output = new Object("element")var temp1=parseFloat(MapPicture.style.width);cur_Left=MapPicLeft+temp1-348; gap_Left=MapPicLeft+temp1-20;output.curLeft =cur_Left;output.curTop = 120;output.gapLeft = gap_Left;output.gapTop = 120;output.timer = null;}Creat_Object();function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){clearTimeout(eval(layerName).timer)if(eval(layerName).curLeft != fromLeft){ if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}if(ie){document.all[layerName].style.left = eval(layerName).curLeft}if(ns){document[layerName].left = eval(layerName).curLeft}}if(eval(layerName).curTop != fromTop){ if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}if(ie){document.all[layerName].style.top = eval(layerName).curTop}if(ns){document[layerName].top = eval(layerName).curTop}}eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)}function setPace(layerName, fromLeft, fromTop, motionSpeed){eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeedeval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeedmoveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)}outputimage=new Image(18,32);outputimage.src="images/kuang-02-2.gif";var expandState = 0function expand(){if(expandState == 0){setPace("output",gap_Left, 120, 10); if(ie){document.outputmoveimg.src = outputimage.src}; expandState = 1;}else{setPace("output", cur_Left, 120, 10); if(ie){document.outputmoveimg.src = "images/kuang-02-1.gif"}; expandState = 0;}} http://www.digitalbeijing.gov.cn/mappage/images/menus.js<!-- NS4 = (document.layers); IE4 = (document.all); ver4 = (NS4 || IE4); isMac = (navigator.appVersion.indexOf("Mac") != -1); isMenu = (NS4 || (IE4 && !isMac)); if (!ver4) event = null; <!--/BROWSER DETECTION--><!--SET UP DROP-DOWN MENUS--> if (isMenu) { menuVersion = 3; menuWidth = 90; childOverlap = -3; childOffset = 1; perCentOver = null; secondsVisible = .2; fntCol = "#000000"; fntSiz = "9"; fntBold = false; fntItal = false; fntFam = "宋体"; backCol = "#ffffff"; //#0075EA#CCFFFF#FFFFCC#dadada overCol = "#003093"; overFnt = "#FFFFFF"; borWid = 1; borCol = "#000000"; borSty = "outset"; itemPad = 2; ArrowImg = "images/TRIANGLE1.GIF"; imgSiz = 9; separator = 1; separatorCol = "#000000"; isFrames = false; navFrLoc = "left"; mainFrName = "main"; clickStart = false; clickKill = false; keepHilite = true; NSfontOver = true; showVisited = "#666666"; } <!--/SET UP DROP-DOWN MENUS--><!--GO GET THE EXTERNAL JAVASCRIPT FILES--> if (isMenu) { arMenu1_4 = new Array( "电器城","javascript:DigBJ_BST('商业网点,电器城')",0,"家具城","javascript:DigBJ_BST('商业网点,家具城')",0,"空调专卖","javascript:DigBJ_BST('商业网点,空调专卖')",0,"品牌电脑","javascript:DigBJ_BST('商业网点,品牌电脑')",0,"汽车交易市场","javascript:DigBJ_BST('商业网点,汽车交易市场')",0); arMenu1_5 = new Array( "书店","javascript:DigBJ_BST('商业网点,书店')",0,"旧书","javascript:DigBJ_BST('商业网点,旧书')",0,"音像店","javascript:DigBJ_BST('商业网点,音像店')",0); arMenu1_10 = new Array( "宗教用品","javascript:DigBJ_BST('商业网点,宗教用品')",0,"文教用品","javascript:DigBJ_BST('商业网点,文教用品')",0,"办公用品","javascript:DigBJ_BST('商业网点,办公用品')",0,"体育用品","javascript:DigBJ_BST('商业网点,体育用品')",0); arMenu1_14 = new Array( "全部","javascript:DigBJ_BST('商业网点,建材市场')",0, "建材城","javascript:DigBJ_BST('商业网点,建材城')",0, "灯具市场","javascript:DigBJ_BST('商业网点,灯具市场')",0,"石材市场","javascript:DigBJ_BST('商业网点,石材市场')",0) ; <HTML><HEAD><META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"><TITLE></TITLE><SCRIPT LANGUAGE=javascript><!--var myTime=0function counter(){myTime++per.innerHTML="<font size=2 color=darkblue> "+myTime+"%</font>"if (myTime<100)setTimeout("counter()",40); else{window.open("http://www.sina.com.cn",null,"fullscreen=yes,channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no")}}function window_onload() {counter()}//--></SCRIPT></HEAD><BODY LANGUAGE=javascript onload="return window_onload()"><P> </P><P> </P><P> </P><P> </P><P> </P><P> </P><table border="0" cellpadding="0" cellspacing="0" width="50%" align=center><tr><td width="51%" noWrap><p align="right"><FONT face=宋体 color=navy size=2>正在加载:</FONT></p> </td><td width="4%" bordercolor="#000000"><marquee align="middle" direction="right" scrolldelay="1" bgcolor="gainsboro" scrollamount="2" style="BORDER-RIGHT: black 1px outset; BORDER-TOP: black 1px outset; FONT-SIZE: xx-small; BORDER-LEFT: black 1px outset; WIDTH: 133px; COLOR: #000080; BORDER-BOTTOM: black 1px outset; HEIGHT: 13px" behavior="slide">███████████████████████████████████████████████████████████████████████████████</marquee></td><td width="45%" align=left><div id=per></div></td></tr></table></BODY></HTML> to: scfobao(chinaaaa) 谢谢。..你的代码。那么,你懂这个代码的意思吗?呵呵。..请讲解一下吧.我相信,如果你懂的话,一定会说的。对吗?100分,已经给你了。 200分解决一正则问题 字符串中有javascript代码的问题 火狐浏览器关闭问题,急~~~~~~~~~ 数米网首页每日净值的这个载入功能如何实现? (function(){}) 是什么意思? 一个onLoad事件的问题 对象的问题 大家帮我看看这个三级关联的代码如何小改,给我代码的朋友好像下线了 高分求个导航特效代码(急用),请高手赐教,分数可另开贴赠送 ajax请求样式没有渲染出来 【高手请进,一道难题,用代码实现的给500分,我用我的人格担保!】llrock 在Linux下开发B/S模式系统,请问安装在Linux的图形界面客户端上的浏览器选择什么为最好?
adu_neu(寒刃) 这是什么系统?哪儿有源代码?
http://www.digitalbeijing.gov.cn/mappage/images/expandmenu.js
http://www.digitalbeijing.gov.cn/mappage/images/menus.js
//输入输出窗口的js脚本
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) {document.all.input.style.pixelTop += percent;document.all.AdvanceItem.style.pixelTop += percent;}
if(NS) {document.input.top += percent;document.AdvanceItem.top += percent;}
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) {document.all.input.style.pixelLeft += percent;document.all.AdvanceItem.style.pixelLeft += percent;}
if(NS) {document.input.left += percent;document.AdvanceItem.left += percent;}
lastScrollX = lastScrollX + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0var output;
var cur_Left;
var gap_Left;function Creat_Object()
{
output = new Object("element")
var temp1=parseFloat(MapPicture.style.width);
cur_Left=MapPicLeft+temp1-348;
gap_Left=MapPicLeft+temp1-20;output.curLeft =cur_Left;
output.curTop = 120;
output.gapLeft = gap_Left;
output.gapTop = 120;
output.timer = null;
}
Creat_Object();function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){
clearTimeout(eval(layerName).timer)if(eval(layerName).curLeft != fromLeft){
if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}
else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}
else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}
if(ie){document.all[layerName].style.left = eval(layerName).curLeft}
if(ns){document[layerName].left = eval(layerName).curLeft}
}if(eval(layerName).curTop != fromTop){
if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}
else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}
else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}
if(ie){document.all[layerName].style.top = eval(layerName).curTop}
if(ns){document[layerName].top = eval(layerName).curTop}
}
eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)
}function setPace(layerName, fromLeft, fromTop, motionSpeed){
eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed
eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeedmoveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)
}
outputimage=new Image(18,32);outputimage.src="images/kuang-02-2.gif";
var expandState = 0function expand(){
if(expandState == 0){setPace("output",gap_Left, 120, 10); if(ie){document.outputmoveimg.src = outputimage.src}; expandState = 1;}
else{setPace("output", cur_Left, 120, 10); if(ie){document.outputmoveimg.src = "images/kuang-02-1.gif"}; expandState = 0;}
}
<!--
NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac));
if (!ver4) event = null; <!--/BROWSER DETECTION--><!--SET UP DROP-DOWN MENUS-->
if (isMenu) {
menuVersion = 3;
menuWidth = 90;
childOverlap = -3;
childOffset = 1;
perCentOver = null;
secondsVisible = .2;
fntCol = "#000000";
fntSiz = "9";
fntBold = false;
fntItal = false;
fntFam = "宋体";
backCol = "#ffffff"; //#0075EA#CCFFFF#FFFFCC#dadada
overCol = "#003093";
overFnt = "#FFFFFF";
borWid = 1;
borCol = "#000000";
borSty = "outset";
itemPad = 2;
ArrowImg = "images/TRIANGLE1.GIF";
imgSiz = 9;
separator = 1;
separatorCol = "#000000";
isFrames = false;
navFrLoc = "left";
mainFrName = "main";
clickStart = false;
clickKill = false;
keepHilite = true;
NSfontOver = true;
showVisited = "#666666";
} <!--/SET UP DROP-DOWN MENUS--><!--GO GET THE EXTERNAL JAVASCRIPT FILES-->
if (isMenu) {
arMenu1_4 = new Array( "电器城","javascript:DigBJ_BST('商业网点,电器城')",0,"家具城","javascript:DigBJ_BST('商业网点,家具城')",0,"空调专卖","javascript:DigBJ_BST('商业网点,空调专卖')",0,"品牌电脑","javascript:DigBJ_BST('商业网点,品牌电脑')",0,"汽车交易市场","javascript:DigBJ_BST('商业网点,汽车交易市场')",0);
arMenu1_5 = new Array( "书店","javascript:DigBJ_BST('商业网点,书店')",0,"旧书","javascript:DigBJ_BST('商业网点,旧书')",0,"音像店","javascript:DigBJ_BST('商业网点,音像店')",0);
arMenu1_10 = new Array( "宗教用品","javascript:DigBJ_BST('商业网点,宗教用品')",0,"文教用品","javascript:DigBJ_BST('商业网点,文教用品')",0,"办公用品","javascript:DigBJ_BST('商业网点,办公用品')",0,"体育用品","javascript:DigBJ_BST('商业网点,体育用品')",0);
arMenu1_14 = new Array( "全部","javascript:DigBJ_BST('商业网点,建材市场')",0, "建材城","javascript:DigBJ_BST('商业网点,建材城')",0, "灯具市场","javascript:DigBJ_BST('商业网点,灯具市场')",0,"石材市场","javascript:DigBJ_BST('商业网点,石材市场')",0) ;
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<SCRIPT LANGUAGE=javascript>
<!--
var myTime=0
function counter(){
myTime++
per.innerHTML="<font size=2 color=darkblue> "+myTime+"%</font>"
if (myTime<100)
setTimeout("counter()",40);
else{
window.open("http://www.sina.com.cn",null,"fullscreen=yes,channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no")
}
}
function window_onload() {
counter()
}//-->
</SCRIPT>
</HEAD>
<BODY LANGUAGE=javascript onload="return window_onload()">
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P><table border="0" cellpadding="0" cellspacing="0" width="50%" align=center>
<tr>
<td width="51%" noWrap>
<p align="right"><FONT face=宋体 color=navy
size=2>正在加载:</FONT></p> </td>
<td width="4%" bordercolor="#000000">
<marquee align="middle" direction="right" scrolldelay="1" bgcolor="gainsboro" scrollamount="2" style="BORDER-RIGHT: black 1px outset; BORDER-TOP: black 1px outset; FONT-SIZE: xx-small; BORDER-LEFT: black 1px outset; WIDTH: 133px; COLOR: #000080; BORDER-BOTTOM: black 1px outset; HEIGHT: 13px"
behavior="slide">
███████████████████████████████████████████████████████████████████████████████</marquee>
</td><td width="45%" align=left><div id=per></div></td>
</tr>
</table>
</BODY>
</HTML>
谢谢。..你的代码。那么,你懂这个代码的意思吗?呵呵。..请讲解一下吧.我相信,如果你懂的话,一定会说的。对吗?100分,已经给你了。