Difference between revisions of "Template:Example2"

Line 36: Line 36:
 
console.log(wgPageName);
 
console.log(wgPageName);
  
+
$("#"+  wgPageName.substring(wgPageName.indexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
$("#"+  wgPageName.substring(wgPageName.indexOf("/")+1, wgPageName.length ) + "_submenu").addClass("current_page");
+
  
 
// $("#Team_submenu").prev('.submenu_wrapper').fadeIn(400);
 
// $("#Team_submenu").prev('.submenu_wrapper').fadeIn(400);
Line 423: Line 422:
 
</div>  
 
</div>  
  
<div class="submenu_wrapper">
+
<div class="submenu_wrapper"  id="Team_submenu">
 
 
 
<a href="https://2017.igem.org/Team:Example2/Team">
 
<a href="https://2017.igem.org/Team:Example2/Team">
<div class="submenu_button" id="Team_submenu">
+
<div class="submenu_button" id="Team_page">
 
Team  
 
Team  
 
</div>
 
</div>
Line 432: Line 431:
  
 
<a href="https://2017.igem.org/Team:Example2/Collaborations">
 
<a href="https://2017.igem.org/Team:Example2/Collaborations">
<div class="submenu_button">
+
<div class="submenu_button"  id="Collaborations_page">
 
Collaborations
 
Collaborations
 
</div>
 
</div>
Line 449: Line 448:
  
 
<!-- project submenu -->
 
<!-- project submenu -->
<div class="submenu_wrapper" id="project_submenu">
+
<div class="submenu_wrapper">
 
 
 
<a href="https://2017.igem.org/Team:Example2/Description">
 
<a href="https://2017.igem.org/Team:Example2/Description">

Revision as of 22:37, 8 March 2017