放大镜站内搜索:


您现在的位置:首页 > 电脑 > 应用技巧 > 正文
全自动获取百度500首最热门MP3的方法
学生王国 ∥ http://www.xswg.com 更新时间:2006年10月12日 调整字体:

    theButton.title="添加到列表";
    theButton.onclick=musicList_add2ListBtn_click;
    theButton.onmouseover=musicList_item_mouseover;
    theButton.onmouseout=musicList_item_mouseout;
    theD.insertBefore(theButton);
    //上卷按钮
    theButton=document.createElement("Span");
    theButton.className="add2ListBtn";
    theButton.innerText="3";
    theButton.title="上卷";
    theButton.onclick=musicList_scrollUpBtn_click;
    theButton.onmouseover=musicList_item_mouseover;
    theButton.onmouseout=musicList_item_mouseout;
    theD.insertBefore(theButton);
    //下卷按钮
    theButton=document.createElement("Span");
    theButton.className="add2ListBtn";
    theButton.innerText="4";
    theButton.title="下卷";
    theButton.onclick=musicList_scrollDownBtn_click;
    theButton.onmouseover=musicList_item_mouseover;
    theButton.onmouseout=musicList_item_mouseout;
    theD.insertBefore(theButton);
    //打开新窗口按钮
    theButton=document.createElement("Span");
    theButton.className="add2ListBtn";
    theButton.innerText="2";
    theButton.title="打开新窗口";
    theButton.onclick=musicList_newWinBtn_click;
    theButton.onmouseover=musicList_item_mouseover;
    theButton.onmouseout=musicList_item_mouseout;
    theD.insertBefore(theButton);
   
    theC.insertBefore(theD);
  }
}

//####关于播放器播放音乐的代码######
//----检查播放器状态-------
function checkPlayStatus(oldState,newState){
  try{
    if(MediaPlayer1.PlayState==0){
      MediaPlayer1.detachEvent("PlayStateChange",checkPlayStatus);
      MediaPlayer1.stop();
      if(playList.options.selectedindex<playList.options.length-1){
        playList.options[playList.options.selectedindex+1].selected=true;
      }else{
        playList.options[0].selected=true;
      }
      MediaPlayer1.fileName=playList.value;
      MediaPlayer1.play();
      setTimeout('MediaPlayer1.attachEvent("PlayStateChange",checkPlayStatus);',5000);
    }
  }catch(e){}
}


//**********Event Function Area***************
//----------Play List Event Start-------------
function playList_dragOver(){

9共  上一页 1 2 3 4 5 6 7 8 9 下一页


相关链接
来自:幻灭的麦克风
编辑:
浏览:
评论查看全部评论
您的评论
姓名:
请您注意:
1.请遵守《中国互联网行业自律条款》及中华人民共和国其他各项有关法律法规。
2.严禁发表危害国家安全、损害国家利益、破坏民族团结、破坏国家宗教政策、破坏社会稳定、侮辱、诽谤、教唆、淫秽等内容的评论 。
3.用户需对自己在使用本站服务过程中的行为承担法律责任(直接或间接导致的)。
4.本站管理员有权保留或删除评论内容。
评论内容只代表网友个人观点,与本网站立场无关。