Template:NotebookUpper

From 2013hs.igem.org

(Difference between revisions)
Line 13: Line 13:
<html>
<html>
-
</div><!--end SubWrapper-->
 
-
<div id="news">
 
 +
<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>
-
<p>&nbsp;</p>
+
 
-
<p>&nbsp;</p>
+
</div>
</div>
-
</div><!--end news-->
 
</div><!-- end super_main_wrapper-->
</div><!-- end super_main_wrapper-->
</body>
</body>
-
 
+
</html>
-
<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>
+
-
 
+
-
<style type="text/css">
+
-
  #fixiert {
+
-
    position: absolute;
+
-
    top: 295px;
+
-
    width: 295px;
+
-
    heigth:750px;
+
-
    background-image: url(https://static.igem.org/mediawiki/2012hs/6/67/Notebookmenu.png);
+
-
    border: none;
+
-
margin-bottom: 150px;
+
-
margin-left: 810px;
+
-
  }
+
-
  html>body #fixiert {  /* nur fuer moderne Browser! */
+
-
    position: fixed;
+
-
  }
+
-
 
+
-
#fixiert li {
+
-
background-color: #eff7fc;
+
-
}
+
-
 
+
-
</style>
+
-
 
+
-
<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>
+

Revision as of 21:38, 19 June 2013