JS悬浮特效

2016-04-23 08:07:21 -0400
<div id="StayPosition" style="position:absolute;top:5px;">
<img src="/down/20160423/394931/LOL%E5%8E%9F%E7%94%BB.jpg" width="80" onmouseover="this.style.width='50%';" onmouseout="this.style.width='5%'">
</div>
<script type="text/javascript" src="/down/394915/scrollwindow.js"></script>
<script type="text/javascript">
var float_s= new StayPosition(0.2);//滑动速度
float_s.add(document.getElementById("StayPosition"),"top");
float_s.start();
</script>
«Newer      Older»

Back to home

Subscribe | Register | Login | N