网页放两个ASP特效滚动代码就不动,要怎么改?
网页放两个ASP特效滚动代码就不动,要怎么改?具体改哪里?varNowImg=1;varbStart=1;varbStop=1;functionfnToggle(){va...
网页放两个ASP特效滚动代码就不动,要怎么改?
具体改哪里?
var NowImg = 1;
var bStart = 1;
var bStop =1;
function fnToggle()
{
var next = NowImg + 1;
if(next == MaxImg+1)
{
NowImg = MaxImg;
next = 1;
}
if(bStop!=1)
{
if(bStart == 0)
{
bStart = 1;
setTimeout('fnToggle()', 4000);
return;
}
else
{
oTransContainer.filters[0].Apply();
document.images['oDIV'+next].style.display = "";
document.images['oDIV'+NowImg].style.display = "none";
oTransContainer.filters[0].Play(duration=2);
if(NowImg == MaxImg)
NowImg = 1;
else
NowImg++;
}
setTimeout('fnToggle()', 4000);
}
}
function toggleTo(img)
{
bStop=1;
if(img==1) 展开
具体改哪里?
var NowImg = 1;
var bStart = 1;
var bStop =1;
function fnToggle()
{
var next = NowImg + 1;
if(next == MaxImg+1)
{
NowImg = MaxImg;
next = 1;
}
if(bStop!=1)
{
if(bStart == 0)
{
bStart = 1;
setTimeout('fnToggle()', 4000);
return;
}
else
{
oTransContainer.filters[0].Apply();
document.images['oDIV'+next].style.display = "";
document.images['oDIV'+NowImg].style.display = "none";
oTransContainer.filters[0].Play(duration=2);
if(NowImg == MaxImg)
NowImg = 1;
else
NowImg++;
}
setTimeout('fnToggle()', 4000);
}
}
function toggleTo(img)
{
bStop=1;
if(img==1) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询