Played.aspx
资源名称:YDMusic.rar [点击查看]
上传用户:whzhongbo
上传日期:2022-07-31
资源大小:1531k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Played.aspx.vb" Inherits="YDMusic.Played"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>无标题文档</title>
- <style>
- body {repeat-x 0px 0px; font-family: 宋体,Arial,serif; margin:auto; padding:auto; font-size:12px; color:#000; text-align: center;}
- .tingguodegeq{ color:#666666; font-size:12px;}
- .tingguodegeq{color:#666666;}
- .tingguodegeq a {color:#666666;}
- .tingguodegeq a:link {color:#666666;}
- .tingguodegeq a:visited{color:#666666;}
- .tingguodegeq a:hover {color:#FF6801;}
- </style>
- <script>
- //全选
- function qxs(form){
- for(var i=0;i<form.elements.length;i++){
- var e = form.elements[i];
- e.checked = true;
- }
- }
- //反选
- function fxs(form)
- {
- for (var i=0;i<form.elements.length;i++)
- {
- var e = form.elements[i];
- if (e.checked==false){
- e.checked = true;
- }else{
- e.checked = false;
- }
- }
- }
- //连播
- function checkall(myform)
- {
- var strCBValue = "";
- for (var i=0;i<myform.elements.length;i++) //用来历遍form中所有控件,
- {
- var e = myform.elements[i];
- if (e.Type="checkbox") //当是checkbox时才执行下面
- {
- if(e.checked) //当是checkbox被选取时才执行下面
- {
- strCBValue = strCBValue + e.value+",";
- }
- }
- }
- if(strCBValue=="")
- {
- alert("请选择要播放的歌曲(可多选)");
- return;
- }
- else
- {
- strCBValue=strCBValue.substring(0,strCBValue.length-1);
- top.location.href="/PlayList.aspx?ID="+strCBValue;
- }
- }
- </script>
- </head>
- <body>
- <form name="usermusic">
- <div style="height:250px; width:290px; margin-top:10px;margin-left:0px; ">
- <table width="275" height="200" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td valign="top" class="tingguodegeq">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" >
- <tr>
- <td width="10%" align="center"> </td>
- <div style="padding:5px 5px 0px 0px;" align="center" class="tingguodegeq">
- <IMG style="cursor:hand" src="/Images/Tquanxuan.gif" id="qx" onClick="qxs(usermusic)">
- <IMG style="cursor:hand" src="/Images/Tfanxuan.gif" id="qx" onClick="fxs(usermusic)">
- <IMG style="cursor:hand" src="/Images/Tbofang.gif" id="qx" onClick="checkall(usermusic)">
- </div>
- <td width="11%"> </td>
- </tr>
- </table>
- <DIV id="mn" style="height:200px; width:260px; overflow-y:auto" >
- <%# ShowMusic%>
- </DIV>
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>