(Prototype team template page) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 42: | Line 42: | ||
// select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color | ||
− | $("#"+ wgPageName.substring(wgPageName. | + | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page"); |
// now that the current_page class has been added to a menu item, make the submenu fade in | // now that the current_page class has been added to a menu item, make the submenu fade in | ||
Line 415: | Line 415: | ||
.igem_2017_menu_wrapper #display_menu_control { display:none; } | .igem_2017_menu_wrapper #display_menu_control { display:none; } | ||
#menu_content { display:block;} | #menu_content { display:block;} | ||
+ | .menu_button.direct_to_page {padding-left: 17px;} | ||
} | } | ||
Line 428: | Line 429: | ||
.igem_2017_menu_wrapper #display_menu_control { display:block; } | .igem_2017_menu_wrapper #display_menu_control { display:block; } | ||
#menu_content { display:none;} | #menu_content { display:none;} | ||
+ | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; } | ||
+ | .menu_bottom_padding {display:none;} | ||
+ | .menu_button.direct_to_page { padding-left: 36px; } | ||
} | } | ||
Line 462: | Line 466: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example"> |
<img src="http://placehold.it/350x150"> | <img src="http://placehold.it/350x150"> | ||
</a> | </a> | ||
Line 477: | Line 481: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example"> |
<div class="menu_button direct_to_page"> | <div class="menu_button direct_to_page"> | ||
HOME | HOME | ||
Line 491: | Line 495: | ||
<div class="submenu_wrapper" id="team_submenu"> | <div class="submenu_wrapper" id="team_submenu"> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Team"> |
<div class="submenu_button" id="Team_page"> | <div class="submenu_button" id="Team_page"> | ||
Team | Team | ||
Line 497: | Line 501: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Collaborations"> |
<div class="submenu_button" id="Collaborations_page"> | <div class="submenu_button" id="Collaborations_page"> | ||
Collaborations | Collaborations | ||
Line 517: | Line 521: | ||
<div class="submenu_wrapper"> | <div class="submenu_wrapper"> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Description"> |
<div class="submenu_button" id="Description_page"> | <div class="submenu_button" id="Description_page"> | ||
Description | Description | ||
Line 523: | Line 527: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Design"> |
<div class="submenu_button" id="Design_page"> | <div class="submenu_button" id="Design_page"> | ||
Design | Design | ||
Line 529: | Line 533: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Experiments"> |
<div class="submenu_button" id="Experiments_page"> | <div class="submenu_button" id="Experiments_page"> | ||
Experiments | Experiments | ||
Line 536: | Line 540: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Notebook"> |
<div class="submenu_button" id="Notebook_page"> | <div class="submenu_button" id="Notebook_page"> | ||
Notebook | Notebook | ||
Line 542: | Line 546: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/InterLab"> |
<div class="submenu_button" id="InterLab_page"> | <div class="submenu_button" id="InterLab_page"> | ||
InterLab | InterLab | ||
Line 548: | Line 552: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Contribution"> |
<div class="submenu_button" id="Contribution_page"> | <div class="submenu_button" id="Contribution_page"> | ||
Contribution | Contribution | ||
Line 554: | Line 558: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Model"> |
<div class="submenu_button" id="Model_page"> | <div class="submenu_button" id="Model_page"> | ||
Model | Model | ||
Line 560: | Line 564: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Results"> |
<div class="submenu_button" id="Results_page"> | <div class="submenu_button" id="Results_page"> | ||
Results | Results | ||
Line 567: | Line 571: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Demonstrate"> |
<div class="submenu_button" id="Demonstrate_page"> | <div class="submenu_button" id="Demonstrate_page"> | ||
Demonstrate | Demonstrate | ||
Line 573: | Line 577: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Improve"> |
<div class="submenu_button" id="Improve_page"> | <div class="submenu_button" id="Improve_page"> | ||
Improve | Improve | ||
Line 579: | Line 583: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Attributions"> |
<div class="submenu_button" id="Attributions_page"> | <div class="submenu_button" id="Attributions_page"> | ||
− | + | Attributions | |
</div> | </div> | ||
</a> | </a> | ||
Line 599: | Line 603: | ||
<div class="submenu_wrapper"> | <div class="submenu_wrapper"> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Parts"> |
<div class="submenu_button" id="Parts_page"> | <div class="submenu_button" id="Parts_page"> | ||
Parts | Parts | ||
Line 605: | Line 609: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Basic_Part"> |
<div class="submenu_button" id="Basic_Part_page"> | <div class="submenu_button" id="Basic_Part_page"> | ||
Basic Parts | Basic Parts | ||
Line 611: | Line 615: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Composite_Part"> |
<div class="submenu_button" id="Composite_Part_page"> | <div class="submenu_button" id="Composite_Part_page"> | ||
Composite Parts | Composite Parts | ||
Line 617: | Line 621: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Part_Collection"> |
<div class="submenu_button" id="Part_Collection_page"> | <div class="submenu_button" id="Part_Collection_page"> | ||
Part Collection | Part Collection | ||
Line 629: | Line 633: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Safety"> |
<div class="menu_button direct_to_page"> | <div class="menu_button direct_to_page"> | ||
SAFETY | SAFETY | ||
Line 648: | Line 652: | ||
<div class="submenu_wrapper"> | <div class="submenu_wrapper"> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/HP/Silver"> |
− | <div class="submenu_button" > | + | <div class="submenu_button" id="Silver_page"> |
Silver HP | Silver HP | ||
</div> | </div> | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/HP/Gold_Integrated"> |
− | <div class="submenu_button"> | + | <div class="submenu_button" id="Gold_Integrated_page"> |
Integrated and Gold | Integrated and Gold | ||
</div> | </div> | ||
Line 661: | Line 665: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Engagement"> |
<div class="submenu_button" id="Engagement_page"> | <div class="submenu_button" id="Engagement_page"> | ||
Public Engagement | Public Engagement | ||
Line 677: | Line 681: | ||
<div class="submenu_wrapper"> | <div class="submenu_wrapper"> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Applied_Design"> |
<div class="submenu_button" id="Applied_Design_page"> | <div class="submenu_button" id="Applied_Design_page"> | ||
Applied Design | Applied Design | ||
Line 683: | Line 687: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Entrepreneurship"> |
<div class="submenu_button" id="Entrepreneurship_page"> | <div class="submenu_button" id="Entrepreneurship_page"> | ||
Entrepreneurship | Entrepreneurship | ||
Line 689: | Line 693: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Hardware"> |
<div class="submenu_button" id="Hardware_page"> | <div class="submenu_button" id="Hardware_page"> | ||
Hardware | Hardware | ||
Line 695: | Line 699: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Measurement"> |
<div class="submenu_button" id="Measurement_page"> | <div class="submenu_button" id="Measurement_page"> | ||
Measurement | Measurement | ||
Line 701: | Line 705: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Model"> |
<div class="submenu_button" id="Model_page"> | <div class="submenu_button" id="Model_page"> | ||
Model | Model | ||
Line 707: | Line 711: | ||
</a> | </a> | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Plant"> |
<div class="submenu_button" id="Plant_page"> | <div class="submenu_button" id="Plant_page"> | ||
Plant | Plant | ||
Line 714: | Line 718: | ||
− | <a href="https://2017.igem.org/Team: | + | <a href="https://2017.igem.org/Team:Example/Software"> |
<div class="submenu_button" id="Software_page"> | <div class="submenu_button" id="Software_page"> | ||
Software | Software | ||
Line 722: | Line 726: | ||
</div> | </div> | ||
− | <a href="https://igem.org/2017_Judging_Form?team= | + | <a href="https://igem.org/2017_Judging_Form?team=Example"> |
<div class="menu_button direct_to_page"> | <div class="menu_button direct_to_page"> | ||
JUDGING FORM | JUDGING FORM | ||
Line 744: | Line 748: | ||
<!-- start of content --> | <!-- start of content --> | ||
<div class="igem_2017_content_wrapper"> | <div class="igem_2017_content_wrapper"> | ||
+ | <h1>Example</h1> |
Latest revision as of 18:59, 26 March 2018