Team:Bordeaux/NotebookTest

From 2014.igem.org

(Difference between revisions)
Line 102: Line 102:
<div class="calendar">
<div class="calendar">
   <div class="month"> May 2014  </div>
   <div class="month"> May 2014  </div>
-
   <div class="days"> Monday Tuesday Wednesday Thursday Friday Saturday Sunday </div>
+
   <div class="days">
 +
      <div class="dayName"> Monday </div>
 +
      <div class="dayName"> Tuesday </div>
 +
      <div class="dayName"> Wednesday </div>
 +
      <div class="dayName"> Thursday </div>
 +
      <div class="dayName"> Friday </div>
 +
      <div class="dayName"> Saturday </div>
 +
      <div class="dayName"> Sunday </div>
 +
  </div>
 +
  <div class="calendar-content">
   <div class="week">
   <div class="week">
       <div class="day">
       <div class="day">
Line 126: Line 135:
       <div class="day">
       <div class="day">
         <div class="number"> 5 </div>
         <div class="number"> 5 </div>
 +
        <div class="dots" onClick="visibilite('id1');"> dot </div>
 +
        <div class="hidden-content" id="id1" style="display:none"> bla bla bla </div>
       </div>
       </div>
       <div class="day">
       <div class="day">
Line 215: Line 226:
       </div>       
       </div>       
   </div>
   </div>
-
   <div class="calendar-bottom"> </div>
+
  </div>
 +
   <div class="calendar-bottom"> ... </div>
</div>
</div>
 +
 +
<script>
 +
function visibilite(thingId)
 +
{
 +
var targetElement;
 +
        targetElement = document.getElementById(thingId) ;
 +
        if (targetElement.style.display == "none")
 +
          {
 +
              targetElement.style.display = "" ;
 +
          }
 +
else
 +
          {
 +
              targetElement.style.display = "none" ;
 +
          }
 +
}
 +
</script>
</body>
</body>
</html>
</html>

Revision as of 16:41, 14 September 2014

May 2014
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
1
2
3
4
5
dot
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
...