//在这里改造-----------------------------------------------------------------
if(LrcT[CurIndex-2] !=null && LrcT[CurIndex]!=null)
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-2].text+"<br/>"+LrcT[CurIndex-1].text+"<br/>"+LrcT[CurIndex].text;
}
else
{
if(LrcT[CurIndex-2] ==null)//第一行的时候
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-1].text+"<br/>"+LrcT[CurIndex].text;
}
if(LrcT[CurIndex]==null)//最后一行
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-2].text+"<br/>"+LrcT[CurIndex-1].text;
}
}
//改造完毕--------------------------------------------------------
太长,我发不上来。。能看懂在哪边改不?在你的代码的174行左右那里
if(LrcT[CurIndex-2] !=null && LrcT[CurIndex]!=null)
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-2].text+"<br/>"+LrcT[CurIndex-1].text+"<br/>"+LrcT[CurIndex].text;
}
else
{
if(LrcT[CurIndex-2] ==null)//第一行的时候
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-1].text+"<br/>"+LrcT[CurIndex].text;
}
if(LrcT[CurIndex]==null)//最后一行
{
document.getElementById("showIdText").innerHTML=LrcT[CurIndex-2].text+"<br/>"+LrcT[CurIndex-1].text;
}
}
//改造完毕--------------------------------------------------------
太长,我发不上来。。能看懂在哪边改不?在你的代码的174行左右那里
改了之后歌词就不动了,怪怪?
老大,能不能发发你该的代码到我的油箱呢?
[email protected]
than you very much!