最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
看看我写的.和这里样式差不多.不过一样好用哟.滑动时还有音乐.用的qq的音乐
时间:2008-01-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;
-
下一个: VBSctipt 5.0中的新特性
相关文章
- VBS 批量Ping的项目讲解 09-19
- 如何封装一个Ajax函数介绍 09-16
- ASP实现加法验证码方法 09-16
- ASP错误捕获的几种常规处理方法介绍 09-16
- ajax实现城市三级联动的代码介绍 09-16
- asp中获取日期为星期几的技巧 09-14