Template:Paris/Calendar Links
From 2008.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <script | + | <script type="text/javascript"> |
- | function | + | function toggleElement(layer){ |
- | + | var myLayer = document.getElementById(layer); | |
- | document.getElementById( | + | if(myLayer.style.display=="none"){ |
- | + | myLayer.style.display="block"; | |
- | + | myLayer.backgroundPosition="top"; | |
- | if ( | + | } else { |
- | + | myLayer.style.display="none"; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | else { | + | |
- | + | ||
- | + | ||
} | } | ||
} | } | ||
</script> | </script> | ||
- | <div id=" | + | <div id="calendar"> |
</html> | </html> | ||
{{Paris/Calendar}} | {{Paris/Calendar}} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | <center><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{1}}}| < Yesterday ]]</div><html><a href="javascript: | + | <center><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{1}}}| < Yesterday ]]</div><html><a href="javascript:toggleElement()">Toggle Calendar</a></html><div style="display: inline; border: thin solid black; background: Lavender;">[[Team:Paris/{{{2}}}| Tomorrow > ]]</div></center> |
- | <!-- preserve line breaks | + | <!-- preserve line breaks --> |
Revision as of 17:08, 16 July 2008
|
|
|
|
|
|
[[Team:Paris/{{{1}}}| < Yesterday ]]
Toggle Calendar[[Team:Paris/{{{2}}}| Tomorrow > ]]