Difference between revisions of "Template:Freiburg/wiki content start"
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<script> | <script> | ||
Line 41: | Line 19: | ||
if (y < 60) { | if (y < 60) { | ||
console.log('lower'); | console.log('lower'); | ||
− | $blob.css({"top": y , "transform": "translateX(0)"}); // = 30 px under bottom | + | $blob.css({"top": y + $window.height() -30, "transform": "translateX(0)"}); // = 30 px under bottom |
} | } | ||
Line 48: | Line 26: | ||
if (y <($pageheight-100)) { | if (y <($pageheight-100)) { | ||
console.log('middle'); | console.log('middle'); | ||
− | $blob.css({"top": y , "transform": "translateX(-130px)"}); // = 30 px from bottom | + | $blob.css({"top": y + $window.height() -30 , "transform": "translateX(-130px)"}); // = 30 px from bottom |
} | } | ||
} | } | ||
Line 172: | Line 150: | ||
<div class="content_background_wrapper"> | <div class="content_background_wrapper"> | ||
<div class="central_position_wrap"> | <div class="central_position_wrap"> | ||
− | |||
<div class="background_image_left"><img src="https://static.igem.org/mediawiki/2015/8/85/Freiburg_wiki_background_2_parted_left.png"></div> | <div class="background_image_left"><img src="https://static.igem.org/mediawiki/2015/8/85/Freiburg_wiki_background_2_parted_left.png"></div> | ||
<div class="background_image_right"><img src="https://static.igem.org/mediawiki/2015/f/f4/Freiburg_wiki_background_2_parted_right.png"></div> | <div class="background_image_right"><img src="https://static.igem.org/mediawiki/2015/f/f4/Freiburg_wiki_background_2_parted_right.png"></div> | ||
<div class="page_content"> | <div class="page_content"> | ||
</html> | </html> |
Revision as of 06:39, 8 September 2015