Line 267: | Line 267: | ||
var nav_shrink=$("#nav_shrink").eq(0); | var nav_shrink=$("#nav_shrink").eq(0); | ||
var nav_shrink_icon=$("#nav_shrink_icon").eq(0); | var nav_shrink_icon=$("#nav_shrink_icon").eq(0); | ||
− | var slow_transition=$(".slow-transition" | + | var slow_transition=$(".slow-transition"); |
var content_right_border=$("#content-right-border").eq(0); | var content_right_border=$("#content-right-border").eq(0); | ||
Line 275: | Line 275: | ||
nav_shrink.click(function () { | nav_shrink.click(function () { | ||
if(!nav_flag){ | if(!nav_flag){ | ||
− | + | slow_transition.addClass("transform_hide"); | |
content_right_border.animate({ | content_right_border.animate({ | ||
'margin-left':'40px' | 'margin-left':'40px' | ||
Line 288: | Line 288: | ||
} | } | ||
else{ | else{ | ||
− | + | slow_transition.removeClass("transform_hide"); | |
content_right_border.animate({ | content_right_border.animate({ | ||
'margin-left':'220px' | 'margin-left':'220px' |
Revision as of 03:23, 11 November 2016