This commit is contained in:
Max Meyers 2016-11-29 22:33:06 -05:00
parent d15383cd35
commit 07d1d822d4
2 changed files with 8 additions and 7 deletions

View File

@ -6,40 +6,41 @@ $(function(){
$('#chan').mouseover(function(){ $('#chan').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#4chanList').addClass('active').show('600');
} }
$('#4chanList').addClass('active').show('600');
}); });
$('#music').mouseover(function(){ $('#music').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#musicList').addClass('active').show('600');
} }
$('#musicList').addClass('active').show('600');
}); });
$('#school').mouseover(function(){ $('#school').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#schoolList').addClass('active').show('600');
} }
$('#schoolList').addClass('active').show('600');
}); });
$('#work').mouseover(function(){ $('#work').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#workList').addClass('active').show('600');
} }
$('#workList').addClass('active').show('600');
}); });
$('#resources').mouseover(function(){ $('#resources').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#resourceList').addClass('active').show('600');;
} }
$('#resourceList').addClass('active').show('600');
}); });
$('#checklist').mouseover(function(){ $('#checklist').mouseover(function(){
if($('.content').hasClass('active')){ if($('.content').hasClass('active')){
$('.content').removeClass('active').hide(); $('.content').removeClass('active').hide();
$('#todoList').addClass('active').show('600');
} }
$('#todoList').addClass('active').show('600');
}); });
//part 3 //part 3

View File

@ -79,7 +79,7 @@
<a href="https://css-tricks.com/"><li>CSS</li></a> <a href="https://css-tricks.com/"><li>CSS</li></a>
<a href="http://stackoverflow.com/"><li>Stack</li></a> <a href="http://stackoverflow.com/"><li>Stack</li></a>
<a href="https://www.dropbox.com/sh/dcf2gui0jkvucxq/AACYc8QhwBgP4zoU4ndsauFda?dl=0"><li>Unix</li></a> <a href="https://www.dropbox.com/sh/dcf2gui0jkvucxq/AACYc8QhwBgP4zoU4ndsauFda?dl=0"><li>Unix</li></a>
<a href="bento.io"><li>Path</li></a> <a href="https://bento.io"><li>Path</li></a>
<a href="https://www.smashingmagazine.com/"><li>Studies</li></a> <a href="https://www.smashingmagazine.com/"><li>Studies</li></a>
</ul> </ul>
</div> </div>