图片展示效果 鼠标经过变大图,支持FF
5
HTML {
OVERFLOW: hidden
}
BODY {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #000; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 815px; CURSOR: crosshair; PADDING-TOP: 0px; POSITION: absolute; HEIGHT: 230px
}
#box {
BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BACKGROUND: #111; VISIBILITY: hidden; BORDER-LEFT: gray 1px solid; BORDER-BOTTOM: gray 1px solid; POSITION: absolute
}
#screen {
BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BACKGROUND: #000; LEFT: 0px; BORDER-LEFT: gray 1px solid; WIDTH: 815px; BORDER-BOTTOM: gray 1px solid; POSITION: absolute; HEIGHT: 230px
}
#box IMG {
BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; CURSOR: pointer; BORDER-BOTTOM: gray 1px solid; POSITION: absolute
}
#box SPAN {
FONT-WEIGHT: bold; FONT-SIZE: 12px; WIDTH: 200px; COLOR: #fff; FONT-FAMILY: verdana; POSITION: absolute
}
#box A {
FONT-SIZE: 12px; COLOR: #ff8000; TEXT-DECORATION: none
}
#box A:hover {
BACKGROUND: #ff8000; COLOR: #ffffff; TEXT-DECORATION: none
}
#box A:visited {
COLOR: #ff8000; TEXT-DECORATION: none
}
#box A:hover:visited {
BACKGROUND: #ff8000; COLOR: #ffffff; TEXT-DECORATION: none
}
#lnk {
VISIBILITY: hidden
}
document.onselectstart = new Function("return false");
O = new Array();
box = 0;
img = 0;
txt = 0;
tit = 0;
W = 0;
H = 0;
nI = 0;
sel = 0;
si = 0;
ZOOM = 0;
rImg = 0;
//////////////////
speed = .06; // animation speed
delay = .5; // 1 = no delay
//////////////////
function dText(){
txt.style.textAlign = tit.style.textAlign = (sel'+Lnk[i].innerHTML+'';
O[i] = new CObj(i, s, x, t, img[i].title);
img[i].alt = "";
img[i].title = "";
img[i].onmousedown = new Function("return false;");
img[i].onmouseover = new Function('O['+i+'].over();');
if(Lnk[i].href!=""){
/* ==== hyperlink ==== */
img[i].onclick = new Function('window.open("'+Lnk[i].href+'","_blank");');
}
x += s;
s = 250;
}
box.style.visibility = "visible";
run();
}
Loading...
m00=document.getElementById("box").getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]