欢迎来到皮皮网官网

【源码交易zhanm】【交易软件源码下载】【php手机棋牌源码】lrc检验源码_lrc检测

时间:2024-12-23 08:24:47 来源:公开信源码

1.html调用lrc

lrc检验源码_lrc检测

html调用lrc

       <HTML><HEAD><TITLE>MP3试听</TITLE>

       <META /imgs/bdbg.gif);background-repeat:repeat-x;margin:0;font-size:px;font-family:SimSun}

       img{ border:0}

       a{ color:#c}

       #Head_div { height:px;width:px}

       #Usr_div { float:right;margin:px px px;width:px}

       #Usr_div { margin:px 0 px px;width:px}

       #Logo_div { margin:px 0 px 3px;width:px;float:left;}

       #Lrc_div { position:absolute;width:px;height:%;float:left;margin-top:-px;margin-left:8px;}

       #url_div { margin:px px px 5px;width:px}

       #song_div { margin:5px px 5px 5px}

       #S_div { background:#E0E6F7;border:1px solid #A0BACD;width:px;margin-bottom:px}

       #SongNum_div { clear:both}

       #plus_div { float:left;background:url(/imgs/cd.gif) no-repeat px;padding:px px;text-decoration:underline;color:blue;}

       #next_div { float:right;background:url(/imgs/next.gif) no-repeat 1px px;padding:px px;text-decoration:underline;color:blue;}

       #pre_div { float:right;background:url(/imgs/pre.gif) no-repeat 1px px;padding:px px;text-decoration:underline;color:blue;}

       #InP_div { margin:2px;clear:both}

       #arrowright_div { float:left;height:px;width:px;}

       #arrowright_div img { position:absolute;top:px;left:0;cursor:pointer;}

       #rightIfrm_div { float:left;width:px;margin-top:-px}

       #MngIfrm_div { }

       #leftAd_div { width:px;float:left;margin-left:px;margin-top:px;}

       </STYLE>

       </HEAD>

       <script src="/js/bd_syncLRC.js"></script>

       <script language="VBScript">

        Function bdBytes2Str(vIn)

        strReturn = ""

        For i = 1 To LenB(vIn)

        ThisCharCode = AscB(MidB(vIn,检检测源码交易zhanmi,1))

        If ThisCharCode < &H Then

        strReturn = strReturn & Chr(ThisCharCode)

        Else

        NextCharCode = AscB(MidB(vIn,i+1,1))

        strReturn = strReturn & Chr(CLng(ThisCharCode) * &H + CInt(NextCharCode))

        i = i + 1

        End If

        Next

        bdBytes2Str = strReturn

        End Function

       </script>

       <BODY>

       <div id="Head_div">

        <div id="Logo_div"> </div>

        <div id="Usr_div"> </div>

       </div>

       <div id="arrowright_div">

        <img src="/imgs/arrowright1.gif" id="Res_div" alt="隐藏音乐盒" onclick="reWin()" style="filter:fliph" />

       </div>

       <div id="rightIfrm_div" style="display:none">

       <div id="MngIfrm_div" style="display:none">

        <iframe id="try_iframe" name="try_iframe" src="" align="top" width="%" height="px" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>

       </div>

       <div style="display:none" id="leftAd_div"></div>

       </div>

       <script language="javascript" type="text/javascript">

       var txtEp="展开音乐盒";

       var txtTb="隐藏音乐盒";

       var isLoadIf = false; //是否已加载

       var try_iframe = window.frames[0];

       var search_location = window.location.href;

       var ext_mb = false; //是否需要展开

       var is_ext_mb = false; //是否已经展开

       var woffset = 0;

       //if(!(document.body.clientWidth >= && document.body.clientWidth <= ) && !(document.body.clientWidth >= && document.body.clientWidth <= )) woffset = ;

       if(search_location.indexOf("gate=2") > 0 || search_location.indexOf("gate=5") > 0) ext_mb = true;

       function reWin() {

        var mngIfrm_div = document.getElementById("MngIfrm_div");

        var rightIfrm_div = document.getElementById("rightIfrm_div");

        var res_div = document.getElementById("Res_div");

        if(mngIfrm_div.style.display!="none") {

        mngIfrm_div.style.display="none";

        res_div.src="/imgs/arrowright1.gif";

        res_div.style.filter="fliph";

        res_div.alt=txtEp;

        is_ext_mb = false;

        if(hasAds) { //有广告

        if(hasLrc) { //有歌词

        res_div.style.marginLeft="px";

        rightIfrm_div.style.display="inline";

        } else { //无歌词

        rightIfrm_div.style.display="none";

        res_div.style.marginLeft="0px";

        showAdRight(arrBaiduAds[]);

        document.getElementById("Lrc_div").style.marginLeft = "8";

        window.moveTo((screen.width - ) / 2, 0);

        window.resizeTo( + woffset, );

        }

        } else { //无广告

        rightIfrm_div.style.display="none";

        document.getElementById("Lrc_div").style.marginLeft = "8";

        window.moveTo((screen.width - ) / 2, 0);

        window.resizeTo( + woffset, );

        }

        } else {

        document.getElementById("Lrc_div").style.marginLeft = "3";

        //window.moveBy(-,0);

        if(screen.width > ) window.moveTo(, 0); else window.moveTo(0, 0);

        window.resizeTo( + woffset, );

        mngIfrm_div.style.display="inline";

        rightIfrm_div.style.display="inline";

        if(!isLoadIf) {

        search_location = search_location.replace("baidumt", "baidubox");

        document.getElementById("try_iframe").src= search_location;

        try_iframe = window.frames[0];

        isLoadIf = true;

        }

        document.getElementById("Blrc").style.display = "inline";

        document.getElementById("LrcShower_div").style.display = "inline";

        document.getElementById("lrctellall_div").style.display = "none";

        res_div.src="/imgs/arrowright1.gif";

        res_div.style.filter="normal";

        res_div.style.marginLeft="0px";

        res_div.alt=txtTb;

        is_ext_mb = true;

        }

        if(is_ext_mb)

        document.getElementById("leftAd_div").style.marginTop = "5px";

        else

        document.getElementById("leftAd_div").style.marginTop = "px";;

       }

       function cclsDiv() {

        if(document.getElementById("MngIfrm_div").style.display!="none") {

        try_iframe.qaz.value='none'

        }

       }

       function ggetClk() {

        try{ document.attachEvent("onmouseup",cclsDiv)}

        catch (e){ document.addEventListener("mouseup",cclsDiv, false)}

       }

       </script>

       <div id="Lrc_div">

        <div id="url_div">歌曲出处:<a id="song_url" href="/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,"

       align="baseline" border="0" standby="Loading Microsoft Windows Media Player components..."

       type="application/x-oleobject">

        <param name="invokeURLs" value="0">

        <param name="FileName" value="/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin&"

        name="MediaPlayer" showcontrols="1" showpositioncontrols="0"

        showaudiocontrols="1" showtracker="1" showdisplay="0"

        showstatusbar="1"

        autosize="0"

        showgotobar="0" showcaptioning="0" autostart="1" autorewind="0"

        animationatstart="0" transparentatstart="0" allowscan="1"

        enablecontextmenu="1" clicktoplay="0"

        defaultframe="datawindow" invokeurls="0">

        </embed>

       </object>

       </div>

        <div id="SongNum_div">

        <div id="plus_div" onclick="if(!isLoadIf) { window.document.getElementById('plus_a').target='mt';reWin();} else { try_iframe.Controller(event);if(!is_ext_mb) reWin();return false;}"><a id="plus_a" style="cursor:hand;">放入我的音乐盒</a></div>

        <div id="next_div" onclick="try_iframe.Controller(event);return false;"><a id="next_a" style="cursor:hand;">下一首</a></div>

        <div id="pre_div" onclick="try_iframe.Controller(event);return false;"><a id="pre_a"" style="cursor:hand;">上一首</a></div>

        </div>

       </div>

       <div style="display:none;clear:both" id="Blrc">

        <div style="border:#B4C2E2 1px solid;font-size:px;text-align:left;width:px">

        <table width="px" style="background:#ECEDED" cellspacing="0" cellpadding="0"><tr><td style="padding:5px px 1px;text-align:left;font-size:px;"><b>歌词:</b></td><td style="text-align:right"></td></tr></table>

        <div style="display:none;height:px;width:px;line-height:px;overflow-y:scroll;overflow-x:hidden;background:#fff;display:none" id="LrcShower_div"></div>

        </div>

       </div>

       <div style="display:none" id="lrctellall_div"></div>

       <div id="InP_div">

       <a href="/f?kw=%B0%D9%B6%C8MP3%CA%D4%CC%FD" target="_blank">意见与反馈</a>  <a href="/search/listencopyright.html" target=_blank style="color:#">权利声明</a>

       </div>

       <!-- script type="text/javascript" src="js/jslog.js"></script> -->

       <script>

       /*@cc_on @*/

       /*@set @dLrc=false @*/

       var isFF=(navigator.userAgent.toLowerCase().indexOf("firefox")!=-1)

       var hasLrc

       var pID=null;

       function init(lrcID) {

        /*@if (@dLrc)

        jslog.info("begin init lrcID=" + lrcID);

        @end

        @*/

        document.onkeydown=function(){ if(window.event.keyCode==8){ window.event.returnValue=false;}else if(window.event.keyCode>=&&window.event.keyCode<=){ window.event.keyCode=0;window.event.returnValue = false;};};

        document.getElementById("plus_a").contentEditable = false;

        document.getElementById("pre_a").contentEditable = false;

        document.getElementById("next_a").contentEditable = false;

        document.getElementById("plus_div").contentEditable = false;

        document.getElementById("pre_div").contentEditable = false;

        document.getElementById("next_div").contentEditable = false;

        if (isFF) {

        document.getElementById("arrowright_div").style.display = "none";

        document.getElementById("plus_div").style.display = "none";

        document.getElementById("Lrc_div").style.marginRight = "px";

        };

        document.getElementById("next_div").style.display = "none";

        document.getElementById("pre_div").style.display = "none";

        if(document.getElementById('MediaPlayer1')){ pID="MediaPlayer1"}

        else{

        if(document.getElementById('RealPlayer1')){ pID="RealPlayer1"}

        }

        if(lrcID && lrcID != "" && lrcID != "0" && lrcID != 0) {

        /*@if (@dLrc)

        jslog.info("load lrcID:" + lrcID);

        @end

        @*/

        var re=new RegExp("^[0-9]+$");

        var d= lrcID.match(re)

        hasLrc=(d!=null&&d!=""&&parseInt(lrcID)>0)

        if(!isFF){

        if(hasLrc){

        document.getElementById('Blrc').style.display="";

        document.getElementById('LrcShower_div').style.display="";

        if(typeof(lrcInterface)=="function"){

        lrcInterface(pID,lrcID);

        }else{

        document.getElementById('LrcShower_div').innerHTML="<br><br><br><br><br><br><span style='font-size:px;margin-left:px'> å¯èƒ½æ˜¯å› ä¸ºç½‘络的原因,系统没有找到合适的歌词。请稍后重试</span>";

        }

        }//end if(hasLrc)

        }//end if(!isFF)

        } else {

        /*@if (@dLrc)

        jslog.info("hasLrc = false");

        @end

        @*/

        hasLrc = false;

        tmpLrcContent = "";

        tmpLrcs = new Array();

        document.getElementById('LrcShower_div').innerHTML = "<br><br><br><br><br><br><span style='font-size:px;margin-left:px'> æŠ±æ­‰ï¼Œç³»ç»Ÿæœªæ‰¾åˆ°å¯¹åº”歌词。";

        /*@if (@dLrc)

        jslog.info("end init");

        @end

        @*/

        }//if(lrcID)结束

       }//init

       var reg = new RegExp("(^|&)"+ "si" +"=([^&]*)(&|$)");

       var r = window.location.search.substr(1).match(reg);

       if (r!=null) {

        arrPar = r[0].split(";;")

        //alert("r[0]: "+r[0]);

        lrcID = arrPar[2];

        init(lrcID);

       }//if (r!=null)结束

       </script>

       </div>

       <!--广告-->

       <div id="ad_script_div"></div>

       <div id="show_flag" style="display:none"></div>

       <script src="/js/bd_Adv.js"></script>

       </BODY>

       </HTML>

copyright © 2016 powered by 皮皮网   sitemap