Team:Hong Kong HKUST/notebook

From 2013.igem.org

(Difference between revisions)
Line 12: Line 12:
     $(document).ready(function(){
     $(document).ready(function(){
       $('.head').each(function(){
       $('.head').each(function(){
-
         var $content = $(this).closest('li').find('.content');
+
         var $content = $(this).closest('div').find('.content');
         $(this).click(function(e){
         $(this).click(function(e){
           e.preventDefault();
           e.preventDefault();
Line 298: Line 298:
  <div id="satu" align="center"> <h1>June 2013</h1>
  <div id="satu" align="center"> <h1>June 2013</h1>
    
    
-
       <li>
+
       <div>
       <a href='#' class='head'>Week 4</a>
       <a href='#' class='head'>Week 4</a>
       <div class='content'>Content 1
       <div class='content'>Content 1
       </div>
       </div>
-
       <li>
+
       </div>
  </div>
  </div>
Line 308: Line 308:
<div id="satu" align="center"> <h1>July 2013</h1>
<div id="satu" align="center"> <h1>July 2013</h1>
    
    
-
    
+
   <div>
       <a href='#' class='head'>Week 1</a>
       <a href='#' class='head'>Week 1</a>
       <div class='content'>Content 1
       <div class='content'>Content 1
       </div>
       </div>
-
   
+
  </div>
-
   
+
 
 +
  <div>
       <a href='#' class='head'>Week 2</a>
       <a href='#' class='head'>Week 2</a>
       <div class='content'>Content 1
       <div class='content'>Content 1
       </div>
       </div>
-
   
+
  </div>
       <a href='#' class='head'>Week 3</a>
       <a href='#' class='head'>Week 3</a>
       <div class='content'>Content 1
       <div class='content'>Content 1

Revision as of 12:29, 16 September 2013








June 2013

Week 4
Content 1

July 2013

Week 1
Content 1
Week 2
Content 1
Week 3
Content 1
Week 4
Content 1
Week 5
Content 1

August 2013



September 2013