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() <($pageheight-420)) {
+
   if ($window.scrollTop() <($pageheight-100)) {
 
   console.log('middle');
 
   console.log('middle');
 
   $blob.css({"transform":"translateX(-150px)"});
 
   $blob.css({"transform":"translateX(-150px)"});
Line 27: Line 27:
 
   if ($window.scrollTop() > ($pageheight-100)) {
 
   if ($window.scrollTop() > ($pageheight-100)) {
 
   console.log('greater');
 
   console.log('greater');
   $blob.css({"transform":"translateY(-100px)", "transform": "translateX(-150px)"});
+
   $blob.css({"transform":"translateY(-100px)", "transform":"translateX(-150px)"});
 
   }
 
   }
  

Revision as of 19:55, 6 September 2015