<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.10.1.js'></script>
<script type='text/javascript'>
$(window).load(function(){
$(document).ready(function () {
$('.show_hide').click(function () {
$('.slidingDiv').slideToggle('fast');
});
});
});
</script>
</head>
<body>
<div class="slidingDiv" style="display: none;">Sliding Div</div>
<button class="show_hide">Show/Hide</button>
</body>
</html>