Team:ITESM-Guadalajara
From 2014.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
//Menu moveto container on item click functionallity | //Menu moveto container on item click functionallity | ||
$('.menu-item').on('click', function(){ | $('.menu-item').on('click', function(){ | ||
- | $('.menu-item').removeClass(' | + | $('.menu-item').removeClass('subselected'); |
- | $(this).addClass(' | + | $(this).addClass('subselected'); |
if($(this).attr("data")=="#home"){ | if($(this).attr("data")=="#home"){ | ||
$('html, body').animate({ | $('html, body').animate({ | ||
Line 140: | Line 140: | ||
width:9%; | width:9%; | ||
} | } | ||
- | . | + | .subselected{ |
background-color: #258ecd; | background-color: #258ecd; | ||
} | } | ||
Line 171: | Line 171: | ||
<tr> | <tr> | ||
<td class="menu-logo">Team logo</td> | <td class="menu-logo">Team logo</td> | ||
- | <td data="#home" class="menu-item | + | <td data="#home" class="menu-item subselected">Home</td> |
<td data="#team" class="menu-item">Team</td> | <td data="#team" class="menu-item">Team</td> | ||
<td data="#teamprofile" class="menu-item">Official Team Profile</td> | <td data="#teamprofile" class="menu-item">Official Team Profile</td> |
Revision as of 01:25, 31 August 2014
Loading content, please wait...
Team logo | Home | Team | Official Team Profile | Project | Parts | Modeling | Notebook | Safety | Attributions |
Team section
Team Profile section
Project section
Parts section
Modeling section
Notebook section
Safety section
Attributions section