Difference between revisions of "Team:KU Leuven/Research/Methods"
Line 8: | Line 8: | ||
<html> | <html> | ||
<body> | <body> | ||
− | < | + | <p><a onclick="javascript:ShowHide('HiddenDiv')">Show/Hide</a></p> |
− | + | <div class="mid" id="HiddenDiv" style="display: none;">This text was hidden</div> | |
− | + | <script type="text/javascript">// <![CDATA[ | |
− | + | function ShowHide(divId) | |
− | + | { | |
− | + | if(document.getElementById(divId).style.display == 'none') | |
− | </ | + | { |
+ | document.getElementById(divId).style.display='block'; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | document.getElementById(divId).style.display = 'none'; | ||
+ | } | ||
+ | } | ||
+ | // ]]></script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 13:52, 1 September 2015