gusucode.com > 【demx27】红色机械设备叉车产品网站织梦dedecms模板 > 【demx27】红色机械设备叉车产品网站织梦dedecms模板/templets/ch/js/image-hover.js
// JavaScript Document jQuery(document).ready(function($){ $('.proj-img').hover(function() { $(this).find('i').stop().animate({ opacity: 0.3 }, 'fast'); $(this).find('a').stop().animate({ "top": "50%" }); }, function() { $(this).find('i').stop().animate({ opacity: 0 }, 'fast'); $(this).find('a').stop().animate({ "top": "-30px" }); }); });