Team:Hong Kong HKUST/notebook

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("ul.first...")
Line 1: Line 1:
-
<html>
+
<html>  
-
<head>
+
<meta charset="utf-8" />
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
+
  <title>jQuery UI Accordion - Default functionality</title>
-
</script>
+
  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
-
 
+
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
-
<script type="text/javascript">
+
  <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
-
$(document).ready(function(){
+
  <link rel="stylesheet" href="/resources/demos/style.css" />
-
$("ul.first > li").hover(function(){
+
  <script>
-
$(this).find("ul").stop().fadeToggle(10);
+
   $(function() {
-
});
+
     $( "#accordion" ).accordion();
-
});
+
-
</script>
+
-
 
+
-
<script>
+
-
   $(document).ready(function()
+
-
  {
+
-
  $('#menubar').mouseover(function(){
+
-
     $('#menubar').stop().animate({top:"0px"},500);
+
   });
   });
-
   $('#menubar').mouseleave(function(){
+
   </script>
-
    $('#menubar').stop().animate({top:"-20px"},500);
+
-
  });
+
-
  $('#menubar.right-menu').mouseover(function(){
+
-
    $('#menubar.right-menu').stop().animate({top:"0px"},500);
+
-
  });
+
-
  $('#menubar.right-menu').mouseleave(function(){
+
-
    $('#menubar.right-menu').stop().animate({top:"-20px"},500);
+
-
  });
+
-
});
+
-
</script>
+
-
 
+
-
 
+
-
<style type="text/css">
+
-
div.menu
+
-
{
+
-
width:100%;
+
-
}
+
-
 
+
-
.menu ul,li
+
-
{
+
-
margin:0;
+
-
padding:0;
+
-
list-style:none;
+
-
width:100%;
+
-
}
+
-
 
+
-
 
+
-
 
+
-
ul.first>li
+
-
{
+
-
float:left;
+
-
width:16.5%;
+
-
}
+
-
ul.first>li>a:link,ul.first>li>a:visited
+
-
{
+
-
display:block;
+
-
font-weight:bold;
+
-
color:#494042;
+
-
background-color:#35bb91;
+
-
text-align:center;
+
-
padding:3%;
+
-
text-decoration:none;
+
-
text-transform:uppercase;
+
-
}
+
-
 
+
-
ul.first>li>a:hover,ul.first>li>a:active
+
-
{
+
-
background-color:#7A991A;
+
-
}
+
-
 
+
-
ul.first>li>ul
+
-
{
+
-
display:none;
+
-
width:100%;
+
-
}
+
-
 
+
-
ul.first>li>ul>li>a:link,ul.first>li>ul>li>a:visited
+
-
{
+
-
display:block;
+
-
font-weight:bold;
+
-
color:#494042;
+
-
background-color:#8ff5d5;
+
-
text-align:center;
+
-
padding:3%;
+
-
text-decoration:none;
+
-
text-transform:uppercase;
+
-
}
+
-
 
+
-
ul.first>li>ul>li>a:hover,ul.first>li>ul>li>a:active
+
-
{
+
-
background-color:#B26B00;
+
-
}
+
-
.menu
+
-
{
+
-
position:absolute;
+
-
left:-8px;
+
-
top:140px;
+
-
}
+
-
#banner
+
-
{
+
-
position:absolute;
+
-
left:-8px;
+
-
top:15px;
+
-
}
+
-
 
+
-
 
+
-
#copyright
+
-
{
+
-
position:absolute;
+
-
right:320px;
+
-
top:700px;
+
-
}
+
-
#globalWrapper
+
-
{
+
-
background-color:#b9b2a0;
+
-
height:800px;
+
-
}
+
-
#content
+
-
{
+
-
background-color:#b9b2a0;
+
-
border-color:#b9b2a0;
+
-
 
+
-
}
+
-
#menubar
+
-
{
+
-
background-color:#EEECEC;
+
-
opacity:0.8;
+
-
top:-4px;
+
-
width:360px;
+
-
height:23px;
+
-
position:absolute;
+
-
top:-20px;
+
-
}
+
-
#menubar ul li a
+
-
{
+
-
color:#8D1919;
+
-
}
+
-
#menubar.right-menu
+
-
{
+
-
background-color:#EEECEC;
+
-
opacity:0.8;
+
-
top:-4px;
+
-
width:240px;
+
-
height:23px;
+
-
position:absolute;
+
-
top:-20px;
+
-
}
+
-
.right-menu li a
+
-
{
+
-
color:#8D1919; 
+
-
background-color:#EEECEC;
+
-
}
+
-
 
+
-
#p-logo
+
-
{
+
-
height:0px;
+
-
visibility:hidden;
+
-
}
+
-
#top-section
+
-
{
+
-
height:0px;
+
-
}
+
-
#footer-box
+
-
{
+
-
height:0px;
+
-
display:none;
+
-
visbility:hidden;
+
-
}
+
-
#catlinks
+
-
{
+
-
border-color:#b9b2a0;
+
-
background-color:#b9b2a0;
+
-
}
+
-
.firstHeading
+
-
{
+
-
visibility:hidden
+
-
}
+
-
 
+
-
 
+
-
</style>
+
-
 
+
</head>
</head>
-
 
-
 
<body>
<body>
-
<h3><center><div style="height:121px;width:965px;"><img src="https://static.igem.org/mediawiki/2013/5/5a/Banner_gear.png" id="banner" style="height:121px;width:965px;align:middle;"></div></center></h3>
+
-
 
+
<div id="accordion">
-
<div id="copyright">© Copyright HKUST iGEM Team 2013, All Rights Reserved<br><br><br></div>
+
  <h3>Section 1</h3>
-
<div class="menu">
+
  <div>
-
 
+
    <p>
-
<ul class="first">
+
    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
-
 
+
    ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST">Home</a></li>
+
    amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
-
 
+
    odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/team">Team</a>
+
    </p>
-
<ul>
+
  </div>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/members">Members</a></li>
+
  <h3>Section 2</h3>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/advisors">Advisors</a></li>
+
  <div>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/instructors">Instructors</a></li>
+
    <p>
-
</ul>
+
    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
-
</li>
+
    purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
-
 
+
    velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/project">Project</a>
+
    suscipit faucibus urna.
-
<ul>
+
    </p>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/abstract">Abstract(Details)</a></li>
+
  </div>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/modelling">Modelling</a></li>
+
  <h3>Section 3</h3>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/characterization">Characterization</a></li>
+
  <div>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/parts">Parts</a></li>
+
    <p>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/datapage">Data Page</a></li>
+
    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/results">Results</a></li>
+
    Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
-
</ul>
+
    ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
-
</li>
+
    lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
-
 
+
    </p>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/wetlab">Wetlab</a>
+
    <ul>
-
<ul>
+
      <li>List item one</li>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/notebook">Notebook</a></li>
+
      <li>List item two</li>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/protocols">Protocols</a></li>
+
      <li>List item three</li>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/safety">Safety</a></li>
+
    </ul>
-
</ul>
+
  </div>
-
</li>
+
  <h3>Section 4</h3>
-
 
+
  <div>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/achievement">Achievement</a>
+
    <p>
-
<ul>
+
    Cras dictum. Pellentesque habitant morbi tristique senectus et netus
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/medalreqeirements">Medal Requirements</a></li>
+
    et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/prizes">Prizes</a></li>
+
    faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
-
</ul>
+
    mauris vel est.
-
</li>
+
    </p>
-
 
+
    <p>
-
<li><a href="https://2013.igem.org/Team:Hong_Kong_HKUST/humanpractice">Human Practice</a></li>
+
    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
-
 
+
    Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
-
</ul>
+
    inceptos himenaeos.
 +
    </p>
 +
  </div>
</div>
</div>
-
 
-
 
-
 
-
</body>
 
-
 
</html>
</html>

Revision as of 10:49, 15 August 2013

jQuery UI Accordion - Default functionality

Section 1

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

Section 2

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

Section 3

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

  • List item one
  • List item two
  • List item three

Section 4

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.