求助:这样的效果是怎么实现的呢?高分向送!

threezxw 2004-06-22 01:03:58
http://www.j2003.com/
大家看上面这个网站,它播放音乐的那个效果怎么实现的呢?任务栏的上面有个控制界面。谢谢各位大侠,最好给个源码!
...全文
208 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
yangsm 2004-07-01
  • 打赏
  • 举报
回复
是用http://www.51windows.net/hw/share/js/play.rar这个的吧!
yishanjushi 2004-07-01
  • 打赏
  • 举报
回复
哦。好!
chinalinx 2004-06-24
  • 打赏
  • 举报
回复
ice_berg16(寻梦的稻草人) ( )


UPup
woyingjie 2004-06-22
  • 打赏
  • 举报
回复
我原来给你个网站做过电台,,,
修改了n个版本类似这种的 播放器

如果有兴趣的话 可以加我的 qq:158423822
threezxw 2004-06-22
  • 打赏
  • 举报
回复
谢谢各位!
threezxw 2004-06-22
  • 打赏
  • 举报
回复
用框架我知道
我的意思是播放音乐的那个东西怎么做的!
BlueDestiny 2004-06-22
  • 打赏
  • 举报
回复
动网插件里也有的。
fashchina 2004-06-22
  • 打赏
  • 举报
回复
up
ice_berg16 2004-06-22
  • 打赏
  • 举报
回复
这是它music页面的代码,其它还包含了二个JS文件,可以下载下来自己看
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>我的网络日志</title>
<link rel="stylesheet" type="text/css" href="exobud.css">
<script language="JavaScript" src="exobud.js"></script>
<script language="JavaScript" src="exobudset.js"></script>
<!-- 加载 我的网络日志 播放清单设定文件 -->
<script language="JavaScript" src="player.js"></script>
<script language="JScript" for="Exobud" event="openStateChange(sf)">evtOSChg(sf);</script>
<script language="JScript" for="Exobud" event="playStateChange(ns)">evtPSChg(ns);</script>
<script language="JScript" for="Exobud" event="error()">evtWmpError();</script>
<script language="JScript" for="Exobud" event="Buffering(bf)">evtWmpBuff(bf);</script>
<script language="JavaScript" src="imgchg.js"></script>
</head>
<body onLoad="initExobud();" onDragStart="return false" onSelectStart="return false" topmargin="0" leftmargin="0" oncontextmenu=window.event.returnValue=false onselectstart=event.returnValue=false ondragstart=window.event.returnValue=false onsource="event.returnValue=false">
<noscript>
<iframe src="*.htm">
</iframe>
</noscript>
<object id="Exobud" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject" width="0" height="0"
style="position:relative;left:0px;top:0px;width:0px;height:0px;">
<param name="autoStart" value="true">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="currentMarker" value="0">
<param name="enableContextMenu" value="false">
<param name="enableErrorDialogs" value="false">
<param name="enabled" value="true">
<param name="fullScreen" value="false">
<param name="invokeURLs" value="false">
<param name="mute" value="false">
<param name="playCount" value="1">
<param name="rate" value="1">
<param name="uiMode" value="none">
<param name="volume" value="100">
</object>
<table width="97%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td></td><td width="1"></td>
<td align="center" height=23><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" background="../skin/Default/tabs_m_tile.gif" height="21">
<table height=20 align=center cellpadding=0 cellspacing=0 border=0>
<form name="exobudform">
<tr>
<td height=20>
<!-- 显示媒体标题的方块:
您可以透过修改 style 属性里面的样式设定来做一些个人喜好的调整。 -->
<input type="text" class="title" id="disp1" value="" readonly style="height:18;width:285;cursor:crosshair">
<!-- 显示时间长度的方块:
假如媒体的时间长度超过一小时,请将 width 的数值适当地增加,令信息可以显示得完整。 -->
<input type="button" class="time" id="disp2" value="" title="时间长度显示方式 (正常/倒数)"
onClick="chgTimeFmt()" style="width:90;height:18;cursor:hand">
</td>
<td width=30 height=20 align=center
><img name="scope" src="./image/scope_off.gif" width=17 height=16></td>
<td height=20 nowrap>
<input type="button" class ="buttons" name="vmute" value="静" title="静音模式"
onClick="wmpMute()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="vdn" value="▼" title="减少音量"
onClick="wmpVolDn()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="vup" value="▲" title="增加音量"
onClick="wmpVolUp()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="pmode" value="" title="播放顺序 (S=循序 R=随机)"
style="height:18;cursor:hand"
><input type="button" class ="buttons" name="rept" value="L" title="切换是否重复播放目前的曲目"
onClick="chkRept()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="prevt" value="←" title="上一首曲目"
onClick="playPrev()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="pauzt" value="⊕" title="暂停.继续"
onClick="wmpPP()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="stopt" value="■" title="停止"
onClick="wmpStop()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="playt" value="▶" title="播放"
onClick="startExobud()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="nextt" value="→" title="下一首歌曲"
onClick="playNext()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="plist" value="清单" title="显示播放清单内容"
onClick="openPlist()" style="height:18;cursor:hand">
</td>
</tr>
<tr>
<td colspan=3 height=0>
<div id="capText"></div>
</td>
</tr>
</form>
</table></td>
</tr>
</table></td><td width="1"></td>
<td width="16"></td>
</tr>
</table>
</body>
</html>
wesheng 2004-06-22
  • 打赏
  • 举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>我的网络日志</title>
<link rel="stylesheet" type="text/css" href="exobud.css">
<script language="JavaScript" src="exobud.js"></script>
<script language="JavaScript" src="exobudset.js"></script>
<!-- 加载 我的网络日志 播放清单设定文件 -->
<script language="JavaScript" src="player.js"></script>
<script language="JScript" for="Exobud" event="openStateChange(sf)">evtOSChg(sf);</script>
<script language="JScript" for="Exobud" event="playStateChange(ns)">evtPSChg(ns);</script>
<script language="JScript" for="Exobud" event="error()">evtWmpError();</script>
<script language="JScript" for="Exobud" event="Buffering(bf)">evtWmpBuff(bf);</script>
<script language="JavaScript" src="imgchg.js"></script>
</head>
<body onLoad="initExobud();" onDragStart="return false" onSelectStart="return false" topmargin="0" leftmargin="0" oncontextmenu=window.event.returnValue=false onselectstart=event.returnValue=false ondragstart=window.event.returnValue=false onsource="event.returnValue=false">
<noscript>
<iframe src="*.htm">
</iframe>
</noscript>
<object id="Exobud" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject" width="0" height="0"
style="position:relative;left:0px;top:0px;width:0px;height:0px;">
<param name="autoStart" value="true">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="currentMarker" value="0">
<param name="enableContextMenu" value="false">
<param name="enableErrorDialogs" value="false">
<param name="enabled" value="true">
<param name="fullScreen" value="false">
<param name="invokeURLs" value="false">
<param name="mute" value="false">
<param name="playCount" value="1">
<param name="rate" value="1">
<param name="uiMode" value="none">
<param name="volume" value="100">
</object>
<table width="97%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td></td><td width="1"></td>
<td align="center" height=23><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="middle" background="../skin/Default/tabs_m_tile.gif" height="21">
<table height=20 align=center cellpadding=0 cellspacing=0 border=0>
<form name="exobudform">
<tr>
<td height=20>
<!-- 显示媒体标题的方块:
您可以透过修改 style 属性里面的样式设定来做一些个人喜好的调整。 -->
<input type="text" class="title" id="disp1" value="" readonly style="height:18;width:285;cursor:crosshair">
<!-- 显示时间长度的方块:
假如媒体的时间长度超过一小时,请将 width 的数值适当地增加,令信息可以显示得完整。 -->
<input type="button" class="time" id="disp2" value="" title="时间长度显示方式 (正常/倒数)"
onClick="chgTimeFmt()" style="width:90;height:18;cursor:hand">
</td>
<td width=30 height=20 align=center
><img name="scope" src="./image/scope_off.gif" width=17 height=16></td>
<td height=20 nowrap>
<input type="button" class ="buttons" name="vmute" value="静" title="静音模式"
onClick="wmpMute()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="vdn" value="▼" title="减少音量"
onClick="wmpVolDn()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="vup" value="▲" title="增加音量"
onClick="wmpVolUp()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="pmode" value="" title="播放顺序 (S=循序 R=随机)"
style="height:18;cursor:hand"
><input type="button" class ="buttons" name="rept" value="L" title="切换是否重复播放目前的曲目"
onClick="chkRept()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="prevt" value="←" title="上一首曲目"
onClick="playPrev()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="pauzt" value="⊕" title="暂停.继续"
onClick="wmpPP()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="stopt" value="■" title="停止"
onClick="wmpStop()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="playt" value="▶" title="播放"
onClick="startExobud()" style="height:18;cursor:hand"
><input type="button" class ="buttons" name="nextt" value="→" title="下一首歌曲"
onClick="playNext()" style="height:18;cursor:hand">
<input type="button" class ="buttons" name="plist" value="清单" title="显示播放清单内容"
onClick="openPlist()" style="height:18;cursor:hand">
</td>
</tr>
<tr>
<td colspan=3 height=0>
<div id="capText"></div>
</td>
</tr>
</form>
</table></td>
</tr>
</table></td><td width="1"></td>
<td width="16"></td>
</tr>
</table>
</body>
</html>
所用的控件就是MS MEDIAPLAY
lawdoor 2004-06-22
  • 打赏
  • 举报
回复
http://www.51windows.net/hw/share/js/play.rar
andraw2002 2004-06-22
  • 打赏
  • 举报
回复
这是用框架的方式,上面一个框架页,下面也一个
virm 2004-06-22
  • 打赏
  • 举报
回复
http://www.j2003.com/mm/music.htm

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧