Team:KAIST-Korea/side menu

From 2011.igem.org

(Difference between revisions)
Line 74: Line 74:
top:185px;
top:185px;
}
}
 +
 +
body
 +
{
 +
background:black;
 +
color:white;
 +
font-family:"Arial",Sans-serif;
 +
}
 +
a, a:hover, a:active, a:visited
 +
{
 +
color:white;
 +
text-decoration:none;
 +
}
 +
div.panel
 +
{
 +
color:white;
 +
font-family:"Arial",Sans-serif;
 +
z-index=200;
 +
position:relative;
 +
top:10px;left:0px;
 +
width: 975px ;
 +
height:535px;
 +
padding:5px;
 +
margin-bottom:25px;
 +
border:outset 5px #F0F0F0;
 +
display:none;
 +
}
 +
div.flip
 +
{
 +
position:absolute;
 +
top:0px;left:45%;
 +
z-index:250;
 +
cursor:pointer;
 +
}
 +
div.home
 +
{
 +
position:absolute;
 +
top:10px;left:580px;
 +
margin-right:20px;
 +
}
 +
div.caption
 +
{
 +
padding:5px;
 +
text-align:center;
 +
}
 +
</style>
 +
 +
<!--[if IE]>
 +
<style type="text/css">
 +
 +
</style>
 +
<![endif]--> 
 +
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
$(".flip").click(function(){
 +
    $(".panel").slideToggle("slow");
 +
  });
 +
});
 +
</script>
 +
</head>
 +
 +
<body>
 +
 +
<div class="panel">
 +
 +
 +
 +
 +
</html>
</html>

Revision as of 02:29, 8 July 2011