Create a gist now

Instantly share code, notes, and snippets.

@niraj-shah /map.html
Last active Aug 29, 2015

What would you like to do?
Cage Cricket "Where to Play" Map Embed Code
<div id="cc-map"></div>
<!-- uses latest version of jQuery (v2.1.1) -->
<script src="http://www.cagecricket.com/wp-content/plugins/cage-cricket/map-embed.php"></script>
<!-- jQuery-less version -->
<script src="http://www.cagecricket.com/wp-content/plugins/cage-cricket/map-embed.php?jquery=false"></script>
/* height must be set for embed to work */
#cc-map {
width: 100%;
height: 400px;
}
/* Fix for responsive images */
#cc-map img {
max-width: none;
background: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment