|
现在的音乐网站可是越来越多了,我个人认为做一个简单的音乐网站并不难,就是蛮要时间,特别是歌曲非常多的那一种,
代码是这样的:
<html><head><META HTTP-EQUIV="pragma" CONTENT="no-cache"><meta http-equiv="Cache-Control" content="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"><TITLE>聪明的笨小孩★胡胡在线影视★wyjq.anyf.cn</TITLE></head><body topmargin="0" leftmargin="0" bgcolor="#182842"><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
A{
font-size:9pt;
color: ffff00;
text-decoration:none;
}
A:hover{color:red;text-decoration:none;}
TD {FONT-SIZE: 9pt; COLOR: #ffffcc}
</style>
</HEAD>
<script>
function document.onkeydown()
{
if ((event.ctrlKey)&&(event.keyCode==78))
self.event.returnValue=false;
}
</script>
<script language="JavaScript">
function findobj(n, d) {
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0 && parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);
}
if(!(x=d[n])&&d.all) {
x=d.all[n];
}
for(i=0;!x && i<d.forms.length;i++) {
x=d.forms[n];
}
for(i=0;!x && d.layers&&i>d.layers.length;i++) {
x=MM_findObj(n,d.layers.document);
}
return x;
}
function copycode(obj) {
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);
alert("网址复制成功");
}
</script>
</head>
<noscript><iframe src=*.htm></iframe></noscript>
<body bgcolor="#000000" scroll="no" marginwidth="0" leftmargin="0" topmargin="0" oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
<body onload=resizeTo(400,380)>
<table border="0" width="100%" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td width="100%" align="center" height="100%">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" WIDTH="100%" height="100%">
<PARAM NAME=movie VALUE="http://www.56.com/n_v9_/fcs5_/15_/25_/jerry9990_/2006_6_18_20_1_33_/0_/&brightness=75&contrast=50&superID=5_/1224974.swf">
<PARAM NAME=quality VALUE=high>
<EMBED src="http://www.56.com/n_v9_/fcs5_/15_/25_/jerry9990_/2006_6_18_20_1_33_/0_/&brightness=75&contrast=50&superID=5_/1224974.swf" loop=false menu=false quality=high WIDTH=100% height=100% TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
</td>
</tr>
<tr>
<td width="100%" align="center" height="20">胡胡提示:如果不能播放,请点击安装<a href="http://www.macromedia.com/shockwave/download/triggerpages_mmcom/flash-sc.html" target=_blank>FLASH播放插件</a> 如果己安装仍然不能播放请点 <a href="/wyjq/plile.htm">这 里</a> 报告错误!
<br>本站地址:<span id=xiaoc>wyjq.anyf.cn</span> <marquee behavior=alternate width="90"><a style="CURSOR: hand" onClick="copycode(findobj('xiaoc'));">复 制 此 网 址</a></marquee></a> </td>
</tr>
</table>另存为音乐html.
如果说我要做1000首音乐歌曲链接,岂不是要上传1000个网页!我的又是免费空间,要上传真的很费时间,后来在网上查了下,那就是把音乐地址用记事本写在一起,另存为js文件,这样既节省空间,而且只需上传一个js文件即可!我想把播放器调大但是不行,音乐列表排在右边,我不是很懂代码,始终都弄不好,所以了到论坛求助,请大家帮帮我!另附上音乐网页播放器帮我改下,谢谢!, |
|