Difference between revisions of "Template:AUC TURKEY"
Line 238: | Line 238: | ||
scroll_pos = $(this).scrollTop(); | scroll_pos = $(this).scrollTop(); | ||
alert(scroll_pos); | alert(scroll_pos); | ||
− | if(scroll_pos | + | if(!(scroll_pos < animation_begin_pos || scroll_pos > animation_end_pos) ) { |
// console.log( 'scrolling and animating' ); | // console.log( 'scrolling and animating' ); | ||
//we want to calculate the relevant transitional rgb value | //we want to calculate the relevant transitional rgb value |
Revision as of 08:22, 28 June 2015