📄 players.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>HITFM-1024</title>
<style type="text/css">
<!--
-->
</style>
<link href="img/index.CSS" rel="stylesheet" type="text/css">
</head>
<%
url="http://www.dadayu.com/dadayu/mp3/44.mp3"
%>
<FORM action="" method=post name=Inputbox>
<input id=stopflag name=stopflag
type=hidden value=false>
</FORM>
<input type="hidden" name="url" value="<%=url%>">
<SCRIPT language=JavaScript>
<!--
setInterval("retry()",3000);
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</SCRIPT>
<SCRIPT language=JavaScript>
var v
function start(){
showtime ();
radio();
}
function showtime () {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var timeValue = "" +((hours >= 12) ? "PM " : "AM " )
timeValue += ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
times.innerHTML = timeValue;
sms2.innerHTML= RX.GetTitle()
switch(RX.GetPlayState()){
case 0:
sms1.innerHTML="请选择";
break;
case 1:
sms1.innerHTML="请等待";
break;
case 2:
sms1.innerHTML="缓冲"+RX.GetBufferingTimeElapsed()/1000+"秒"
break;
case 3:
sms1.innerHTML="直播中";
break;
}
timerID = setTimeout("showtime()",100);
}
function radio(){
Inputbox.stopflag.value="false";
RX.SetWantErrors(true);
RX.Source="http://www.dadayu.com/dadayu/mp3/42.mp3"
RX.DoPlay();
}
function radio1(){
var js_url=eval(document.all("url")).value;
RX.SetWantErrors(true);
RX.Source="http://www.dadayu.com/dadayu/mp3/44.mp3";
RX.Source=js_url;
RX.DoPlay();
}
function P(){
RX.DoPlay();
}
function S(){
RX.DoStop();
}
function sndup(){
v=RX.GetVolume()+10
RxValue.innerHTML=RX.GetVolume()
RX.SetVolume(v);
}
function snddown(){
v=RX.GetVolume()-10
RxValue.innerHTML=RX.GetVolume()
RX.SetVolume(v);
}
function retry(){
if ((RX.GetPlayState()==0)&&(Inputbox.stopflag.value!="true")) {
RX.DoPlay();
}
}
function Stop(){
Inputbox.stopflag.value="true"
RX.DoStop();
}
</SCRIPT>
<DIV id=Layer1
style="HEIGHT: 117px; LEFT: 2px; POSITION: absolute; TOP: 301px; VISIBILITY: hidden; WIDTH: 186px; Z-INDEX: 0">
<OBJECT classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA height=170 id=RX
width=270>
<PARAM NAME="_ExtentX" VALUE="8467">
<PARAM NAME="_ExtentY" VALUE="6350">
<PARAM NAME="AUTOSTART" VALUE="1">
<PARAM NAME="SHUFFLE" VALUE="0">
<PARAM NAME="PREFETCH" VALUE="0">
<PARAM NAME="NOLABELS" VALUE="0">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="CONSOLE" VALUE="Clip1">
<PARAM NAME="LOOP" VALUE="0">
<PARAM NAME="NUMLOOP" VALUE="0">
<PARAM NAME="CENTER" VALUE="0">
<PARAM NAME="MAINTAINASPECT" VALUE="0">
<PARAM NAME="BACKGROUNDCOLOR" VALUE="#000000">
</OBJECT>
</DIV>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload=start()>
<table width="344" border="0" cellpadding="0" cellspacing="0" background="img/play.gif">
<!--DWLayoutTable-->
<tr>
<td width="63" height="6"></td>
<td width="24"></td>
<td width="24"></td>
<td width="12"></td>
<td width="114"></td>
<td width="22"></td>
<td width="76"></td>
<td width="4"></td>
</tr>
<tr>
<td height="18"> </td>
<td valign="top"><img src="img/play1.gif" width="24" height="24" border="0" usemap="#Map5"></td>
<td valign="top"><img src="img/play2.gif" width="24" height="24" border="0" usemap="#Map4"></td>
<td> </td>
<td height="20" valign="middle"><font color="ffffff"><span id=sms1></span></font><font size="2" color="ffffff"><span id=sms2></span></font></td>
<td> </td>
<td valign="top"><img src="img/play3.gif" width="74" height="24" border="0" usemap="#Map3"></td>
<td> </td>
</tr>
<tr>
<td height="103"></td>
<td></td>
<td></td>
<td></td>
<td valign="top"><font color="ffffff"><span id=times></span></font></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<map name="Map3">
<area shape="rect" coords="4,4,67,20" href="#" onClick=radio1()>
</map>
<map name="Map5">
<area shape="circle" coords="13,12,10" href="#" onClick=Stop()>
</map>
<map name="Map4">
<area shape="circle" coords="13,12,10" href="#" onClick=radio()>
</map>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -