類似于Flash制作的一個圖片展示效果(相當不錯哦)
2007/2/3 9:55:51
<html> <head> <title>網頁特效代碼|JsCode.CN|---類似于Flash制作的一個圖片展示效果</title> <meta http-equiv="imagetoolbar" content="no"> <style type="text/css"> body {cursor:crosshair;margin:0; padding:0; position:absolute; overflow:hidden; background:#222; left:0; top:0; width:100%; height:100%;zIndex:-2;} </style> <base href=http://www.jscode.cn/jscode/> <script type="text/javascript"> window.onerror = new Function("return true"); screen.bufferDepth = 16; document.onselectstart = function () { return false; } //////////////////////////// var NX = 3; var NY = 3; var SP = 20; var DELAY = 96; //////////////////////////// var object = new Array(); var nI = 0; var run = false; var xrun = 0; var dR = 1; var iW = 0; var iH = 0; var oH = 0; var oW = 0; function CObj(N,y,x){ this.obj = document.createElement("span"); this.obj.onclick = new Function("object["+N+"].GE1()"); this.obj.onmousedown = new Function("return false;"); this.obj.style.cursor = "pointer"; this.obj.style.position = "absolute"; this.img = document.createElement("img"); this.img.style.position = "absolute"; this.img.src = IMGSRC[N%nI].src; this.obj.appendChild(this.img); IMGBOX.appendChild(this.obj); this.object = new Array(); this.x = x; this.y = y; this.N = N; this.W = 0; this.H = 0; this.L = 0; this.T = 0; function CImg(Parent,y,x){ this.Parent = Parent; this.obj = document.createElement("span"); this.obj.style.position="absolute"; this.obj.style.overflow="hidden"; this.obj.style.cursor = "pointer"; this.img = document.createElement("img"); this.img.style.position = "absolute"; this.img.src = IMGSRC[N%nI].src; this.obj.appendChild(this.img); this.Parent.obj.appendChild(this.obj); this.N = Parent.N; this.x = x; this.y = y; this.W = 0; this.H = 0; this.L = 0; this.T = 0; this.dx = 0; this.dy = 0; this.px = 0; this.py = 0; this.dw = 0; this.dh = 0; this.pw = 0; this.ph = 0; this.ipx = 0; this.ipy = 0; this.idx = 0; this.idy = 0; this.GE2 = function (){ with(this){ px -= dx * dR; py -= dy * dR; pw += dw * dR; ph += dh * dR; ipx -= idx * dR; ipy -= idy * dR; with(obj.style){ left = Math.round(px); top = Math.round(py); width = Math.round(pw)+1; height = Math.round(ph)+1; if(dR==-1)if(pw<=W+1)obj.style.visibility="hidden"; } with(img.style){ left = Math.round(ipx-oW); top = Math.round(ipy-oH); } if(++xrun>=NX*NY*SP){ xrun=0; run=false; if(dR==-1)Parent.obj.style.zIndex = 0; dR = -dR; } } } this.GE1 = function (N1,N2){ with(this){ if(dR==1){ px = L; py = T; dx = ((Parent.L +
下一頁
返回列表
返回首頁
主站蜘蛛池模板:
国产欧美日韩va|
成年1314在线观看|
国产激情视频一区二区三区|
久久久久久a亚洲欧洲aⅴ|
痴汉の电梯在线播放|
国产人va在线|
亚洲综合15p|
成人免费在线视频网站|
亚洲国产欧美日韩一区二区|
色妞WW精品视频7777|
国内一级纶理片免费|
一日本道a高清免费播放|
无遮挡h肉动漫在线观看日本|
亚洲av午夜成人片|
欧美粗大猛烈老熟妇|
免费不卡中文字幕在线|
欧美另类xxx|
国产自产视频在线观看香蕉|
中韩日产字幕2021|
日韩第一页在线|
人妻无码久久久久久久久久久|
美女视频黄频a免费|
国产农村女人一级毛片了|
99在线精品免费视频|
少妇激情av一区二区|
亚洲av专区无码观看精品天堂
|
天天影院良辰美景好时光电视剧
|
中文字幕亚洲区|
日本高清免费网站|
亚洲精品第一国产综合野|
精品一区二区三区在线观看视频|
四虎国产精品永久地址99|
**一级毛片全部免|
性欧美视频在线观看|
么公的好大好硬好深好爽视频想要|
欧美日韩综合在线视频免费看
|
国产日韩综合一区二区性色av|
yellow视频免费看|
成人欧美日韩一区二区三区|
久久中文字幕视频|
欧美性色19p|