$(function(){ $(".tag_item").each(function(i, target){ $(target).mouseenter(function(e){ //stop current animation. $(target).stop(); $(target).find(".taglist").stop(false, true); $(target).parent().addClass("curr"); $(".tag_item").not($(target)).addClass("not_curr"); $(target).find(".taglist").animate({ width: "248px" }, "normal"); $(target).animate({ width: "192px", height: "141px", top: "-20px", left: "-24px" }, "normal"); }); $(target).mouseleave(function(e){ //stop current animation. $(target).stop(); $(target).find(".taglist").stop(false, true); $(target).parent().removeClass("curr"); $(".tag_item").not(target).removeClass("not_curr"); $(target).find(".taglist").animate({ width: "46px" }, "normal"); $(target).animate({ width: "144px", height: "90px", top: "0", left: "0" }, "normal"); }); }) });
XHTMT|
HTML5|
CSS|
HTML DOM|
jQuery|
JSON|
AJAX|
LESS|
HTML|
Bootstrap|
Foundation|
AngularJS|
Ember.js|
TypeScript|
AngularJS2|
React|
jQuery UI|
jQuery EasyUI|
Node.js|
Highcharts|
Echarts|
Vue.js|
CoffeeScript|
Ext.js|
Meteor|
SASS|
Omi|
Markdown|
前端开发规范|
浏览器|
webpack|
JavaScript|
CSS3|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....