Team:Lethbridge Canada/nav bar script

From 2014hs.igem.org

Revision as of 15:57, 20 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(100); },function(){ $("#nav_bar_project_drawer").slideToggle(100); }); // NOTEBOOK DRAWER $("#nav_bar_notebook").hover(function(){ $("#nav_bar_notebook_drawer").slideToggle(100); },function(){ $("#nav_bar_notebook_drawer").slideToggle(100); }); // HP DRAWER $("#nav_bar_hp").hover(function(){ $("#nav_bar_hp_drawer").slideToggle(100); },function(){ $("#nav_bar_hp_drawer").slideToggle(100); }); // TEAM DRAWER $("#nav_bar_team").hover(function(){ $("#nav_bar_team_drawer").slideToggle(100); },function(){ $("#nav_bar_team_drawer").slideToggle(100); }); });