求一个关于鼠标控制一段内容滚动的代码 在图片的点击事件里,控制对象的scrollTop 和 scrollLeft属性就可以了. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <body onload="document.getElementById('ice').stop()"><div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">移过来</div><marquee id="ice" style="float:left;width:200px;height:100px;border:1px solid #000" behavior="scroll" direction="up">我想用一个小图片来控制旁边的一段内容的上下滚动,上鼠标移到这个图片上时,旁边的内容就向上或者向下滚动。请高手指教~</marquee></body> <body onload="document.getElementById('ice').stop()"><div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="document.getElementById('demo').start()" onmouseout="document.getElementById('demo').stop()">移过来</div><marquee id="demo" style="float:left;width:100px;height:100px;border:1px solid #000" behavior="scroll" direction="up" scrollamount =1 >56756</marquee></body> <body onload="document.getElementById('ice').stop()"><div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="ice.direction='up';document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">向上~</div><marquee id="ice" style="float:left;width:200px;height:100px;border:1px solid #000" behavior="scroll">我想用一个小图片来控制旁边的一段内容的上下滚动,上鼠标移到这个图片上时,旁边的内容就向上或者向下滚动。请高手指教~</marquee><div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="ice.direction='down';document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">向下~</div></body> 表单认证失败。。求解 Button按钮默认为提交按钮? js高手请进 急求类似于 浏览器 菜单栏 那样的脚本 !!!!!!帮忙!! 为什么我的IE不执行javascript:window.open()这样的语句 为何在showModalDialog弹出的文件中进行提交时,总是弹出新页面 用javascript如何实现将表格第一行的整行数据全部移动到最后一行。 急!如何利用javascript实现查找功能? 请教 判断是否为数字 的函数? 请问怎么定制自己的文件上传框的按钮风格 用脚本加载image和map后的关联问题 请问这是什么意思啊var p = [ ['test',null],];
<div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">
移过来
</div>
<marquee id="ice" style="float:left;width:200px;height:100px;border:1px solid #000" behavior="scroll" direction="up">
我想用一个小图片来控制旁边的一段内容的上下滚动,上鼠标移到这个图片上时,旁边的内容就向上或者向下滚动。
请高手指教~
</marquee>
</body>
<div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="document.getElementById('demo').start()" onmouseout="document.getElementById('demo').stop()">
移过来
</div>
<marquee id="demo" style="float:left;width:100px;height:100px;border:1px solid #000" behavior="scroll" direction="up" scrollamount =1 >
56756</marquee>
</body>
<div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="ice.direction='up';document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">
向上~
</div>
<marquee id="ice" style="float:left;width:200px;height:100px;border:1px solid #000" behavior="scroll">
我想用一个小图片来控制旁边的一段内容的上下滚动,上鼠标移到这个图片上时,旁边的内容就向上或者向下滚动。
请高手指教~
</marquee>
<div style="float:left;width:100px;background:#F00;height:100px;margin-right:10px;" onmouseover="ice.direction='down';document.getElementById('ice').start()" onmouseout="document.getElementById('ice').stop()">
向下~
</div>
</body>