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('div').find('.content');
+
         var $content = $(this).closest('li').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>
       <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>

Revision as of 12:28, 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