我的页面中有一个FLASH文件 上面有几个按钮 显示在网页的最顶上
top.asp中是加入了这个FLASH文件 当MOUSE点到按钮上时 全个按钮响应区都是一个手 能点 没问题
把top.asp包含到index.asp中后 MOUSE点到上面的响应区时 是手跟MOUSE不停的闪 这是为何
是不是我的index.asp中有 什么MOUSE响应事件 把它弄成这样子的?
请高手帮助!
<%
set rs=server.createobject("adodb.recordset")
strsql="select top 5 * from wsnews order by id desc"
rs.open strsql,conn,1,1
%>
<body>
<div id="icefable1">
<div id="box16left">
·<a href="http://info.china.alibaba.com/news/detail/v1-d5573939.html" target="_blank" onmousedown="return aliclick(this,'?tracelog=ui_homepage_algg');"><%=left(rs("wstitle"),25)%></a>
</div>
</div>
<Script Language="JavaScript">
<!--
try{
var marqueesHeight = 18;
var stopscroll = false;
var scrollElem = document.getElementById("icefable1");
with(scrollElem){
style.width = 300;
style.height = marqueesHeight;
style.overflow = 'hidden';
noWrap = true;
}
scrollElem.onmouseover = new Function('stopscroll = true');
scrollElem.onmouseout = new Function('stopscroll = false');
var preTop = 0;
var currentTop = 0;
var stoptime = 0;
var leftElem = document.getElementById("box16left");
scrollElem.appendChild(leftElem.cloneNode(true));
init_srolltext();
}catch(e) {}
function init_srolltext(){
scrollElem.scrollTop = 0;
setInterval('scrollUp()', 15);
}
function scrollUp(){
if(stopscroll) return;
currentTop += 1;
if(currentTop == 19) {
stoptime += 1;
currentTop -= 1;
if(stoptime == 180) {
currentTop = 0;
stoptime = 0;
}
}else{
preTop = scrollElem.scrollTop;
scrollElem.scrollTop += 1;
if(preTop == scrollElem.scrollTop){
scrollElem.scrollTop = 0;
scrollElem.scrollTop += 1;
}
}
}
//-->
</Script>
那你给我改这点代码吧 ! 你强