Template:Paris/Calendar Links

From 2008.igem.org

(Difference between revisions)
 
(11 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;
+
-
margin: 10px;
+
-
padding: 0px 8px;
+
-
border: thin solid black;
+
-
background: lavender;
+
-
color: black;
+
-
}
+
-
</style>
+
-
</html>
+
-
 
+
-
<center>
+
-
<div class="button">[[Team:Paris/{{{1}}}|← Yesterday]]</div><html><a class="button" href="javascript:toggleElement('calendar')">↓ Calendar<br>↓</a></html><div class="button">[[Team:Paris/{{{2}}}|Tomorrow →]]</div>
+
-
</center>
+
<div id="calendar" style="display:none;">{{Paris/Calendar}}</div>
<div id="calendar" style="display:none;">{{Paris/Calendar}}</div>

Latest revision as of 17:30, 26 October 2008

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

↓ Calendar ↑

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