请欣赏
歌曲试听:当你的秀发拂过我的钢枪 ...
抱歉,系统未找到对应歌词。 意见与反馈> 权利声明>
Function bdBytes2Str(vIn)
dim strReturn
dim i
dim ThisCharCode
dim NextCharCode
strReturn = ""
For i = 1 To LenB(vIn)
ThisCharCode = AscB(MidB(vIn,i,1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(vIn,i+1,1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
i = i + 1
End If
Next
bdBytes2Str = strReturn
End Function
function isHighVer() {
try {
var x = new ActiveXObject("WMPlayer.OCX");
} catch (e) {
return false;
}
return true;
}
var isMH = isHighVer();
var isFF=(navigator.userAgent.toLowerCase().indexOf("firefox")!=-1)
var hasLrc
var pType = null;
function init(pType, lrcID) {
document.onkeydown=function(){if(window.event.keyCode==8){window.event.returnValue=false;}else if(window.event.keyCode>=112&&window.event.keyCode<=123){window.event.keyCode=0;window.event.returnValue = false;};};
$d("plus_a").contentEditable = false;
$d("pre_a").contentEditable = false;
$d("next_a").contentEditable = false;
$d("plus_div").contentEditable = false;
$d("pre_div").contentEditable = false;
$d("next_div").contentEditable = false;
if (isFF) {
$d("arrowright_div").style.display = "none";
$d("plus_div").style.display = "none";
$d("Lrc_div").style.marginRight = "15px";
};
if(lrcID && lrcID != "" && lrcID != "0" && lrcID != 0) {
var re=new RegExp("^[0-9]+$");
var d= lrcID.match(re)
hasLrc=(d!=null&&d!=""&&parseInt(lrcID)>0)
if(!isFF){
if(hasLrc){
$d('Blrc').style.display="";
$d('LrcShower_div').style.display="";
if(typeof(lrcInterface)=="function"){
lrcInterface(pType, lrcID);
}else{
$d('LrcShower_div').innerHTML="
可能是因为网络的原因,系统没有找到合适的歌词。请稍后重试";
}
}//end if(hasLrc)
}//end if(!isFF)
} else {
hasLrc = false;
tmpLrcContent = "";
tmpLrcs = new Array();
$d('LrcShower_div').innerHTML = "
抱歉,系统未找到对应歌词。";
}//if(lrcID)结束
}//init
$d("next_div").style.display = "none";
$d("pre_div").style.display = "none";
var reg = new RegExp("(^|&)"+ "si" +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r!=null) {
arrPar = r[0].split(";;")
lrcID = arrPar[2];
if($d('MediaPlayer1')){
pType = isMH ? "MPH" : "MPL";
} else if($d('RealPlayer1')){pType="RP"}
init(pType, lrcID);
}//if (r!=null)结束
//初始化窗口size
function initSize() {
if(ext_mb) {
reWin();
} else {
if(!isFF) {
width=399 + woffset;
if(!hasLrc) height=275; else height=600;
var hasAds2 = $d("ad1").innerHTML != '' && $d("ad2").innerHTML != '';
if(!hasLrc && hasAds2) height += 20; //无歌词,有106/107广告,调整窗口高度
window.resizeTo(width, height);
} else {
width=384;
height=275;
window.resizeTo(width, height);
}
}
if(hasLrc && hasAds2) { //有歌词,显示106/107广告,调整歌词显示div高度
$d('LrcShower_div').style.height = "266px";
}
//格式控制
if(document.body.clientHeight < 500) {
$d('Res_div').style.top="60px";
$d("Res_div").src="http://imgs.zhangmen.baidu.com/imgs/arrowright.gif";
}
};
try {
initSize();
} catch (err){}
※※※※※※ http://blog.sina.com.cn/u/1229956314 |