Team:Lethbridge Canada/nav bar script

From 2014hs.igem.org

Revision as of 20:08, 15 June 2014 by Dinula98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$(document).ready(function(){ // PROJECT DRAWER $("#nav_bar_project").hover(function(){ $("#nav_bar_project_drawer").slideToggle(200); },function(){ $("#nav_bar_project_drawer").slideToggle(200); }); // NOTEBOOK DRAWER $("#nav_bar_notebook").hover(function(){ $("#nav_bar_notebook_drawer").slideToggle(200); },function(){ $("#nav_bar_notebook_drawer").slideToggle(200); }); // HP DRAWER $("#nav_bar_hp").hover(function(){ $("#nav_bar_hp_drawer").slideToggle(200); },function(){ $("#nav_bar_hp_drawer").slideToggle(200); }); // TEAM DRAWER $("#nav_bar_team").hover(function(){ $("#nav_bar_team_drawer").slideToggle(200); },function(){ $("#nav_bar_team_drawer").slideToggle(200); }); });