Template:Paris/Calendar Links

From 2008.igem.org

(Difference between revisions)
m
 
(24 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
{{Paris/Menu}}
-
<script type="text/javascript">
+
<center><p class="button">[[Team:Paris/{{{1}}}|← Yesterday]]</p><html><a class="button" href="#" onclick="javascript:toggle('calendar')">↓ Calendar ↑</a></html><p class="button">[[Team:Paris/{{{2}}}|Tomorrow →]]</p></center>
-
function toggleElement(layer){
+
-
var myLayer = document.getElementById(layer);
+
-
if(myLayer.style.display=="none"){
+
-
myLayer.style.display="block";
+
-
myLayer.backgroundPosition="top";
+
-
} else {
+
-
myLayer.style.display="none";
+
-
}
+
-
}
+
-
</script>
+
-
<style>
+
-
.button {
+
-
display: inline;
+
-
border: thin solid black;
+
-
background: lavender;
+
-
}
+
-
 
+
-
}
+
-
</style></html>
+
<div id="calendar" style="display:none;">{{Paris/Calendar}}</div>
<div id="calendar" style="display:none;">{{Paris/Calendar}}</div>
-
 
-
<center>
 
-
<div class="button">[[Team:Paris/{{{1}}}|< Yesterday]]</div><html><a class="button" href="javascript:toggleElement('calendar')">Toggle Calendar</a></html><div class="button">[[Team:Paris/{{{2}}}|Tomorrow >]]</div>
 
-
</center>
 
-
 
-
 
-
<!-- preserve line breaks -->
 

Latest revision as of 17:30, 26 October 2008

[[Team:Paris/{{{1}}}|← Yesterday]]

↓ Calendar ↑

[[Team:Paris/{{{2}}}|Tomorrow →]]