最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
看看我写的.和这里样式差不多.不过一样好用哟.滑动时还有音乐.用的qq的音乐
时间:2022-06-30 09:47:18 编辑:袖梨 来源:一聚教程网
>
css" rel=stylesheet type=text/css>
var theNewId=0;
var theOldId=0;
var isMoving=false;
var upHei=0;
function MoveBar(newBarId)
{
if (isMoving)return;
if (newBarId==theOldId)return;
theNewId=newBarId;
try{
var tmpOld=document.all("BarShow"+theOldId);
var tmpNew=document.all("BarShow"+theNewId);
document.all("BarCT"+theOldId).style.display="none";
//document.all("BarCT"+theNewId).style.overflow="auto";
}
catch(e){
alert("Wrong");return;}
//bgss.play();
isMoving=true;
Moving();
}
function Moving()
{
upHei+=9;
document.all("BarShow"+theNewId).style.%";
document.all("BarShow"+theOldId).style.%";
if (upHei>=91)
{ upHei=0;
document.all("BarShow"+theNewId).style.;
document.all("BarShow"+theOldId).style.;
document.all("BarCT"+theNewId).style.display="";
document.all("BarCT"+theNewId).style.overflow="auto";
theOldId=theNewId;
isMoving=false;
相关文章
- 雷电模拟器如何设置手机版教程 05-16
- 高德地图导航声音延迟怎么办 05-16
- 什么值得买如何进行意见反馈 05-16
- 微信文件助手网页版如何查看文件上传进度 05-16
- 字体下载为何解码失败 05-16
- cad定距等分怎么操作 05-16