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

Line 19: Line 19:
  
 
   if ($window.scrollTop() > 0.05*$pageheight) {
 
   if ($window.scrollTop() > 0.05*$pageheight) {
   if ($window.scrollTop() < 0.9*$pageheight) {
+
   if ($window.scrollTop() <($pageheight-420)) {
 
   console.log('middle');
 
   console.log('middle');
 
   $blob.css({"transform":"translateX(-150px)"});
 
   $blob.css({"transform":"translateX(-150px)"});
Line 25: Line 25:
 
   }
 
   }
  
   if ($window.scrollTop() > ($pageheight-430)) {
+
   if ($window.scrollTop() > ($pageheight-420)) {
 
   console.log('greater');
 
   console.log('greater');
 
   $blob.css({"transform":"translateX(0)"});
 
   $blob.css({"transform":"translateX(0)"});

Revision as of 17:50, 6 September 2015