Difference between revisions of "Code Documentation2"

Line 56: Line 56:
 
<span class="pop_why" onclick="which_why=''">?</span>   
 
<span class="pop_why" onclick="which_why=''">?</span>   
  
 
+
<br><br>
 
<p> For the box with the answer  - go to : <a href="https://2015.igem.org/Why_demo">https://2015.igem.org/Why_demo</a></p>
 
<p> For the box with the answer  - go to : <a href="https://2015.igem.org/Why_demo">https://2015.igem.org/Why_demo</a></p>
  
Line 71: Line 71:
 
</pre>
 
</pre>
 
<br><br>
 
<br><br>
 +
 
<pre>
 
<pre>
 +
&#60;div id="why_NAME"&#62;  &#60;div class="pop_close"&#62; X &#60;/div&#62;
 +
 +
&#60;h3&#62;  Title &#60;/h3&#62;
 +
 +
&#60;p> Text  &#60;/p&#62;
  
 +
&#60;/div&#62;
 
</pre>
 
</pre>
  

Revision as of 16:55, 18 November 2015

×

Loading ...

Tables

Tables created within in a page already have styling and will display:

Header 1 Header 2
Content A 1 Content B 1
Content A 2 Content B 2
<table> 

<tr> 
<th>  Header 1  </th>  <th>  Header 2 </th> 
</tr> 

<tr>  
<td>  Content A 1 </td>  <td> Content B 1 </td>  
</tr> 

<tr> 
<td>  Content A 2 </td>  <td> Content B 2 </td> 
</tr> 

</table> 

Why ? pop up

For creating the button

?

For the box with the answer - go to : https://2015.igem.org/Why_demo

<span class="pop_why"  
onclick="which_why='why_NAME'">  
?  
</span> 


<div id="why_NAME">  <div class="pop_close"> X </div> 

<h3>  Title </h3> 

<p> Text  </p> 

</div>