Line 32: | Line 32: | ||
<body> | <body> | ||
− | <button onclick=" | + | <div id="hidden_div" style="display: none;"> |
− | + | <button onclick="showHide('q4'); return false;">iPhone 5</button> | |
+ | April 2016 | ||
<p> | <p> | ||
− | <div id=" | + | <div id="q4" style="display: none;"> |
<ul>Settlement of lab duties and position.</ul> | <ul>Settlement of lab duties and position.</ul> | ||
Line 56: | Line 57: | ||
<head> | <head> | ||
− | <script> | + | <script type="text/javascript"> |
− | + | function showHide(obj) { | |
− | + | var div = document.getElementById(obj); | |
− | } | + | if (div.style.display == 'none') { |
+ | div.style.display = ''; | ||
+ | } | ||
+ | else { | ||
+ | div.style.display = 'none'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 13:37, 10 August 2017