五菱凯捷汽车新款2020新款七座⿏标放到图⽚上会滑出提⽰⽂字
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"/TR/xhtml1/DTD/xhtml1-transitional.dtd">
别克越野车昂科雷<html xmlns="/1999/xhtml">
<head>
<title>滑动提⽰</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style>
*{margin:0;padding:0;font-size:12px}
ul,ol{list-style-type:none}
#show{background:white;height:180px;width:180px;position:relative;overflow:hidden;text-align:center}
#show h2{position:absolute;height:50px;text-align:center;line-height:50px;width:100%;opacity:0.5;background:black;color:white;left:0;bottom:0} </style>
<script>
function go(){
var t,tt;
var _ElementById("show");
var obj=_ElementsByTagName('h2')[0];
obj.style.bottom="-50px";
var change=function(){
var obj_h=parseInt(obj.style.bottom);
if(obj_h<0){obj.style.bottom=(obj_h+Math.floor((0-obj_h)*0.1))+"px"}//if
else{clearInterval(t)}
}
var back=function(){
if(obj_hh>-50){obj.style.bottom=(obj_hh+Math.floor((-50-obj_hh)*0.1))+"px"}
else{clearInterval(tt)}30万以内进口车
}
日产总统型房车_div.οnmοuseοver=function(){clearInterval(tt);t=setInterval(change,10);}
_div.οnmοuseοut=function(){clearInterval(t);tt=setInterval(back,10)}
}
window.οnlοad=function(){
go();
e260l}
</script>
</head>
<body>
<div id="show">
<h2>北国,风光⽆限</h2>
<img src="wall2.jpg" />
</div>
</body>
</html>
发布评论