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

Line 29: Line 29:
 
     }
 
     }
  
    if ($window.width() < 1320) {
+
 
      // if there is no lower background image, the button just moves upwards so it doesnt touch the footer
+
    // if there is no lower background image, the button just moves upwards so it doesnt touch the footer
      if (y > ($pageheight - 100)) {
+
    if ($window.width() < 1320 && y > ($pageheight - 100)) {
        // blob stays 100px above bottom
+
      // blob stays 100px above bottom
        console.log("y 100 up");
+
      console.log("y 100 up");
       } else {
+
    } else if ($window.width() > 1320 && y > ($pageheight - 430)){
        $blob.css({"top": top });
+
       console.log("y 430 up");
      }
+
    } else {
 +
      $blob.css({"top": top });
 
     }
 
     }
  

Revision as of 07:16, 8 September 2015