Bootstrap Skeleton
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.
by jnfsmile
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.0/bootstrap.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAsVrTJ1KBUM_SyHcna7o363Ru8mQoewbs&sensor=false">
</script>
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(31.776191,35.22882),
zoom: 5,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
mapOptions);
}
</script>
</head>
<body onload="initialize()">
<section>
<div data-toggle="collapse" data-target="#map">
Header
</div>
<div id="map" class="collapse in">
<div id="map_canvas"></div>
</div>
</section>
</body>
</html>
CSS
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
.container {
margin-top: 10px;
}
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
#map {height: 30em; width: 50%;max-height:100%;}
section { border: 1px solid; min-height: 5em;}
section>div:first-child{background:#DEDEDE; font-size:1.6em; font-weight:bold;color:#727272;padding-bottom:1em;margin-bottom:0.3em;}
#map_canvas img {
max-width: none;
}
#map_canvas label {
width: auto; display:inline;
}