我有一个包含主页、患者、报告等的菜单。这个菜单应该出现在每一页中,并且应该出现在每一页的右上角。我知道如何设计这个。现在我想把它隐藏起来,它应该只在鼠标放在页面右上角时才显示。请大家告诉我怎么做。如果你想要菜单栏的代码,那么这是这个
<html class="no-js" lang="en-US">
<head>
<style type="css/text">
body{
overflow:hidden;
}
</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> Home</title>
<meta name="author" content="jQuery Foundation - jquery.org">
<meta name="description" content="jQuery: The Write Less, Do More, JavaScript Library">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="base.css">
<script src="jquery.min.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<meta name="generator" content="WordPress 3.5.1" />
</head>
<body >
<header>
<section id="global-nav">
<nav>
<div class="constrain">
<ul class="links">
<li><a href="template.html" target="content">Home</a></li>
<li><a href="createpatient.html" target="content">Patient</a></li>
<li><a href="template.html" target="content">Appointments</a></li>
<li><a href="template1.html" target="content">Reports</a></li>
<li><a href="login.html" target="content">logout</a></li>
</ul>
</div>
</nav>
</section>
</header>
</body>
</html>