Team:HZAU-China/Notebook

From 2013.igem.org

(Difference between revisions)
Line 42: Line 42:
   <div id="sidebar">
   <div id="sidebar">
-
<style type="text/css">
+
<style>
-
.menutitle{
+
*{ padding:0; margin:0; }
-
cursor:pointer;
+
.slider{ line-height:23px; width:220px; color:#7ecef4; margin:10px auto; background:#010e16; }
-
margin-bottom: 5px;
+
.slider dt{ background:#f5f5d2; padding-left:30px; cursor:pointer; overflow:hidden; background:#1b1b1b; border-bottom:1px solid #fffheight:32px; line-height:32px; }
-
background-color:#ECECFF;
+
.slider dt.slider_open{background:#707070; color:# }
-
align:center;
+
.slider dd{ display:none; background:#f1f1ea; height:90px; background:#111; border-bottom:1px dashed #fafafa; overflow:hidden;}
-
color:#000000;
+
.slider dd p{ padding:10px 20px; overflow:hidden; }
-
width:195px;
+
-
padding:2px;
+
-
text-align:center;
+
-
font-weight:bold;
+
-
font-size:20px;   
+
-
font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
+
-
}
+
-
.submenu{
+
-
margin-bottom: 0.5em;
+
-
padding-left:10px;
+
-
font-size:20px;
+
-
font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
+
-
}
+
</style>
</style>
-
 
+
<script type="text/javascript" src="http://www.codefans.net/ajaxjs/jquery-1.4.2.min.js"></script>
-
<div id="masterdiv" >
+
<script>
-
<div class="menutitle" onclick="SwitchMenu('sub1')">Notebook</div>
+
$(function(){
-
<span class="submenu" id="sub1">
+
//初始化变量
-
- <a href="#">Development of our team and Summer Fun</a><br>
+
var flag = 0;
-
- <a href="#">Labnote</a><br>
+
var $dt = $('.slider dt');
-
- <a href="#">Protocol</a><br>
+
var $dd = $('.slider dd');
-
</span>
+
//初始化状态
-
<div class="menutitle" onclick="SwitchMenu('sub2')">In this page</div>
+
$dd.eq(0).show();
-
<span class="submenu" id="sub2">
+
$dt.eq(0).css('cursor','default');
-
- <a href="#Week1">Week1</a><br>
+
//单击事件
-
- <a href="#Week2">Week2</a><br>
+
$dt.click(function(){
-
- <a href="#Week3">Week3</a><br>
+
if($dt.index(this) == flag) return false;
-
- <a href="#Week4">Week4</a><br>
+
flag = $dt.index(this);
-
- <a href="#Week5">Week5</a><br>
+
$dd.not($dd.eq(flag)).slideUp();
-
- <a href="#Week6">Week6</a><br>
+
$dd.eq(flag).slideDown();
-
- <a href="#Week7">Week7</a><br>
+
$dt.eq(flag).css('cursor','default').addClass('slider_open');
-
- <a href="#Week8">Week8</a><br>
+
$dt.not($dt.eq(flag)).css('cursor','pointer').removeClass('slider_open');
-
- <a href="#Week9">Week9</a><br>
+
  });
-
- <a href="#Week10">Week10</a><br>
+
});
-
- <a href="#Week11">Week11</a><br>
+
</script>
-
- <a href="#Week12">Week12</a><br>
+
</head>
-
- <a href="#Week13">Week13</a><br>
+
<body>
-
- <a href="#Week14">Week14</a><br>
+
<dl class="slider">
-
- <a href="#Week15">Week15</a><br>
+
<dt class="slider_open">Notebook</dt>
-
- <a href="#Week16">Week16</a><br>
+
<dd><a href="#">Development of our team and Summer Fun</a><br>
-
- <a href="#Week17">Week17</a><br>
+
            <a href="#">Labnote</a><br>
-
</div>
+
            <a href="#">Protocol</a><br></dd>
 +
<dt>In this page</dt>
 +
<dd><a href="#Week1">Week1</a><br>
 +
            <a href="#Week2">Week2</a><br>
 +
            <a href="#Week3">Week3</a><br>
 +
            <a href="#Week4">Week4</a><br>
 +
            <a href="#Week5">Week5</a><br>
 +
            <a href="#Week6">Week6</a><br>
 +
            <a href="#Week7">Week7</a><br>
 +
            <a href="#Week8">Week8</a><br>
 +
            <a href="#Week9">Week9</a><br>
 +
            <a href="#Week10">Week10</a><br>
 +
            <a href="#Week11">Week11</a><br>
 +
            <a href="#Week12">Week12</a><br>
 +
            <a href="#Week13">Week13</a><br>
 +
            <a href="#Week14">Week14</a><br>
 +
            <a href="#Week15">Week15</a><br>
 +
            <a href="#Week16">Week16</a><br>
 +
            <a href="#Week17">Week17</a><br></dd>
 +
 +
</dl>
 +
</body>
   </div>
   </div>

Revision as of 02:17, 22 July 2013

You should make use of the calendar feature on the wiki and start a lab notebook. This may be looked at by the judges to see how your work progressed throughout the summer. It is a very useful organizational tool as well.