Team:Hong Kong HKU/diary
From 2013.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<div id="divAbout"> | <div id="divAbout"> | ||
<div id="divContent"><br><br><p style="color: #FFF; font-size: 12px; font-family: Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', serif; text-align: left;"> | <div id="divContent"><br><br><p style="color: #FFF; font-size: 12px; font-family: Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', serif; text-align: left;"> | ||
- | + | ||
+ | <form name="form1"> <table border="0"> <tr> | ||
+ | <td> <script language="JavaScript"> <!-- This script | ||
+ | supplied free by Hypergurl.com http://www.hypergurl.com --> <!-- function | ||
+ | showAnswer(whatForm){ if(document.forms[whatForm].question.value=="none"){ | ||
+ | document.forms[whatForm].answer.value="^ Please select a question above ^" | ||
+ | }else{ document.forms[whatForm].answer.value=document.forms[whatForm].question.value | ||
+ | }} // --> </script> <b>Please select a question:</b> </td> | ||
+ | <td valign="top"> <select name="question" size="1" | ||
+ | onChange="showAnswer('form1')"> <option value="none"> | ||
+ | </option> <option value="Your answer!">Your question?</option> | ||
+ | <option value="Your answer!">Your question? </option> <option | ||
+ | value="Your answer!">Your question?</option> <option value="Your | ||
+ | answer!">Your question?</option> </select> </td> </tr> | ||
+ | <tr> <td align="right"><b>Here is your answer:</b> | ||
+ | </td> <td> <textarea name="answer" rows="8" | ||
+ | cols="40" readonly></textarea> </td> </tr> </table> | ||
+ | </form> | ||
</p> | </p> | ||
Revision as of 17:33, 22 August 2013