当前位置:首页
开发技术指南» 文章正文
    引言:

 ·放分,求源代码    »显示摘要«
    摘要: 放分,求源代码!!! ......
 ·1个问题    »显示摘要«
    摘要: 1 在主程序外的dll中的数据类classdata中有一个返回recordset的函数gerrs,在主程序中: public cn as new classdata 在模块中设置为全局变量,保持connect为连接状态。 cn.connect  打开连接 dim rs as adodb.recordset set rs=classdata.getrs msgbox rs.fields(0)......


我想将一段文本加入背景音乐,求

执行这个文件打开文本后,有背景音乐循环播放,请帮助解决!!!

NO.1   作者: wanghr100

存为.htm文件  
   
   
  <html>  
  <head><title>MusicText</title></head>  
  <body>  
  <embed   src="song.mp3"   loop=true   autostart=true   name=bgss   width=0   height=0>  
  你的文本内容............  
  </body>  
  </html>

NO.2   作者: beliefljh

存为.htm文件  
   
   
  <html>  
  <head><title>MusicText</title></head>  
  <body>  
  <embed   src="song.mp3"   loop=true   autostart=true   name=bgss   width=0   height=0>  
  你的文本内容............  
  </body>  
  </html>  
   
  同意这个意见

NO.3   作者: xzq686

每次刷新都会随机选择背景音乐。有20首。  
  <SCRIPT   language="JavaScript">  
   
  <!--  
   
  var   sound1="music/song1.mid"  
   
  var   sound2="music/song2.mid"  
   
  var   sound3="music/song3.mid"  
   
  var   sound4="music/song4.mid"  
   
  var   sound5="music/song5.mid"  
   
  var   sound6="music/song6.mid"  
   
  var   sound7="music/song7.mid"  
   
  var   sound8="music/song8.mid"  
   
  var   sound9="music/song9.mid"  
   
  var   sound10="music/song10.mid"  
  var   sound11="music/song11.mid"  
   
  var   sound12="music/song12.mid"  
   
  var   sound13="music/song13.mid"  
   
  var   sound14="music/song14.mid"  
   
  var   sound15="music/song15.mid"  
   
  var   sound16="music/song16.mid"  
   
  var   sound17="music/song17.mid"  
   
  var   sound18="music/song18.mid"  
   
  var   sound19="music/song19.mid"  
   
  var   sound20="music/song20.mid"  
  var   x=Math.floor(Math.random()*21)  
   
   
  if   (x==0)   x=sound1  
   
  else   if   (x==1)   x=sound2  
   
  else   if   (x==2)   x=sound3  
   
  else   if   (x==3)   x=sound4  
   
  else   if   (x==4)   x=sound5  
   
  else   if   (x==5)   x=sound6  
   
  else   if   (x==6)   x=sound7  
   
  else   if   (x==7)   x=sound8  
   
  else   if   (x==8)   x=sound9  
  else   if   (x==9)   x=sound10  
  else   if   (x==10)   x=sound11  
  else   if   (x==11)   x=sound12  
   
  else   if   (x==12)   x=sound13  
   
  else   if   (x==13)   x=sound14  
   
  else   if   (x==14)   x=sound15  
   
  else   if   (x==15)   x=sound16  
   
  else   if   (x==16)   x=sound17  
   
  else   if   (x==17)   x=sound18  
   
  else   if   (x==18)   x=sound19  
  else   x=sound20  
  if   (navigator.appName=="Microsoft   Internet   Explorer")  
  document.write(<bgsound   src=+"+x+"+   loop="infinite">)  
  else    
  document.write(<embed   src=+"+x+"+hidden="true"   border="0"   width="20"   height="20"   autostart="true"   loop="true">)  
  //-->  
  </SCRIPT>


    摘要: 关于聚合函数grouping的用法不明白! 这是它的帮助文件的内容:…… 它产生一个附加的列,当用 cube 或 rollup 运算符添加行时,附加的列输出值为1,当所添加的行不是由 cube 或 rollup 产生时,附加列值为0 use pubs select royalty, sum(advance) total advance, grouping(royalty) grp from......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE