JavaScript 滑移效果
2010-09-14 13:16:54 来源:WEB开发网自动滑移:
<div id="cc" style="height:200px; width:500px; border:1px solid #000000; position:relative;overflow:hidden;">
定点滑移:(鼠标点击)
<div id="idSlippage3" style="width:10px; height:10px; background:#000000; position:absolute; z-index:99; top:50px; left:50px;"> </div>
</div>
<div id="aa" style="height:200px; width:500px; border:1px solid #000000; overflow:hidden;">
定线滑移:(鼠标拖动轨迹)
<div id="idSlippage" style="width:10px; height:10px; background:#000000; position:absolute; z-index:99; top:-50px; left:50px;"> </div>
</div>
<div id="bb" style="height:200px; width:500px; border:1px solid #000000; overflow:hidden;">
<div id="idSlippage2" style="width:10px; height:10px; background:#000000; position:absolute; z-index:99; top:-50px; left:50px;"> </div>
</div>
</body>
</html>
Tags:JavaScript 滑移 效果
编辑录入:爽爽 [复制链接] [打 印]更多精彩
赞助商链接