许多朋友想自己制作自己喜欢的音乐帖子,但不知如何下手,现将我学习过程中的一点心得体会写给朋友们,供朋友们学习参考,与朋友们一起分享音乐带给我们的快乐. 一、txt、html播放器的制作 1、各项准备工作: 首先,我们要申请一个能上传图片、txt、html文件的空间,在这里,我向大家推荐北方博客,这个空间里,我们能上传图片、txt、html、flash等文件,还能编辑HTML。http://blog.enorth.com.cn/点击注册就行。 第二步就是收集音乐,主要是从各音乐网站里收集自己喜欢的音乐,并完整记录音乐网址。如:西海情歌(http://image.hnol.net/200504/qyabl/gequ3/zhongmingqiu/02.mp3),如果是自己收藏有音乐,就需要上传能外链的空间,以后会向大家介绍几个好用的空间。 2、HTML代码的认识: 下面是这个音乐专辑的代码,请大家复制并用记事本保存下来。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE> 段银莹古筝《琴牵美人吟》</TITLE> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <STYLE>BODY { SCROLLBAR-FACE-COLOR: #daebda; FONT-SIZE: 9pt; SCROLLBAR-3DLIGHT-COLOR: #daebda; SCROLLBAR-TRACK-COLOR: gainsboro; FONT-FAMILY: dadum10; SCROLLBAR- DARKSHADOW-COLOR: #daebda } TD { FONT-SIZE: 9pt; COLOR: #00ff00; LINE-HEIGHT: 150%; FONT-FAMILY: 宋体 } DIV { FONT-SIZE: 9pt } INPUT { HEIGHT: 16px } .syes { BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #ffffff; WIDTH: 77px; CURSOR: hand; COLOR: #000000; BORDER-TOP-COLOR: #ffffff; HEIGHT: 17px; BACKGROUND-COLOR: #daebda; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #ffffff } </STYLE> <META content="Microsoft FrontPage 6.0" name=GENERATOR></HEAD> <BODY text=black vLink=purple aLink=yellow link=blue bgColor=#000000 leftMargin=0 background="http://up1./data/music/34/39/03/a/09/02/20090106_36a563ceccfcd533dbaaE6Yj1bbQSxZ5.jpg " topMargin=10 onload=muinit();><BR><BR> <SCRIPT language=JavaScript> function statusMessageObject(p,d) { this.msg = MESSAGE this.out = " " this.pos = POSITION this.delay = DELAY this.i = 0 this.reset = clearMessage } function clearMessage() { this.pos = POSITION } var POSITION = 100 var DELAY = 5 var MESSAGE = " ★ 一滴水制作 谢谢欣赏 ★ " var scroll = new statusMessageObject() function scroller() { for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) { scroll.out += " " } if (scroll.pos >= 0) scroll.out += scroll.msg else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length) window.status = scroll.out scroll.out = " " scroll.pos-- if (scroll.pos < -(scroll.msg.length)) { scroll.reset() } setTimeout ('scroller()',scroll.delay) } function snapIn(jumpSpaces,position) { var msg = scroll.msg var out = "" for (var i=0; i<position; i++) {out += msg.charAt(i)} for (i=1;i<jumpSpaces;i++) {out += " "} out += msg.charAt(position) window.status = out if (jumpSpaces <= 1) { position++ if (msg.charAt(position) == ' ') {position++ } jumpSpaces = 100-position } else if (jumpSpaces > 3) {jumpSpaces *= .75} else {jumpSpaces--} if (position != msg.length) { var cmd = "snapIn(" + jumpSpaces + "," + position + ")"; scrollID = window.setTimeout(cmd,scroll.delay); } else { window.status="" jumpSpaces=0 position=0 cmd = "snapIn(" + jumpSpaces + "," + position + ")"; scrollID = window.setTimeout(cmd,scroll.delay); return false } return true } snapIn(100,0); // --> </SCRIPT> <SCRIPT language=Javascript>
var url_str="《琴牵美人吟》美人吟##http://shuiyh.i.ifensi.com/download/?res_id=263965))《琴牵美人吟》女儿情##http://shuiyh.i.ifensi.com/download/? res_id=263963))《琴牵美人吟》人面桃花##http://shuiyh.i.ifensi.com/download/?res_id=263959))《琴牵美人吟》逝去的诺言##http://shuiyh.i.ifensi.com/download/? res_id=263955))《琴牵美人吟》倩女幽魂##http://shuiyh.i.ifensi.com/download/?res_id=263953))《琴牵美人吟》梅花雪##http://shuiyh.i.ifensi.com/download/? res_id=263951))《琴牵美人吟》千枝针刺在心##http://shuiyh.i.ifensi.com/download/?res_id=263948))《琴牵美人吟》人生何处不相逢 ##http://shuiyh.i.ifensi.com/download/?res_id=263945))《琴牵美人吟》偏偏喜欢你##http://shuiyh.i.ifensi.com/download/?res_id=263942))《琴牵美人吟》风中有朵雨 做的云##http://shuiyh.i.ifensi.com/download/?res_id=263941))《琴牵美人吟》不装饰你的梦##http://shuiyh.i.ifensi.com/download/?res_id=26394))《琴牵美人吟》一水 隔天涯##http://shuiyh.i.ifensi.com/download/?res_id=263939"
var je="##"; var url="))"; var subject_arr = new Array();var url_arr = new Array();var sel_arr = new Array(); var inx=0, old_inx=0;var now_song=0;var max_count=0;var tm=null;var tm_cnt=0;var err_stat=false; function p_play(){tm_cnt++;if((SyesPlayer.filename==url_arr[inx])&&(!err_stat)) { SyesPlayer.play();clearTimeout(tm);tm=null;tm_cnt=0;} if(tm_cnt==5){clearTimeout(tm);tm=null;tm_cnt=0;}} function one_play(i){if(tm != null) clearTimeout(tm);old_inx=inx; inx=i;SyesPlayer.filename=url_arr[i];tm_cnt=0;err_stat=false;tm=setTimeout("p_play()",1000); stat.innerHTML=""; eval('m'+old_inx).style.color='';eval('m'+inx).style.color='D9E7FF';} function onlistover(src){src.style.color="D9E7FF"}function onlistout(src){src.style.color=""} function syes_Previous(){if(now_song<(max_count+1)) now_song--;else now_song=0;one_play(sel_arr[now_song]);} function syes_next(){if(now_song<(max_count-1)) now_song++;else now_song=0;one_play(sel_arr[now_song]);} function listen_check(){ var songlist = "" var chk = false var i, url; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked == true) { chk = true; songlist = songlist + e.value + ",";}}} if(chk == true ){ sel_arr=songlist.split(','); now_song=0; max_count=sel_arr.length-1; one_play(sel_arr[now_song]); }else{ max_count=0; alert("选定歌曲");}} function all_check(){ var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked != true)e.checked = true;}}} function one_check(k){ var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if((e.name == 'chk')&&(e.value == k)) { e.checked = true;break;}}} function un_check(){var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked == true) e.checked = false}}} function set_list(){ var i, cnt, str; cnt=url_str.split(url).length; str="<form name=list_form><table>"; for(i=0;i<cnt;i++){ subject_arr[i]=(i+1)+'. '+url_str.split(url)[i].split(je)[0]; url_arr[i]=url_str.split(url)[i].split(je)[1]; str+=" <tr id=m"+i+">"+"<td><input type=checkbox onfocus='this.blur()' name='chk' value="+i+"></td><td><span style=cursor:hand onmouseover='onlistover(this)' onmouseout='onlistout(this)' onclick='one_play("+i+")'>"; str+=subject_arr[i]+'</span>';}+"</td></tr></table></form>";document.all["list_tbl"].innerHTML=str;} var trackPositionSts;var positionSet = false; var varlength=500;var varstartpoint=54; function SyesPlayerSetPosition() { if(positionSet == true) {antiauto=30; positionSet=false;dragapproved = false; per = (document.all["position"].style.pixelLeft - varstartpoint)/varlength; psit = Math.floor(document.all.SyesPlayer.Duration * per); setPosition(psit)}} function TrackPosition() { positionSet = true;iex = event.clientX;iey = event.clientY; tempx = document.all.position.style.pixelLeft; tempy = document.all.position.style.pixelTop; dragapproved=true; document.onmousemove=positionDragControl; if(document.all) document.onmouseup = SyesPlayerSetPosition} function positionDragControl(){ if(dragapproved == true){ var mov = tempx + event.clientX - iex; if(mov >= varstartpoint && mov <= varstartpoint+varlength) {document.all["position"].style.pixelLeft = tempx + event.clientX - iex}return false}} function setPosition(psit){document.all.SyesPlayer.CurrentPosition = psit} function setTrackIcon() { if(positionSet == false){ var nowposition = Math.floor(document.all["SyesPlayer"].CurrentPosition); var totalposition = Math.floor(document.all.SyesPlayer.Duration); if (nowposition > 0){ document.all["position"].style.pixelLeft = varstartpoint + (varlength * (nowposition / totalposition));}}} function muinit(){trackPositionSts = setInterval('setTrackIcon()',400)} </SCRIPT> <CENTER> <FIELDSET style="BORDER-RIGHT: yellow 12px ridge; PADDING-RIGHT: 2px; BORDER-TOP: yellow 12px ridge; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: yellow 12px ridge; WIDTH: 460px; PADDING-TOP: 2px; BORDER-BOTTOM: yellow 12px ridge; HEIGHT: 500px"><LEGEND align=center> <TABLE cellSpacing=0 cellPadding=0 align=center background="http://pic.yupoo.com/30369/4637650f70de/0kleq7ba.jpg " border=0> <TBODY> <TR> <TD style="FILTER: chroma(color=#336699"> <TABLE align=center bgColor=#000000> <TBODY> <TR> <TD><LEGEND align=center><FONT face=文鼎霹雳体 color=#336699 size=4>段银莹古筝《琴牵美人吟》 </B></FONT></LEGEND></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></SPAN></LEGEND> <TABLE borderColor=#ccffcc cellSpacing=0 cellPadding=0 width=450 bgColor=#000000 border=0> <TBODY> <TR> <TD cellpadding="0" cellspacing="0" border="0"> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 20px; PADDING-BOTTOM: 10px; PADDING-TOP: 20px" width=150><IMG style="BORDER-RIGHT: yellow 5px ridge; BORDER-TOP: yellow 5px ridge; BORDER-LEFT: yellow 5px ridge; BORDER-BOTTOM: yellow 5px ridge; BACKGROUND- REPEAT: repeat" height=300 src="http://up1./data/music/34/39/03/a/09/02/20090107_2f170ca928719ba7a655nPhXGi7XPRmN.jpg " width=300 border=0> <DIV><a href="http://hexun.com/2442677/default.html" target=_blank><font color="#00FF00"> 一滴水音乐 </font></a></DIV></TD> <TD width=300><PRE style="MARGIN-LEFT: 20px" align="left"><SPAN style="FONT-SIZE: 10pt"><FONT color=#00ff00> 专辑名称:琴牵美人吟 古筝演奏:段银莹
</FONT> <P align=center><TABLE width="90%"><TBODY><TR><TD><MARQUEE scrollAmount=1 direction=up height=80><P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=#00ff00>静静品味 静静聆听</FONT> <P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=#00ff00> 2006中国唯一美人古筝发烧天碟,绝色情怀美丽珍藏。 佳人当窗弄白日,弦将手语弹鸣筝。情依依,韵依依,高山流水独寻觅;品香茗,观月影,孤芳自赏最绸缪!听美人弹筝轻吟展风情,看红颜醉舞流连花间梦! 施弦高急,筝筝然也,淡泊明志,宁静致远,万千宠爱,色艺双绝,乐坛奇葩,古韵瑰宝,品味古筝乐韵情怀,陶醉美人好景良辰。
</SPAN></SPAN></SPAN></MARQUEE></TD></TR></TBODY></TABLE> <BR><BR><BR><BR><BR><BR> </P></PRE></SPAN></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD align=left> <DIV style="MARGIN-TOP: 20px; MARGIN-BOTTOM: 20px; MARGIN-LEFT: 50px"><IMG style="CURSOR: hand" onfocus=this.blur() onclick=all_check() height=21 alt=全选 src="http://pic.yupoo.com/30369/5215750f6f06/lup0k1mf.jpg" width=65> <IMG style="CURSOR: hand" onfocus=this.blur() onclick=un_check() height=21 alt=退选 src="http://pic.yupoo.com/30369/1256550f6f07/rx4yfh7w.jpg" width=65> <IMG style="CURSOR: hand" onfocus=this.blur() onclick=listen_check() height=21 alt=播放 src="http://pic.yupoo.com/30369/7570050f6f06/nepjuzc3.jpg" width=65></DIV></TD></TR><TR> <TD height=10> <DIV style="MARGIN-LEFT: 150px"><FONT color=#00ff00>★ 一滴水音乐欣赏 2009 ★</FONT></DIV></TD></TR><TR> <TD> <DIV id=list_tbl style="MARGIN-TOP: 2px; MARGIN-LEFT: 30px; OVERFLOW: auto; WIDTH: 450px; HEIGHT: 200px"></DIV></TD></TR> <TR> <TD height=10></TD></TR> <TR> <TD align=middle> <DIV style="POSITION: relative"> <DIV id=stat style="LEFT: -135px; POSITION: absolute; TOP: 6px"></DIV></DIV> <OBJECT id=SyesPlayer style="MARGIN-TOP: 6px; FILTER: xray()" height=22 width=350 classid=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95><PARAM NAME="AutoStart" VALUE="true"><PARAM NAME="volume" VALUE="0"><PARAM NAME="ShowPositionControls" VALUE="0"><PARAM NAME="ShowControls" VALUE="1"><PARAM NAME="ShowStatusBar" VALUE="1"></OBJECT><BR><BR><IMG style="FILTER: xray(); CURSOR: hand" onfocus=this.blur() onclick=syes_Previous() height=22 alt=前首 src="http://pic.yupoo.com/30369/9146550f6d51/kh012fhw.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.pause() height=22 alt=暂停 src="http://pic.yupoo.com/30369/4693150f6d52/k9o8laqh.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.play() height=22 alt=播放 src="http://pic.yupoo.com/30369/0308150f6d52/layxyzzb.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.stop() height=22 alt=停止 src="http://pic.yupoo.com/30369/9197850f6d51/qb6t1a5a.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onfocus=this.blur() onclick=syes_next() height=22 alt=后首 src="http://pic.yupoo.com/30369/6907250f6d51/boq3y63q.jpg" width=22> <BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN onmousedown=TrackPosition() id=position title=TIGER style="Z-INDEX: 2; LEFT: -135px; CURSOR: hand; COLOR: white; POSITION: absolute; TOP: -31px" onfucus="this.blur()" ;></SPAN> <SCRIPT>set_list();all_check();listen_check();</SCRIPT> <SCRIPT language=javascript event=EndOfStream for=SyesPlayer>syes_next();</SCRIPT> <SCRIPT language=javascript event=Error for=SyesPlayer> var subject=subject_arr[inx];SyesPlayer.stop(); if(max_count==1) {err_stat=true;}else {syes_next()} </SCRIPT> </FIELDSET></CENTER></BODY></HTML>
以上保存好了吗?下面就介绍你可以改动制作自己的音乐的位置,千万记住只能改动我介绍的位置,其它的绝对不能更改!!!!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE> 段银莹古筝《琴牵美人吟》(这是标题,你可以改为自己的标题)</TITLE> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <STYLE>BODY { SCROLLBAR-FACE-COLOR: #daebda; FONT-SIZE: 9pt; SCROLLBAR-3DLIGHT-COLOR: #daebda; SCROLLBAR-TRACK-COLOR: gainsboro; FONT-FAMILY: dadum10; SCROLLBAR- DARKSHADOW-COLOR: #daebda } TD { FONT-SIZE: 9pt; COLOR: #00ff00; LINE-HEIGHT: 150%; FONT-FAMILY: 宋体 } DIV { FONT-SIZE: 9pt } INPUT { HEIGHT: 16px } .syes { BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #ffffff; WIDTH: 77px; CURSOR: hand; COLOR: #000000; BORDER-TOP-COLOR: #ffffff; HEIGHT: 17px; BACKGROUND-COLOR: #daebda; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #ffffff } </STYLE> <META content="Microsoft FrontPage 6.0" name=GENERATOR></HEAD> <BODY text=black vLink=purple aLink=yellow link=blue bgColor=#000000 leftMargin=0 background="http://up1./data/music/34/39/03/a/09/02/20090106_36a563ceccfcd533dbaaE6Yj1bbQSxZ5.jpg(这是背景图片,可以必成你喜欢的” " topMargin=10 onload=muinit();><BR><BR> <SCRIPT language=JavaScript> function statusMessageObject(p,d) { this.msg = MESSAGE this.out = " " this.pos = POSITION this.delay = DELAY this.i = 0 this.reset = clearMessage } function clearMessage() { this.pos = POSITION } var POSITION = 100 var DELAY = 5 var MESSAGE = " ★ 一滴水制作 谢谢欣赏 ★ (可以改成你自己的名字) " var scroll = new statusMessageObject() function scroller() { for (scroll.i = 0; scroll.i < scroll.pos; scroll.i++) { scroll.out += " " } if (scroll.pos >= 0) scroll.out += scroll.msg else scroll.out = scroll.msg.substring(-scroll.pos,scroll.msg.length) window.status = scroll.out scroll.out = " " scroll.pos-- if (scroll.pos < -(scroll.msg.length)) { scroll.reset() } setTimeout ('scroller()',scroll.delay) } function snapIn(jumpSpaces,position) { var msg = scroll.msg var out = "" for (var i=0; i<position; i++) {out += msg.charAt(i)} for (i=1;i<jumpSpaces;i++) {out += " "} out += msg.charAt(position) window.status = out if (jumpSpaces <= 1) { position++ if (msg.charAt(position) == ' ') {position++ } jumpSpaces = 100-position } else if (jumpSpaces > 3) {jumpSpaces *= .75} else {jumpSpaces--} if (position != msg.length) { var cmd = "snapIn(" + jumpSpaces + "," + position + ")"; scrollID = window.setTimeout(cmd,scroll.delay); } else { window.status="" jumpSpaces=0 position=0 cmd = "snapIn(" + jumpSpaces + "," + position + ")"; scrollID = window.setTimeout(cmd,scroll.delay); return false } return true } snapIn(100,0); // --> </SCRIPT> <SCRIPT language=Javascript>
var url_str="《琴牵美人吟》美人吟##http://shuiyh.i.ifensi.com/download/?res_id=263965))《琴牵美人吟》女儿情##http://shuiyh.i.ifensi.com/download/? res_id=263963))《琴牵美人吟》人面桃花##http://shuiyh.i.ifensi.com/download/?res_id=263959))《琴牵美人吟》逝去的诺言##http://shuiyh.i.ifensi.com/download/? res_id=263955))《琴牵美人吟》倩女幽魂##http://shuiyh.i.ifensi.com/download/?res_id=263953))《琴牵美人吟》梅花雪##http://shuiyh.i.ifensi.com/download/? res_id=263951))《琴牵美人吟》千枝针刺在心##http://shuiyh.i.ifensi.com/download/?res_id=263948))《琴牵美人吟》人生何处不相逢 ##http://shuiyh.i.ifensi.com/download/?res_id=263945))《琴牵美人吟》偏偏喜欢你##http://shuiyh.i.ifensi.com/download/?res_id=263942))《琴牵美人吟》风中有朵雨 做的云##http://shuiyh.i.ifensi.com/download/?res_id=263941))《琴牵美人吟》不装饰你的梦##http://shuiyh.i.ifensi.com/download/?res_id=26394))《琴牵美人吟》一水 隔天涯##http://shuiyh.i.ifensi.com/download/?res_id=263939" (上面的《琴牵美人吟》美人吟 是歌名;http://shuiyh.i.ifensi.com/download/?res_id=263965是音乐网址,这两个是要你自己编辑的,注意不能改动其它的,也不要更改格式。) var je="##"; var url="))"; var subject_arr = new Array();var url_arr = new Array();var sel_arr = new Array(); var inx=0, old_inx=0;var now_song=0;var max_count=0;var tm=null;var tm_cnt=0;var err_stat=false; function p_play(){tm_cnt++;if((SyesPlayer.filename==url_arr[inx])&&(!err_stat)) { SyesPlayer.play();clearTimeout(tm);tm=null;tm_cnt=0;} if(tm_cnt==5){clearTimeout(tm);tm=null;tm_cnt=0;}} function one_play(i){if(tm != null) clearTimeout(tm);old_inx=inx; inx=i;SyesPlayer.filename=url_arr[i];tm_cnt=0;err_stat=false;tm=setTimeout("p_play()",1000); stat.innerHTML=""; eval('m'+old_inx).style.color='';eval('m'+inx).style.color='D9E7FF';} function onlistover(src){src.style.color="D9E7FF"}function onlistout(src){src.style.color=""} function syes_Previous(){if(now_song<(max_count+1)) now_song--;else now_song=0;one_play(sel_arr[now_song]);} function syes_next(){if(now_song<(max_count-1)) now_song++;else now_song=0;one_play(sel_arr[now_song]);} function listen_check(){ var songlist = "" var chk = false var i, url; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked == true) { chk = true; songlist = songlist + e.value + ",";}}} if(chk == true ){ sel_arr=songlist.split(','); now_song=0; max_count=sel_arr.length-1; one_play(sel_arr[now_song]); }else{ max_count=0; alert("选定歌曲");}} function all_check(){ var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked != true)e.checked = true;}}} function one_check(k){ var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if((e.name == 'chk')&&(e.value == k)) { e.checked = true;break;}}} function un_check(){var i; for(i=0; i<document.list_form.elements.length; i++) { var e=document.list_form.elements[i]; if(e.name == 'chk') { if(e.checked == true) e.checked = false}}} function set_list(){ var i, cnt, str; cnt=url_str.split(url).length; str="<form name=list_form><table>"; for(i=0;i<cnt;i++){ subject_arr[i]=(i+1)+'. '+url_str.split(url)[i].split(je)[0]; url_arr[i]=url_str.split(url)[i].split(je)[1]; str+=" <tr id=m"+i+">"+"<td><input type=checkbox onfocus='this.blur()' name='chk' value="+i+"></td><td><span style=cursor:hand onmouseover='onlistover(this)' onmouseout='onlistout(this)' onclick='one_play("+i+")'>"; str+=subject_arr[i]+'</span>';}+"</td></tr></table></form>";document.all["list_tbl"].innerHTML=str;} var trackPositionSts;var positionSet = false; var varlength=500;var varstartpoint=54; function SyesPlayerSetPosition() { if(positionSet == true) {antiauto=30; positionSet=false;dragapproved = false; per = (document.all["position"].style.pixelLeft - varstartpoint)/varlength; psit = Math.floor(document.all.SyesPlayer.Duration * per); setPosition(psit)}} function TrackPosition() { positionSet = true;iex = event.clientX;iey = event.clientY; tempx = document.all.position.style.pixelLeft; tempy = document.all.position.style.pixelTop; dragapproved=true; document.onmousemove=positionDragControl; if(document.all) document.onmouseup = SyesPlayerSetPosition} function positionDragControl(){ if(dragapproved == true){ var mov = tempx + event.clientX - iex; if(mov >= varstartpoint && mov <= varstartpoint+varlength) {document.all["position"].style.pixelLeft = tempx + event.clientX - iex}return false}} function setPosition(psit){document.all.SyesPlayer.CurrentPosition = psit} function setTrackIcon() { if(positionSet == false){ var nowposition = Math.floor(document.all["SyesPlayer"].CurrentPosition); var totalposition = Math.floor(document.all.SyesPlayer.Duration); if (nowposition > 0){ document.all["position"].style.pixelLeft = varstartpoint + (varlength * (nowposition / totalposition));}}} function muinit(){trackPositionSts = setInterval('setTrackIcon()',400)} </SCRIPT> <CENTER> <FIELDSET style="BORDER-RIGHT: yellow 12px ridge; PADDING-RIGHT: 2px; BORDER-TOP: yellow 12px ridge; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: yellow 12px ridge; WIDTH: 460px; PADDING-TOP: 2px; BORDER-BOTTOM: yellow 12px ridge; HEIGHT: 500px"><LEGEND align=center> <TABLE cellSpacing=0 cellPadding=0 align=center background="http://pic.yupoo.com/30369/4637650f70de/0kleq7ba.jpg(这个图片不要改动) " border=0> <TBODY> <TR> <TD style="FILTER: chroma(color=#336699"> <TABLE align=center bgColor=#000000> <TBODY> <TR> <TD><LEGEND align=center><FONT face=文鼎霹雳体 color=#336699 size=4>段银莹古筝《琴牵美人吟》 (这里改成需要的标题) </B></FONT></LEGEND></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></SPAN></LEGEND> <TABLE borderColor=#ccffcc cellSpacing=0 cellPadding=0 width=450 bgColor=#000000 border=0> <TBODY> <TR> <TD cellpadding="0" cellspacing="0" border="0"> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 20px; PADDING-BOTTOM: 10px; PADDING-TOP: 20px" width=150><IMG style="BORDER-RIGHT: yellow 5px ridge; BORDER-TOP: yellow 5px ridge; BORDER-LEFT: yellow 5px ridge; BORDER-BOTTOM: yellow 5px ridge; BACKGROUND- REPEAT: repeat" height=300 src="http://up1./data/music/34/39/03/a/09/02/20090107_2f170ca928719ba7a655nPhXGi7XPRmN.jpg(这是专辑封面的图片,需要你上传后的地址) " width=300 border=0> <DIV><a href="http://hexun.com/2442677/default.html" target=_blank><font color="#00FF00"> 一滴水音乐 </font></a></DIV></TD> <TD width=300><PRE style="MARGIN-LEFT: 20px" align="left"><SPAN style="FONT-SIZE: 10pt"><FONT color=#00ff00> 专辑名称:琴牵美人吟 古筝演奏:段银莹
</FONT> <P align=center><TABLE width="90%"><TBODY><TR><TD><MARQUEE scrollAmount=1 direction=up height=80><P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=#00ff00>静静品味 静静聆听</FONT> <P align=center><SPAN style="FONT-SIZE: 9pt"><FONT color=#00ff00> 2006中国唯一美人古筝发烧天碟,绝色情怀美丽珍藏。 佳人当窗弄白日,弦将手语弹鸣筝。情依依,韵依依,高山流水独寻觅;品香茗,观月影,孤芳自赏最绸缪!听美人弹筝轻吟展风情,看红颜醉舞流连花间梦! 施弦高急,筝筝然也,淡泊明志,宁静致远,万千宠爱,色艺双绝,乐坛奇葩,古韵瑰宝,品味古筝乐韵情怀,陶醉美人好景良辰。 (上面的文字要你自己编辑) </SPAN></SPAN></SPAN></MARQUEE></TD></TR></TBODY></TABLE> <BR><BR><BR><BR><BR><BR> </P></PRE></SPAN></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD align=left> <DIV style="MARGIN-TOP: 20px; MARGIN-BOTTOM: 20px; MARGIN-LEFT: 50px"><IMG style="CURSOR: hand" onfocus=this.blur() onclick=all_check() height=21 alt=全选 src="http://pic.yupoo.com/30369/5215750f6f06/lup0k1mf.jpg" width=65> <IMG style="CURSOR: hand" onfocus=this.blur() onclick=un_check() height=21 alt=退选 src="http://pic.yupoo.com/30369/1256550f6f07/rx4yfh7w.jpg" width=65> <IMG style="CURSOR: hand" onfocus=this.blur() onclick=listen_check() height=21 alt=播放 src="http://pic.yupoo.com/30369/7570050f6f06/nepjuzc3.jpg" width=65></DIV></TD></TR><TR> <TD height=10> <DIV style="MARGIN-LEFT: 150px"><FONT color=#00ff00>★ 一滴水音乐欣赏 2009 (改成你自己的名字下面的就不要更改了) ★</FONT></DIV></TD></TR><TR> <TD> <DIV id=list_tbl style="MARGIN-TOP: 2px; MARGIN-LEFT: 30px; OVERFLOW: auto; WIDTH: 450px; HEIGHT: 200px"></DIV></TD></TR> <TR> <TD height=10></TD></TR> <TR> <TD align=middle> <DIV style="POSITION: relative"> <DIV id=stat style="LEFT: -135px; POSITION: absolute; TOP: 6px"></DIV></DIV> <OBJECT id=SyesPlayer style="MARGIN-TOP: 6px; FILTER: xray()" height=22 width=350 classid=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95><PARAM NAME="AutoStart" VALUE="true"><PARAM NAME="volume" VALUE="0"><PARAM NAME="ShowPositionControls" VALUE="0"><PARAM NAME="ShowControls" VALUE="1"><PARAM NAME="ShowStatusBar" VALUE="1"></OBJECT><BR><BR><IMG style="FILTER: xray(); CURSOR: hand" onfocus=this.blur() onclick=syes_Previous() height=22 alt=前首 src="http://pic.yupoo.com/30369/9146550f6d51/kh012fhw.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.pause() height=22 alt=暂停 src="http://pic.yupoo.com/30369/4693150f6d52/k9o8laqh.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.play() height=22 alt=播放 src="http://pic.yupoo.com/30369/0308150f6d52/layxyzzb.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onclick=document.SyesPlayer.stop() height=22 alt=停止 src="http://pic.yupoo.com/30369/9197850f6d51/qb6t1a5a.jpg" width=22> <IMG style="FILTER: xray(); CURSOR: hand" onfocus=this.blur() onclick=syes_next() height=22 alt=后首 src="http://pic.yupoo.com/30369/6907250f6d51/boq3y63q.jpg" width=22> <BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN onmousedown=TrackPosition() id=position title=TIGER style="Z-INDEX: 2; LEFT: -135px; CURSOR: hand; COLOR: white; POSITION: absolute; TOP: -31px" onfucus="this.blur()" ;></SPAN> <SCRIPT>set_list();all_check();listen_check();</SCRIPT> <SCRIPT language=javascript event=EndOfStream for=SyesPlayer>syes_next();</SCRIPT> <SCRIPT language=javascript event=Error for=SyesPlayer> var subject=subject_arr[inx];SyesPlayer.stop(); if(max_count==1) {err_stat=true;}else {syes_next()} </SCRIPT> </FIELDSET></CENTER></BODY></HTML>
以上编辑好后用记事本保存为txt文件.然后上传到北方博客空间里,得到一个网址如:http://lmh6729.//music5/12/古筝《琴牵美人吟》0108.txt 再用发贴代码发到自己的博客空间里或本站里与朋友们分享你的制作. 发贴代码: <DIV style="LEFT: -80px; WIDTH: 800px; POSITION: relative; TOP: 0px"><IFRAME marginWidth=0 marginHeight=0 src="http://lmh6729.//music5/12/古筝《琴牵美人吟》0108.txt" frameBorder=0 width=800 scrolling=no height=900></IFRAME></DIV>
80是向左移动的距离,在博客空间里需要.在360不需要改为0;800是帖子的宽度.http://lmh6729.//music5/12/古筝《琴牵美人吟》0108.txt这是地址改为你得到的地址就行了. 这样一个精美的音乐专辑就制作好了.简单吧,只要你用心,很快就会了.
期待朋友们的佳作.
|