Difference between revisions of "Template:SCUT-China"
Line 138: | Line 138: | ||
width:100%; | width:100%; | ||
background-color:#fff; | background-color:#fff; | ||
− | + | border-bottom:3px solid #fff; | |
opacity:0.95; | opacity:0.95; | ||
text-align:center; | text-align:center; | ||
position:fixed; | position:fixed; | ||
− | top: | + | height:60px; |
+ | |||
+ | z-index:99999; | ||
+ | top:16px; | ||
font-size:16px; | font-size:16px; | ||
} | } | ||
Line 151: | Line 154: | ||
position:relative; | position:relative; | ||
height: 60px; | height: 60px; | ||
+ | } | ||
+ | |||
+ | p{ | ||
+ | line-height:20px; | ||
+ | word-spacing:5px; | ||
+ | letter-spacing:1px; | ||
+ | text-indent:2em; | ||
} | } | ||
Line 308: | Line 318: | ||
</nav> | </nav> | ||
<!-- End of menu --> | <!-- End of menu --> | ||
+ | |||
+ | <script> | ||
+ | $(function(){ | ||
+ | |||
+ | $("#menuNav").children("li").mouseenter(function(){ | ||
+ | $(this).children("ul").stop(true); | ||
+ | $(this).children("ul").fadeIn(300); | ||
+ | //$(this).children("a").css("color","#e5004f"); | ||
+ | }); | ||
+ | |||
+ | $("#menuNav").children("li").mouseleave(function(){ | ||
+ | $(this).children("ul").fadeOut(300); | ||
+ | //$(this).children("a").css("color","#343434"); | ||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 17:20, 13 September 2015