Team:Sevilla/template1

From 2011.igem.org

(Difference between revisions)
(ADGSFDGS<ADGS<DG)
Line 11: Line 11:
<!--=====================================MENU ACORDEON 2 ======================================= -->
<!--=====================================MENU ACORDEON 2 ======================================= -->
-
<div id="serach" >Search</div>
 
-
 
<div id="firstpane" class="menu_list">
<div id="firstpane" class="menu_list">
   <p class="menu_head"><a href="#">Home</a></p>
   <p class="menu_head"><a href="#">Home</a></p>
Line 21: Line 19:
     <div class="menu_body">
     <div class="menu_body">
         <a href="#">Components</a>
         <a href="#">Components</a>
 +
        <a href="#">Sponsors</a> 
     </div>
     </div>
   <p class="menu_head">The Project</p>
   <p class="menu_head">The Project</p>
Line 38: Line 37:
<p class="menu_head">Attributions</p>
<p class="menu_head">Attributions</p>
     <div class="menu_body">
     <div class="menu_body">
-
 
          
          
     </div>
     </div>
Line 78: Line 76:
</style>
</style>
<script type="text/javascript">
<script type="text/javascript">
-
$("# firstpanep.menu_head").click(function()
+
$("#firstpane p.menu_head").click(function()
{
{
   $(this).css({backgroundImage:"url(down.png)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
   $(this).css({backgroundImage:"url(down.png)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
   $(this).siblings().css({backgroundImage:"url(left.png)"});
   $(this).siblings().css({backgroundImage:"url(left.png)"});
-
});
 
-
 
-
$("# serach").click(function()
 
-
{
 
-
  $(# search-controls).css("display","block");
 
});
});
</script>
</script>
Line 115: Line 108:
</style>
</style>
 +

Revision as of 01:14, 15 May 2011