Template:Team:KIT-Kyoto/navi

From 2014.igem.org

(Difference between revisions)
Line 5: Line 5:
//ボタンを-200する
//ボタンを-200する
.each(function(){
.each(function(){
-
$(this).css('margin-left', '-350px')
+
$(this).css('margin-left', '-280px')
})
})
//アニメーション処理
//アニメーション処理
Line 11: Line 11:
function(){
function(){
$(this).stop().animate({
$(this).stop().animate({
-
'marginLeft':'-100px'
+
'marginLeft':'-50px'
},'falst', 'easeOutQuad');
},'falst', 'easeOutQuad');
},
},
function () {
function () {
$(this).stop().animate({
$(this).stop().animate({
-
'marginLeft':'-300px'
+
'marginLeft':'-280px'
},'slow', 'easeOutQuad');
},'slow', 'easeOutQuad');
}
}

Revision as of 11:48, 21 May 2014