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('selected');
+
           $('.menu-item').removeClass('subselected');
-
           $(this).addClass('selected');
+
           $(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%;
   }
   }
-
     .selected{
+
     .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 selected">Home</td>
+
<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 section
Team Profile section
Project section
Parts section
Modeling section
Notebook section
Safety section
Attributions section

Click here to edit this page!