Team:Gothenburg/Calendar

From 2014.igem.org

(Difference between revisions)
Line 18: Line 18:
          
          
         <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>
         <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>
-
         <script src="popup.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
+
         <script>
 +
$(function() {
 +
$("#pop_up_underlay").click(function(){
 +
$("#pop_up_display").css("display","none");
 +
$("#pop_up_underlay").css("display","none");
 +
$("#pop_up" ).empty();
 +
  $('.summary').each(function() {
 +
  $(this).css("display","none");
 +
  });
 +
});
 +
 
 +
});
 +
 
 +
$(function() {
 +
  $('td').each(function() {
 +
    $(this).click(function() {
 +
      $("#pop_up_display").css("display","inline");
 +
$("#pop_up_underlay").css("display","inline");
 +
var idday = $(this).find( "div" ).attr("id");
 +
$('.summary').each(function() {
 +
if ($(this).attr("id") == idday) {
 +
$(this).css("display","inline");
 +
  $(this).clone().appendTo("#pop_up");
 +
}
 +
});
 +
 +
    }); //missing ); here!
 +
  });
 +
});
 +
</script>
</head>
</head>

Revision as of 19:13, 17 July 2014

GoteborgTeam2014.igem.org

 

Team:Goteborg

 

June

Sun Mon Tue Wed Thu Fri Sat
 
 
 
 
 
 
1
2
3
4
5
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
 
 
 
 
 
 

1/6/2014

Training

We did this markus did this bla bla bla

2/6/2014

Training

Cazzo

2/6/2014

Training

Oliver is the best