Allen850413 (Talk | contribs) |
Allen850413 (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{Template:CCU_Taiwan/css}} | {{Template:CCU_Taiwan/css}} | ||
− | |||
<html> | <html> | ||
<script> | <script> | ||
Line 6: | Line 5: | ||
$("#Home").hover(function(){ | $("#Home").hover(function(){ | ||
− | $("#sub_home").stop(true,false,true).slideToggle(300); | + | $("#sub_home").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Project").hover(function(){ | $("#Project").hover(function(){ | ||
− | $("#sub_project").stop(true,false,true).slideToggle(300); | + | $("#sub_project").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Parts").hover(function(){ | $("#Parts").hover(function(){ | ||
− | $("#sub_parts").stop(true,false,true).slideToggle(300); | + | $("#sub_parts").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Modeling").hover(function(){ | $("#Modeling").hover(function(){ | ||
− | $("#sub_modeling").stop(true,false,true).slideToggle(300); | + | $("#sub_modeling").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Drylab").hover(function(){ | $("#Drylab").hover(function(){ | ||
− | $("#sub_drylab").stop(true,false,true).slideToggle(300); | + | $("#sub_drylab").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Human_Practice").hover(function(){ | $("#Human_Practice").hover(function(){ | ||
− | $("#sub_human_practice").stop(true,false,true).slideToggle(300); | + | $("#sub_human_practice").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#Notebook").hover(function(){ | $("#Notebook").hover(function(){ | ||
− | $("#sub_notebook").stop(true,false,true).slideToggle(300); | + | $("#sub_notebook").stop(true,false,true).slideToggle(300).css("opacity","0.8"); |
}); | }); | ||
$("#home_button").hover(function(){ | $("#home_button").hover(function(){ | ||
− | $(this). | + | $(this).css("background","black") |
},function(){ | },function(){ | ||
− | $(this).css("background","#F96784") | + | $(this).css("background","#F96784") |
}); | }); | ||
Revision as of 03:44, 15 August 2018