I am trying to make it so when i click outside the box the box scrolls up but i cant manage to get that done.
<style type='text/css'>
#content {
width: 400px;
border-left: 10px solid #FA802F;
border-right: 10px solid #FA802F;
text-align: center;
padding: 100px 0px 100px 0px;
display: none;
}
#bottom{
width: 420px;
height: 100px;
background-color: #FA802F;
-webkit-border-bottom-left-radius: 50px;
-moz-border-bottom-left-radius: 50px;
border-bottom-left-radius: 100px;
-webkit-border-bottom-right-radius: 50px;
-moz-border-bottom-right-radius: 50px;
border-bottom-right-radius: 100px;
}
</style>
<script type='text/javascript'>//<![CDATA[
$(window).load(function(){
$('#bottom').toggle(
function() {
$('#content').slideDown();
}, function() {
$('#content').slideUp();
});
});//]]>
</script>
</head>
<body>
<div id="content">CONTENT</div>
<div id="bottom"></div>
</body>