Team:Brown-Stanford/Templates/Main
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
--> | --> | ||
<head> | <head> | ||
+ | |||
+ | <script language="javascript"> | ||
+ | function toggle() { | ||
+ | var ele = document.getElementById("news"); | ||
+ | var text = document.getElementById("toggleNews"); | ||
+ | if(ele.style.display == "block") { | ||
+ | ele.style.display = "none"; | ||
+ | text.innerHTML = "<h3>Show News and Media</h3>"; | ||
+ | } | ||
+ | else { | ||
+ | ele.style.display = "block"; | ||
+ | text.innerHTML = "<h3>Hide News and Media</h3>"; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script> | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
Revision as of 15:09, 28 September 2011