Difference between revisions of "Template:AUC TURKEY"
Line 880: | Line 880: | ||
var ending_color = new $.Color( 'rgb(0,0,255)' );//what color we want to use in the end | var ending_color = new $.Color( 'rgb(0,0,255)' );//what color we want to use in the end | ||
$(document).scroll(function() { | $(document).scroll(function() { | ||
− | scroll_pos = $(this).scrollTop( | + | scroll_pos = $(this).scrollTop(); |
− | + | ||
if(!(scroll_pos < animation_begin_pos || scroll_pos > animation_end_pos) ) { | if(!(scroll_pos < animation_begin_pos || scroll_pos > animation_end_pos) ) { | ||
// console.log( 'scrolling and animating' ); | // console.log( 'scrolling and animating' ); |
Revision as of 08:34, 28 June 2015