主要js// JavaScript DocumentjQuery(document).ready(function($){ ;(function(element) { var $respl = $(element); var $container = $('.respl-items', $respl); $container.imagesLoaded(function() { $container.isotope({ containerStyle: { position: 'relative', height: 'auto', overflow: 'visible' }, itemSelector: '.respl-item', sortAscending: true }); _opTionSets(); function _opTionSets(){ var $optionSets = $('.respl-header .respl-option', $respl), $optionLinks = $optionSets.find('a'); $optionLinks.each(function(){ $(this).click(function(){ var $this = $(this); var $optionSet = $this.parents('.respl-option'); $this.parent().addClass('select').siblings().removeClass('select'); var options = {},key = $optionSet.attr('data-option-key'),value = $this.attr('data-rl_value'); value = value === 'false' ? false: value; options[key] = value; $container.isotope(options); return false; }); }); } }); })('#yhc_responsive'); $(".ProductList li").hover(function(){ $(this).find(".hoverline").fadeIn().end().find(".images").addClass("mousehover").stop().animate({ "height":"160px" },500).find("img").stop().animate({ "margin-top":"-30px" },500); $(this).find(".view").stop().animate({ "bottom":"0" },500); },function(){ $(this).find(".hoverline").fadeOut().end().find(".images").removeClass("mousehover").stop().animate({ "height":"222px" },500).find("img").stop().animate({ "margin-top":"0" },500); $(this).find(".view").stop().animate({ "bottom":"-60px" },500); }); });
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)