首先引用文件
<script type="text/javascript" src="js/jquery.min.js"></script>
jquery功能代码如下:
$(function(){ var aLi = $('#sidebar ul li'); var oImg,aP; aLi.hover(function(){ oImg = $(this).find('.imgBox'); aP = $(this).find('p'); oImg.stop().animate({ left:-180 },450); aP.eq(0).stop().animate({ top:24 },450); aP.eq(1).stop().animate({ top:0 },450); },function(){ oImg.stop().animate({ left:0 },450); aP.eq(0).stop().animate({ top:0 },450); aP.eq(1).stop().animate({ top:24 },450); }) })
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
