Team:Paris Bettencourt/Notebook

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
<html>
<html>
<head>
<head>
-
  <!-- Include jQuery -->
 
-
  <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
 
   <style type='text/css'>
   <style type='text/css'>
-
  #navWrap {
+
  #wrap {
-
     height: 30px;
+
     margin: 10px auto;       
 +
    background: #666;
 +
    padding: 1px 10px;
 +
    width: 700px;
   }
   }
-
   #nav {
+
 
-
     padding: 5px;
+
   #calendarBox{
-
     background: #999;  
+
     position: fixed;
 +
    z-index: 10000;
 +
    top: 10px;
 +
    left: 1300px; 
 +
    width: 220px;
 +
     background: #FFF;
 +
    border: 2px solid #F00;
 +
    padding: 10px;
   }
   }
-
  #nav ul {
 
-
  margin: 0;
 
-
  padding: 0;   
 
-
}
 
-
#nav li {
 
-
  float: left;
 
-
  padding: 3px 8px;
 
-
  background-color: #FFF;
 
-
  margin: 0 10px 0 0;
 
-
  color: #F00;
 
-
  list-style-type: none;
 
-
}
 
-
#nav li a {
 
-
  color: #F00; 
 
-
  text-decoration: none;   
 
-
}
 
-
#nav li a:hover {
 
-
  text-decoration: underline; 
 
-
}
 
-
br.clearLeft {
 
-
  clear: left;       
 
-
}​
 
   </style>
   </style>
-
  <script type='text/javascript'>
 
-
  //<![CDATA[
 
-
  $(function() {
 
-
    // Stick the #nav to the top of the window
 
-
    var nav = $('#nav');
 
-
    var navHomeY = nav.offset().top;
 
-
    var isFixed = false;
 
-
    var $w = $(window);
 
-
    $w.scroll(function() {
 
-
        var scrollTop = $w.scrollTop();
 
-
        var shouldBeFixed = scrollTop > navHomeY;
 
-
        if (shouldBeFixed && !isFixed) {
 
-
            nav.css({
 
-
                position: 'fixed',
 
-
                top: 0,
 
-
                left: nav.offset().left,
 
-
                width: nav.width()
 
-
            });
 
-
            isFixed = true;
 
-
        }
 
-
        else if (!shouldBeFixed && isFixed)
 
-
        {
 
-
            nav.css({
 
-
                position: 'static'
 
-
            });
 
-
            isFixed = false;
 
-
        }
 
-
    });
 
-
  });
 
-
  //]]> 
 
-
  </script>
 
-
 
</head>
</head>
Line 72: Line 26:
<body>
<body>
 +
 
 +
<!-- floating (fixed position) box -->
 +
<div id="calendarBox">
 +
    <p style="margin: 0;">CSS for this box:</p>
 +
    <pre style="color: #000;">
 +
foo
 +
}</pre>
 +
</div>
-
<div id="wrap">
 
-
   
 
-
    <!-- The header code, including the menu -->
 
-
    <div id="navWrap">
 
-
          <div id="nav">
 
-
              <ul>
 
-
              </ul>   
 
-
              <br class="clearLeft" />
 
-
          </div>
 
-
    </div>
 
-
   
 
<h2>Week 01: 01-07 July</h2>
<h2>Week 01: 01-07 July</h2>
<h2>Week 02: 08-14</h2>
<h2>Week 02: 08-14</h2>
Line 103: Line 54:
<h2>Week 18: 21-27</h2>
<h2>Week 18: 21-27</h2>
<h2>Week 19: 28-03</h2>
<h2>Week 19: 28-03</h2>
-
 
-
</div>
 
</body>
</body>

Revision as of 21:22, 18 July 2013

<body>
Notebook

CSS for this box:

foo
}

Week 01: 01-07 July

Week 02: 08-14

Week 03: 15-21

Week 04: 22-28

Week 05: 29-04

Week 06: 05-11

Week 07: 12-18

Week 08: 19-25

Week 09: 26-01

Week 10: 02-08

Week 11: 09-15

Week 12: 16-22

Week 13: 23-29

Week 14: 30-06

Week 15: 07-13

Week 16: 14-20

Week 17: 14-20

Week 18: 21-27

Week 19: 28-03

Centre for Research and Interdisciplinarity (CRI)
Faculty of Medicine Cochin Port-Royal, South wing, 2nd floor
Paris Descartes University
24, rue du Faubourg Saint Jacques
75014 Paris, France
+33 1 44 41 25 22/25
team2013@igem-paris.org
Hit Counter by Digits
Copyright (c) 2013 igem.org. All rights reserved.