高级问题!高手请进! <marquee style="background:red" scrollamount="2" ondblclick="this.scrollAmount='10'">The MARQUEE</marquee> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <marquee id=mm direction="right" scrolldelay="70" scrollamount="6">123</marquee><br><input type=button value=加速 onclick="add()"><input type=button value=减速 onclick="sub()"><input type=button value=right onclick="e.direction='right'"><input type=button value=left onclick="e.direction='left'"><script language="JavaScript"><!--var e = document.getElementById("mm");function add(){ var n = 10; if(e.scrollDelay-n > 0) e.scrollDelay -= n; e.scrollAmount += 1;}function sub(){ if(e.scrollAmount >= 0) e.scrollAmount -= 1; e.scrollDelay += 10;}//--></script> <table width="100"> <tr> <td><div align="center" style="cursor:hand;font-size=12;border:#999999 1px solid" onmouseover="this.style.backgroundColor='#cccccc';this.style.border='#333333 1px solid';mq.direction='left';mq.scrollAmount='18';" onmouseout="this.style.backgroundColor='#f1f1f1';this.style.border='#999999 1px solid';mq.direction='left';mq.scrollAmount='3';" >roll</div></td> <td><div align="center" style="cursor:hand;font-size=12;border:#999999 1px solid" onmouseover="this.style.backgroundColor='#cccccc';this.style.border='#333333 1px solid';mq.direction='right';mq.scrollAmount='18';" onmouseout="this.style.backgroundColor='#f1f1f1';this.style.border='#999999 1px solid';mq.direction='right';mq.scrollAmount='3';">rollback</div></td> </tr> </table><marquee id="mq" SCROLLAMOUNT="3" onmouseover="this.stop()" onmouseout="this.start()">heihei</marquee> <marquee id=mm direction="right" scrolldelay="70" scrollamount="6">123</marquee><br><input type=button value=加速 onclick="add()"><input type=button value=减速 onclick="sub()"><input type=button value=right onclick="e.direction='right'"><input type=button value=left onclick="e.direction='left'"><script language="JavaScript"><!--var e = document.getElementById("mm");function add(){ var n = 10; if(e.scrollDelay-n > 0) e.scrollDelay -= n; e.scrollAmount += 1;}function sub(){ if(e.scrollAmount > 0) //不应该有=0否则当scrollAmount=0早进行e.scrollAmount -= 1;会报错的 { e.scrollAmount -= 1; e.scrollDelay += 10; } else{alert("您不能再减速了!")} //这里应该加上这个! }//--></script> 关于正则表达式传参的问题, 推荐一款十分有创意的绘图式jQuery认证码插件:MotionCAPTCHA js控制层显示的问题 想做一个特殊下拉列表,请大家帮忙! 大家看一下这两个表达式的区别何在? 请问这两句有什么区别? 网页链接问题 在线等 求一标签!先谢谢啦!!! ####几个会者不难的问题,拿出来请教,100分不够,补贴200分!##### onload可以获取ready加载的值吗 ※※搜集javascript事件大全,希望大家踊跃提供,有例程更好※※ 为什么说我没有权限???(关于修改iframe高度)
<input type=button value=加速 onclick="add()">
<input type=button value=减速 onclick="sub()">
<input type=button value=right onclick="e.direction='right'">
<input type=button value=left onclick="e.direction='left'">
<script language="JavaScript"><!--
var e = document.getElementById("mm");
function add()
{
var n = 10;
if(e.scrollDelay-n > 0)
e.scrollDelay -= n;
e.scrollAmount += 1;
}
function sub()
{
if(e.scrollAmount >= 0)
e.scrollAmount -= 1;
e.scrollDelay += 10;
}
//--></script>
<tr>
<td><div align="center" style="cursor:hand;font-size=12;border:#999999 1px solid" onmouseover="this.style.backgroundColor='#cccccc';this.style.border='#333333 1px solid';mq.direction='left';mq.scrollAmount='18';" onmouseout="this.style.backgroundColor='#f1f1f1';this.style.border='#999999 1px solid';mq.direction='left';mq.scrollAmount='3';" >roll</div></td>
<td><div align="center" style="cursor:hand;font-size=12;border:#999999 1px solid" onmouseover="this.style.backgroundColor='#cccccc';this.style.border='#333333 1px solid';mq.direction='right';mq.scrollAmount='18';" onmouseout="this.style.backgroundColor='#f1f1f1';this.style.border='#999999 1px solid';mq.direction='right';mq.scrollAmount='3';">rollback</div></td>
</tr>
</table><marquee id="mq" SCROLLAMOUNT="3" onmouseover="this.stop()" onmouseout="this.start()">heihei</marquee>
<input type=button value=加速 onclick="add()">
<input type=button value=减速 onclick="sub()">
<input type=button value=right onclick="e.direction='right'">
<input type=button value=left onclick="e.direction='left'">
<script language="JavaScript"><!--
var e = document.getElementById("mm");
function add()
{
var n = 10;
if(e.scrollDelay-n > 0)
e.scrollDelay -= n;
e.scrollAmount += 1;
}
function sub()
{
if(e.scrollAmount > 0) //不应该有=0否则当scrollAmount=0早进行e.scrollAmount -= 1;会报错的
{
e.scrollAmount -= 1;
e.scrollDelay += 10;
}
else{alert("您不能再减速了!")} //这里应该加上这个!
}
//--></script>