Team:SDU-Denmark/test2

From 2012.igem.org

(Difference between revisions)
Line 49: Line 49:
     $window1.scroll(function() {
     $window1.scroll(function() {
-
         if ($window1.scrollTop() > offset.top + 250 ) {
+
         if ($window1.scrollTop() > offset.top ) {
             $sidebar.stop().animate({
             $sidebar.stop().animate({
-
                 marginTop: $window1.scrollTop() - (offset.top + topPadding + 230 )
+
                 marginTop: $window1.scrollTop() - (offset.top + topPadding - 20 )
             });
             });
         } else {
         } else {

Revision as of 20:52, 17 September 2012

iGEM TEAM ::: SDU-DENMARK by courtesy of NIAID



This is a demo page. You can view the supporting article here
More script and css style : www.htmldrive.net


Photo Credit: Hazrul Abdul Halim