Team:Hong Kong HKU/extra/protocols

From 2013.igem.org

(Difference between revisions)
Line 4: Line 4:
<html>
<html>
<body>
<body>
-
     
+
<head>
-
 
+
<SCRIPT LANGUAGE="JavaScript">  
-
<div id="content1"><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;">
+
<!-- Original: Stephanie M. Clarkson (thespian@sleepingcat.com) --> <!--  
-
+
Web Site: http://www.sleepingcat.com --> <!-- Distributed by Hypergurl
-
<form name="form1"> <table border="0"> <tr>
+
<!-- Begin var messages = new Array(6); messages[0] = ""; messages[1]
-
<td> <script language="JavaScript"> <!-- This script
+
= "Have you ever seen anything like this before?"; messages[2] = "Can
-
supplied free by Hypergurl.com http://www.hypergurl.com --> <!-- function
+
you imagine how you could use it on your site?"; messages[3] = "It's
-
showAnswer(whatForm){ if(document.forms[whatForm].question.value=="none"){
+
great for sharing lots of information."; messages[4] = "And doesn't
-
document.forms[whatForm].answer.value="^ Please select a question above ^"  
+
take up much space!"; messages[5] = "So, get the code and put it on
-
}else{ document.forms[whatForm].answer.value=document.forms[whatForm].question.value  
+
your site!"; function messageReveal() { var messageindex = document.messageForm.messagePick.selectedIndex
-
}} // --> </script> <b>Please select a question:</b> </td>  
+
document.messageForm.messageField.value = messages[messageindex]; } // End -->  
-
<td valign="top"> <select name="question" size="1"
+
</SCRIPT>
-
onChange="showAnswer('form1')">  
+
<div id="content1">
-
 
+
<form name="messageForm">  
-
<option value="none">  
+
<select name="messagePick" OnChange="messageReveal()">  
-
</option>  
+
<option value="0">The Menu Message <option>Seen this before?
-
 
+
<option>Possible uses? <option>Shares Information <option>Saves
-
<option value="DNA">DNA Gel Extraction</option>  
+
space <option>Get the code! </select> <br><p> <textarea
-
 
+
name="messageField" rows=6 cols=50 wrap=virtual></textarea>  
-
<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>
</form>
-
</p>
+
</div>
-
 
+
-
</div>
+
</body>
</body>
</html>
</html>
{{:Team:Hong_Kong_HKU/templates/footer}}
{{:Team:Hong_Kong_HKU/templates/footer}}

Revision as of 00:44, 28 September 2013