| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 526 人关注过本帖
标题:进来看一下,,特大发现..
只看楼主 加入收藏
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
结帖率:77.27%
收藏
 问题点数:0 回复次数:6 
进来看一下,,特大发现..

<!--#include file="sub/conn.asp"-->
<%
username=request("username")
set rs=Server.CreateObject("ADODB.recordset")
sql="select * from love_main where username='yutongtong'"
rs.open sql,conn,1,1
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="/hompy/mini/css/mini.css">

<link href="images/mini/mini.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<table border=0 cellpadding=0 cellspacing=0>
<tr style="DISPLAY: none" colspan=5><td>
<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=60 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject>
<param name=URL value=<%=rs("musicid")%>>
<PARAM NAME=UIMode value=full>
<PARAM NAME=AutoStart value=-1>
<PARAM NAME=Enabled value=-1>
<PARAM NAME=enableContextMenu value=0>
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="100">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
</object>
<input type="hidden" name="load_ck" value="0">
<input type="hidden" name="load_ck2" value="0">
</td></tr>
<tr>
<td width=17 height=17 background=images/bgm_00.gif></td>
<td width=134 height=17 background=images/bgm_01.gif><marquee direction="left" scrollamount=2><Div id="song_nm"><font color=white><b><%=rs("mcname")%></b></font>
</Div></marquee></td>
<td width=3 height=17></td>
<td width=22 height=17><a href="#" onClick="javascript:play();return false"><img src=images/bgm_03.gif border=0></a></td>
<td width=20 height=17><a href="#" onClick="javascript:stop();return false"><img src=images/bgm_04.gif border=0></a></td>
</tr>
</table>

</body>
</html>
<%
rs.close

%>



这段代码,为什么那两个铵钮不管事..

2007-03-01 13:11
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
收藏
得分:0 
这个是音乐播放器的东东,让我改了,

面朝大海,春暖花开!
2007-03-01 13:11
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
收藏
得分:0 

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/mini/mini.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<script language="javascript">
var music_name="";
function play() {
obj = document.all("Player");
try {
obj.AutoStart=1;
obj.PlayCount=0;
obj.Play();
} catch(e) {

}
entryInfo();
}
function pause() {
document.all('Player').Pause();
}
function stop() {
document.all('Player').Stop();
document.all.song_nm.innerHTML = "";
}

function bg_music_set(music_url,str_name) {
document.all('Player').FileName=music_url;
music_name=str_name;
//play();
}

var empTime;
function entryInfo() {
if ((document.all.load_ck.value=="1")) {
obj = document.all("Player");
if ((obj!=null)&&(obj.PlayState!=0)) {
songtitle = obj.GetMediaInfoString(8) ;
songwriter = obj.GetMediaInfoString(9) ;
if (songtitle.indexOf("(") > 1) {
songtitle = songtitle.substr(0, songtitle.indexOf("("));
}
// if (songtitle.length > 10) { songtitle= songtitle.substr(0,9) + '..' ;}
try {
if (document.all.song_nm != null ) {
document.all.song_nm.innerHTML = "<font color='#ffffff'><B>"+ music_name +"<B></font>";
}
} catch(e) {

}
clearTimeout(empTime) ;
document.all.load_ck2.value=1;
}
} else {
empTime = setTimeout('entryInfo()',1000);
}
}
</script>
<table border=0 cellpadding=0 cellspacing=0>
<tr style="DISPLAY: none" colspan=5><td>
<SCRIPT FOR='Player' EVENT='PlayStateChange(lOldState, lNewState)' LANGUAGE='JScript'>
entryInfo();
</SCRIPT>
<object id=nstv classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=280 height=60 codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading Microsoft? Windows Media? Player components... type=application/x-oleobject>
<param name=URL value=01.mid>
<PARAM NAME=UIMode value=full>
<PARAM NAME=AutoStart value=-1>
<PARAM NAME=Enabled value=-1>
<PARAM NAME=enableContextMenu value=0>
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="0">
<param name="defaultFrame" value>
<param name="playCount" value="100">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="50">
<param name="mute" value="0">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="-1">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
</object>
<input type="hidden" name="load_ck" value="0">
<input type="hidden" name="load_ck2" value="0">
</td></tr>
<tr>
<td width=17 height=17 background=images/bgm_00.gif></td>
<td width=134 height=17 background=images/bgm_01.gif><marquee direction="left" scrollamount=2><Div id="song_nm"><font color=white><b>测试中..</b></font>
</Div></marquee></td>
<td width=3 height=17></td>
<td width=22 height=17><a href="#" onClick="javascript:play();return false"><img src=images/bgm_03.gif border=0></a></td>
<td width=20 height=17><a href="#" onClick="javascript:stop();return false"><img src=images/bgm_04.gif border=0></a></td>
</tr>
</table>

</body>
</html>


面朝大海,春暖花开!
2007-03-01 17:59
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
收藏
得分:0 
还是不行..那两个钮还是不好用.

面朝大海,春暖花开!
2007-03-01 17:59
wwg
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2007-3-1
收藏
得分:0 
我一句也看不懂,你是高手。请帮忙回复一下求助问题:“网络填报报表编程求助”。感激不尽!
2007-03-01 19:21
wwg
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2007-3-1
收藏
得分:0 
2007-03-01 19:21
suyongtao
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:33
帖 子:8674
专家分:127
注 册:2004-11-6
收藏
得分:0 
5LBiqc90.rar (13.61 KB) 进来看一下,,特大发现..


解决了..

面朝大海,春暖花开!
2007-03-02 15:21
快速回复:进来看一下,,特大发现..
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.053844 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved