?? playall.js
字號:
//'轉發時請保留此聲明信息,這段聲明不并會影響你的速度!
//'**************天楓AJAX集天氣\IP\多國語言翻譯MP3(可同步LRC歌詞顯示)\萬年歷查詢通********
//'作者:天楓
//'網站:http://www.52515.net
//'電子郵件:chenshaobo@gmail.com
//'WEB開發群:4635188 19182747
//'QQ:76994859
//'版權聲明:版權所有,源代碼公開,各種用途均可免費使用,但是修改后必須把修改后的文件
//'發送一份給作者.并且保留作者此版權信息
//'**********************************************************************************
//容錯代碼
function killerror() {return true;}
window.onerror=killerror;
//播放歌曲
function play(){
$("gequname").value="";
if(SongList.selectedIndex<0){
SongList.options[0].selected=true;
song=SongList.options[SongList.selectedIndex].value;
mp(song);
return;
}
else{
var varvar,song,person,collect;
song=SongList.options[SongList.selectedIndex].value;
/*if(song.length>18) info_song.innerHTML=song.substr(0,18) + "...";
else info_song.innerHTML=song;
if(person.length>18) info_person.innerHTML=person.substr(0,18) + "...";
else info_person.innerHTML=person;
if(collect.length>18) info_collect.innerHTML=collect.substr(0,18) + "...";
else info_collect.innerHTML=collect;*/
mp(song);
return;
}
}
//控制按鈕 上一首
function LastSong(){
if((SongList.selectedIndex>0)&&(SongList.selectedIndex<TotalSongs)){
SongList.options[SongList.selectedIndex-1].selected=true;
play();
}
}
//控制按鈕 下一首
function NextSong(){
if(SongList.selectedIndex>=0){
if(SongList.selectedIndex<($("SongList").options.length)-1){
SongList.options[SongList.selectedIndex+1].selected=true;
play();
}else{
SongList.options[0].selected=true;
play();
}
}
}
function showTLab(){
if(mediaPlayerObj.playState==1) NextSong();
setTimeout("showTLab()",5000);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -