Team:KIT-Kyoto/Notebook-week11

From 2010.igem.org

(Difference between revisions)
(New page: <html> <head> <style type=text/css> ul.acc, ul.acc li ul { margin: 0; padding: 0; list-style: none; } ul.acc a{ display: block; height: 30px; line-height: 30px; ...)
 
(36 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
{{Template:KIT-Kyoto/menu}}
-
<head>
+
<table border=0 width="965px" align="center"><tr><td>
-
 
+
[[Team:KIT-Kyoto|Home]] > [[Team:KIT-Kyoto/Note|Notebook]] > [[Team:KIT-Kyoto/Notebook|Lab Note]] > [[Team:KIT-Kyoto/Notebook-week8|Week8]]</td></tr></table>
-
<style type=text/css>
+
<table border=0 width="965px" align="center"><tr><td width="165px" valign="top" align="left"><div>{{Template:KIT-Kyoto/menu1}}
-
 
+
</div></td><td width="800px" valign="top" align="left"><div id="MIGI">
-
ul.acc, ul.acc li ul {  
+
{{Template:KIT-Kyoto/Labdaily}}
-
  margin: 0;
+
{{Template:KIT-Kyoto-week11}}
-
  padding: 0;
+
</div></td></tr></table>
-
  list-style: none;
+
{{Template:KIT-Kyoto-1}}
-
}
+
-
+
-
ul.acc a{  
+
-
  display: block;
+
-
  height: 30px;
+
-
  line-height: 30px;
+
-
  color: #feffff;
+
-
}  
+
-
+
-
ul.acc {
+
-
  background-color: #185AAC;
+
-
}
+
-
+
-
ul.acc li ul {
+
-
  background-color: #A6B5E2;
+
-
}  
+
-
</style>
+
-
 
+
-
 
+
-
<script>var j$ = jQuery;
+
-
+
-
j$(function(){
+
-
  j$(".acc").each(function(){
+
-
    j$("li > a", this).each(function(index){
+
-
      var $this = j$(this);
+
-
+
-
      if(index > 0) $this.next().hide();
+
-
+
-
      $this.click(function(){
+
-
                var params = {height:"toggle", opacity:"toggle"};
+
-
        j$(this).next().animate(params).parent().siblings()
+
-
          .children("ul:visible").animate(params);
+
-
        return false;
+
-
      });
+
-
    });
+
-
  });
+
-
});
+
-
 
+
-
 
+
-
<ul class="acc">  
+
-
  <li><a href="1">category1</a>  
+
-
    <ul class="fxmn">  
+
-
      <li><a href="11">menu 1-1</a></li>  
+
-
      <li><a href="12">menu 1-2</a></li>
+
-
      <li><a href="13">menu 1-3</a></li>  
+
-
    </ul>  
+
-
  </li>
+
-
  <li><a href="2">category2</a>
+
-
    <ul class="fxmn">  
+
-
      <li><a href="21">menu 2-1</a></li>
+
-
      <li><a href="22">menu 2-2</a></li>
+
-
      <li><a href="23">menu 2-3</a></li>
+
-
      <li><a href="24">menu 2-4</a></li>
+
-
    </ul>  
+
-
  </li>  
+
-
  <li><a href="3">category3</a>
+
-
    <ul class="fxmn">
+
-
      <li><a href="31">menu 3-1</a></li>
+
-
      <li><a href="32">menu 3-2</a></li>  
+
-
      <li><a href="33">menu 3-3</a></li>
+
-
      <li><a href="34">menu 3-4</a></li>
+
-
      <li><a href="35">menu 3-5</a></li>  
+
-
    </ul>  
+
-
  </li>  
+
-
</ul>
+

Latest revision as of 01:20, 21 October 2010



Home > Notebook > Lab Note > Week8