Difference between revisions of "AJ:Bars Box"
(85 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | + | <!-- start of css --> | |
− | + | <style type="text/css"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | #bars_box { | ||
+ | display:block; | ||
+ | } | ||
− | + | /*Main page right column, the on page menu will be placed here */ | |
− | + | #menu_BarsBox{ | |
− | } | + | width: 180px; |
+ | background-color: #fff; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
+ | #menu_BarsBox h4 { | ||
+ | color: #656459; | ||
+ | padding: 5px 10px; | ||
+ | padding-left: 5px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | + | #menu_BarsBox a { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | + | #menu_BarsBox ul {background: #ffffff;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*Styling for the the list item */ | |
+ | #menu_BarsBox ul li{ | ||
+ | |||
+ | padding-left: 10px; | ||
+ | margin-bottom: -1px; | ||
+ | margin-left: 0px; | ||
+ | display:block; | ||
+ | border: 1px solid #ccc; | ||
+ | border-right: 0px solid white; | ||
+ | border-left: 0px solid white; | ||
− | + | height:20px; | |
− | + | width: 143px; | |
− | + | ||
− | + | font-size: 11px; | |
− | + | font-weight: bold; | |
− | + | color: #565656; | |
− | + | list-style: none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /* | + | /*animate transition */ |
− | . | + | -webkit-transition: background 0.2s linear; |
− | + | -moz-transition: background 0.2s linear; | |
− | } | + | -ms-transition: background 0.2s linear; |
+ | -o-transition: background 0.2s linear; | ||
+ | transition: background 0.2s linear; | ||
+ | } | ||
− | + | /*For the list item, changes the color on hover.*/ | |
− | + | #menu_BarsBox ul li:hover{ | |
− | + | background-color:#c1dfa6; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*styling for the menu header*/ | |
− | + | .accordion-header, .accordion-header_noaction { | |
− | + | background: #f2f2f2; | |
− | + | font-family: "Arial", Gadget, sans-serif; | |
− | + | border: 1px solid #ccc; | |
− | + | cursor: pointer; | |
− | + | /*animate transition */ | |
− | + | -webkit-transition: background 0.2s linear; | |
− | + | -moz-transition: background 0.2s linear; | |
− | + | -ms-transition: background 0.2s linear; | |
− | } | + | -o-transition: background 0.2s linear; |
+ | transition: background 0.2s linear; | ||
+ | } | ||
− | + | .accordion-header_noaction:hover { | |
− | + | background: #c1dfa6; | |
− | + | } | |
− | + | ||
− | + | ||
− | } | + | /* switches background color to green */ |
+ | .active-header { | ||
+ | background: #d3d3d3; | ||
+ | } | ||
+ | |||
+ | /* switches background color to light green */ | ||
+ | .active-header:hover { | ||
+ | background: #c1dfa6; | ||
+ | } | ||
− | + | /* switches background color to default gray */ | |
− | + | .inactive-header { | |
+ | background: #f2f2f2; | ||
+ | } | ||
+ | /* switches background color to light green */ | ||
+ | .inactive-header:hover { | ||
+ | background: #c1dfa6; | ||
+ | } | ||
+ | |||
+ | /* styling for the submenus */ | ||
+ | .accordion-content { | ||
+ | display: none; | ||
+ | background: #ffffff; | ||
+ | border: 1px solid #cccccc; | ||
+ | border-top: 0; | ||
+ | float: left; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | </style> | ||
+ | <!-- end of css --> | ||
Line 122: | Line 123: | ||
$('.accordion-header').toggleClass('inactive-header'); | $('.accordion-header').toggleClass('inactive-header'); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | // The Accordion Effect | |
$('.accordion-header').click(function () { | $('.accordion-header').click(function () { | ||
if($(this).is('.inactive-header')) { | if($(this).is('.inactive-header')) { | ||
Line 161: | Line 146: | ||
<!-- menu --> | <!-- menu --> | ||
− | <div id=" | + | <div id="menu_BarsBox"> |
− | + | ||
− | + | ||
− | + | ||
+ | <h5 style="margin:auto;text-align:center; padding:10px 0px;"> 2015 Navigation Menu </h5> | ||
<a href="https://2015.igem.org/Main_Page"><h4 class="accordion-header_noaction">Home</h4></a> | <a href="https://2015.igem.org/Main_Page"><h4 class="accordion-header_noaction">Home</h4></a> | ||
− | |||
<h4 class="accordion-header">About iGEM</h4> | <h4 class="accordion-header">About iGEM</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://igem.org/About"><li>What is iGEM?</li></a> | |
− | + | <a href="https://igem.org/Previous_iGEM_Competitions"><li>Previous Competitions</li></a> | |
− | + | <a href="https://igem.org/Contact"><li>iGEM Headquarters </li></a> | |
− | <li><a href="https://igem.org/Press_Kit">Press Kit</ | + | <a href="https://2015.igem.org/IGEM_Publicity"><li>Publicity</li></a> |
− | + | <a href="https://igem.org/Press_Kit"><li>Press Kit</li></a> | |
− | + | <a href="https://igem.org/Newsletters"><li>Join our Newsletter</li></a> | |
+ | <a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a> | ||
+ | <a href="http://blog.igem.org/"><li>iGEM blog</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
− | + | ||
+ | <h4 class="accordion-header">Starting a Team</h4> | ||
+ | <div class="accordion-content"> | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Starting_a_Team"><li>Starting a Team</li></a> | ||
+ | <a href="https://2015.igem.org/Funding"><li>Funding</li></a> | ||
+ | <a href="https://2015.igem.org/Navigating_iGEM"><li>Navigating iGEM</li></a> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <h4 class="accordion-header">Registration & Fees</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://igem.org/IGEM_2015_Registration"><li>Register Now </li></a> | |
− | + | <a href="https://2015.igem.org/Registration"><li>How to Register</li></a> | |
+ | <a href="https://2015.igem.org/Fees"><li>Fees</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
Line 191: | Line 187: | ||
<h4 class="accordion-header">Calendar</h4> | <h4 class="accordion-header">Calendar</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Calendar_of_Events"><li>Calendar of Events</li></a> | |
</ul> | </ul> | ||
</div> | </div> | ||
Line 198: | Line 194: | ||
<h4 class="accordion-header">Requirements</h4> | <h4 class="accordion-header">Requirements</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Requirements"><li>Requirements</li></a> | |
− | + | <a href="https://2015.igem.org/Wiki_Requirements"><li>Wiki Requirements</li></a> | |
+ | <a href="https://2015.igem.org/Sections"><li>Sections</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
Line 206: | Line 203: | ||
<h4 class="accordion-header">Tracks</h4> | <h4 class="accordion-header">Tracks</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Tracks"><li>Complete List</li></a> | |
− | + | <a href="https://2015.igem.org/Tracks#New_Tracks"><li>New Tracks</li></a> | |
− | + | <a href="https://2015.igem.org/Tracks/HighSchool"><li>High School</li></a> | |
+ | <a href="https://igem.org/Team_Tracks?year=2015"><li>Team Tracks</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
− | <h4 class="accordion-header"> | + | <h4 class="accordion-header">Parts</h4> |
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="http://parts.igem.org/Help:Registry-at-a-Glance"><li>Registry At-a-Glance</li></a> | |
− | + | <a href="https://2015.igem.org/DNA_Distribution"><li>2015 DNA Distribution</li></a> | |
− | + | ||
− | + | ||
− | + | ||
</ul> | </ul> | ||
− | </div> | + | </div> |
− | <h4 class="accordion-header"> | + | <h4 class="accordion-header">Resources</h4> |
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Teams_By_The_Numbers"><li>iGEM By The Numbers</li></a> | |
− | <li><a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Telling_Your_Story"><li>Telling Your Story</li></a> |
+ | <a href="https://2015.igem.org/Keywords"><li>Keywords</li></a> | ||
+ | <a href="https://2015.igem.org/Troubleshooting"><li>Cloning Help</li></a> | ||
+ | <a href="https://2015.igem.org/Visa_help"><li>Visa Help</li></a> | ||
+ | <a href="https://2015.igem.org/FundingOpportunities"><li> Funding Opportunities</li></a> | ||
+ | <a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a> | ||
+ | <a href="https://2015.igem.org/Submitting_a_Part"><li>Submitting a Part</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | |||
<h4 class="accordion-header">Giant Jamboree</h4> | <h4 class="accordion-header">Giant Jamboree</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul class=" | + | <ul> |
− | <li><a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Giant_Jamboree"><li>General Information</li></a> |
+ | <a href="https://2015.igem.org/Giant_Jamboree/Career_Fair"><li>Career Fair</li></a> | ||
+ | <a href="https://igem.org/Sponsorship"><li>Sponsorship Opportunities</li></a> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | <h4 class="accordion-header">Human Practices</h4> | ||
+ | <div class="accordion-content"> | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Practices_Hub"><li>Practices Hub </li></a> | ||
+ | <a href="https://2015.igem.org/Judging/Awards#SpecialPrizes"><li>Human Practices Awards</li></a> | ||
+ | <a href="https://2015.igem.org/Tracks/Policy_Practices"><li>Policy & Practices Track</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
Line 241: | Line 254: | ||
<h4 class="accordion-header">Safety</h4> | <h4 class="accordion-header">Safety</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Safety"><li>Safety Overview</li></a> | |
− | + | <a href="https://2015.igem.org/Safety/Risk_Groups"><li>Risk Groups</li></a> | |
− | + | <a href="https://2015.igem.org/Safety/WhiteList"><li>White List</li></a> | |
− | + | ||
− | + | ||
− | + | ||
</ul> | </ul> | ||
</div> | </div> | ||
Line 254: | Line 264: | ||
<h4 class="accordion-header">Judging</h4> | <h4 class="accordion-header">Judging</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Judging"><li>Overview</li></a> | |
− | + | <a href="https://2015.igem.org/Judging/Awards"><li>Awards</li></a> | |
− | + | <a href="https://2015.igem.org/Judging/Medals"><li>Medals</li></a> | |
− | + | <a href="https://2015.igem.org/Poster"><li>Poster Guidelines</li></a> | |
− | + | <a href="https://2015.igem.org/Judging#forJudges"><li> For Judges </li></a> | |
+ | <a href="https://2015.igem.org/Committees"><li> For Committees </li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
Line 265: | Line 276: | ||
<h4 class="accordion-header">Community</h4> | <h4 class="accordion-header">Community</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://2015.igem.org/Meetups"><li>Meetups</li></a> | |
− | + | <a href="https://2015.igem.org/Community"><li>Community page</li></a> | |
</ul> | </ul> | ||
</div> | </div> | ||
Line 274: | Line 285: | ||
<h4 class="accordion-header">2015 Teams</h4> | <h4 class="accordion-header">2015 Teams</h4> | ||
<div class="accordion-content"> | <div class="accordion-content"> | ||
− | <ul | + | <ul> |
− | + | <a href="https://igem.org/Team_List?year=2015"><li>Team List</li></a> | |
+ | <a href="https://igem.org/Team_Wikis?year=2015"><li>Team Wikis</li></a> | ||
+ | <a href="http://www.google.com/maps/d/u/0/viewer?mid=z_CMSHmDgyfc.kShytm5hSTEk"><li>World Map</li></a> | ||
+ | |||
</ul> | </ul> | ||
</div> | </div> | ||
+ | |||
+ | <h4 class="accordion-header">Sponsors</h4> | ||
+ | <div class="accordion-content"> | ||
+ | <ul> | ||
+ | <a href="https://igem.org/Sponsors"><li>iGEM 2015 Sponsors</li></a> | ||
+ | <a href="https://igem.org/Sponsorship"><li>Sponsor iGEM</li></a> | ||
+ | <a href="https://2015.igem.org/Partner_Special_Offers"><li>Partner Special Offers</li></a> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | |||
</div> <!-- this closes the menu div --> | </div> <!-- this closes the menu div --> | ||
</html> | </html> |
Latest revision as of 14:29, 8 September 2015