Template:NotebookUpper
From 2013hs.igem.org
(Difference between revisions)
Jack Allen (Talk | contribs) |
|||
Line 13: | Line 13: | ||
<html> | <html> | ||
- | |||
- | |||
+ | <head> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function setPageSize() { | ||
+ | len = document.getElementById('super_main_wrapper').offsetHeight; | ||
+ | document.getElementById('bodyContent').style.height = len + 'px'; | ||
+ | document.getElementById('SupWrapper').style.height = len + 'px'; | ||
+ | document.getElementById('news').style.height = len + 'px'; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | function Fensterweite () { | ||
+ | if (window.innerWidth) { | ||
+ | return window.innerWidth; | ||
+ | } else if (document.body && document.body.offsetWidth) { | ||
+ | return document.body.offsetWidth; | ||
+ | } else { | ||
+ | return 0; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function Fensterhoehe () { | ||
+ | if (window.innerHeight) { | ||
+ | return window.innerHeight; | ||
+ | } else if (document.body && document.body.offsetHeight) { | ||
+ | return document.body.offsetHeight; | ||
+ | } else { | ||
+ | return 0; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function neuAufbau () { | ||
+ | if (Weite != Fensterweite() || Hoehe != Fensterhoehe()) | ||
+ | location.href = location.href; | ||
+ | } | ||
+ | |||
+ | |||
+ | if (!window.Weite && window.innerWidth) { | ||
+ | window.onresize = neuAufbau; | ||
+ | Weite = Fensterweite(); | ||
+ | Hoehe = Fensterhoehe(); | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <style type="text/css"> | ||
+ | |||
+ | #fixiert | ||
+ | { position: fixed; | ||
+ | bottom:0px; | ||
+ | width: 320px; | ||
+ | heigth:750px; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2013hs/8/87/Lab_Notebook_.png'); | ||
+ | background-position:center 0px; | ||
+ | border: none; | ||
+ | margin-left: 810px; } | ||
+ | |||
+ | #fixiert li | ||
+ | { background-color: #eff7fc; } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | </head> | ||
+ | |||
+ | <body> | ||
<div id="fixiert"> | <div id="fixiert"> | ||
Line 62: | Line 125: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
</div><!-- end super_main_wrapper--> | </div><!-- end super_main_wrapper--> | ||
</body> | </body> | ||
- | + | </html> | |
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Revision as of 21:38, 19 June 2013