Template:Paris/Calendar Links

From 2008.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script language=javascript type='text/javascript'>
+
<script type="text/javascript">
-
function hideDiv() {
+
function toggleElement(layer){
-
if (document.getElementById) { // DOM3 = IE5, NS6
+
var myLayer = document.getElementById(layer);
-
document.getElementById('hideshow').style.visibility = 'hidden';
+
if(myLayer.style.display=="none"){
-
}
+
myLayer.style.display="block";
-
else {
+
myLayer.backgroundPosition="top";
-
if (document.layers) { // Netscape 4
+
} else {
-
document.hideshow.visibility = 'hidden';
+
myLayer.style.display="none";
-
}
+
-
else { // IE 4
+
-
document.all.hideshow.style.visibility = 'hidden';
+
-
}
+
-
}
+
-
}
+
-
 
+
-
function showDiv() {
+
-
if (document.getElementById) { // DOM3 = IE5, NS6
+
-
document.getElementById('hideshow').style.visibility = 'visible';
+
-
}
+
-
else {
+
-
if (document.layers) { // Netscape 4
+
-
document.hideshow.visibility = 'visible';
+
-
}
+
-
else { // IE 4
+
-
document.all.hideshow.style.visibility = 'visible';
+
-
}
+
}
}
}
}
</script>
</script>
-
<div id="hideshow">
+
<div id="calendar">
</html>
</html>
{{Paris/Calendar}}
{{Paris/Calendar}}
-
<html>
 
-
<a href="javascript:hideDiv()">Hide Full Calendar</a>
 
-
</div>
 
-
</html>
 
-
 
-
<center><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{1}}}|&nbsp;< Yesterday&nbsp;]]</div><html><a href="javascript:showDiv()">Display Full Calendar</a></html><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{2}}}|&nbsp;Tomorrow >&nbsp;]]</div></center>
+
<center><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{1}}}|&nbsp;< Yesterday&nbsp;]]</div><html><a href="javascript:toggleElement()">Toggle Calendar</a></html><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{2}}}|&nbsp;Tomorrow >&nbsp;]]</div></center>
-
<!-- preserve line breaks after the horizontal ruler -->
+
<!-- preserve line breaks -->

Revision as of 17:08, 16 July 2008

June
Mo Tu We Th Fr Sa Su
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            
July
Mo Tu We Th Fr Sa Su
  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 31      
August
Mo Tu We Th Fr Sa Su
        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 31
September
Mo Tu We Th Fr Sa Su
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          
October
Mo Tu We Th Fr Sa Su
    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 31    
November
Mo Tu We Th Fr Sa Su
          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
[[Team:Paris/{{{1}}}| < Yesterday ]]
Toggle Calendar
[[Team:Paris/{{{2}}}| Tomorrow > ]]