Difference between revisions of "Template:Freiburg/wiki content start"

Line 47: Line 47:
  
 
     // button appears in the middle //
 
     // button appears in the middle //
     if ($window.scrollTop() > 60 ) {
+
     if (y > 60 ) {
       if ($window.scrollTop() <($pageheight-100)) {
+
       if (y <($pageheight-100)) {
 
         console.log('middle');
 
         console.log('middle');
 
         $blob.css({"top": y + $window.height() - 30, "right": 30}); // = 30 px from bottom
 
         $blob.css({"top": y + $window.height() - 30, "right": 30}); // = 30 px from bottom

Revision as of 05:59, 8 September 2015