diff --git a/homepageV2.js b/homepageV2.js index f6d22ab..3ceb2df 100644 --- a/homepageV2.js +++ b/homepageV2.js @@ -6,40 +6,41 @@ $(function(){ $('#chan').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#4chanList').addClass('active').show('600'); + } - $('#4chanList').addClass('active').show('600'); }); $('#music').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#musicList').addClass('active').show('600'); } - $('#musicList').addClass('active').show('600'); }); $('#school').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#schoolList').addClass('active').show('600'); } - $('#schoolList').addClass('active').show('600'); }); $('#work').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#workList').addClass('active').show('600'); } - $('#workList').addClass('active').show('600'); }); $('#resources').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#resourceList').addClass('active').show('600');; } - $('#resourceList').addClass('active').show('600'); }); $('#checklist').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); + $('#todoList').addClass('active').show('600'); } - $('#todoList').addClass('active').show('600'); }); //part 3 diff --git a/index.html b/index.html index 0110423..8dc94c6 100644 --- a/index.html +++ b/index.html @@ -79,7 +79,7 @@
  • CSS
  • Stack
  • Unix
  • -
  • Path
  • +
  • Path
  • Studies