Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Last active August 29, 2015 14:05
Show Gist options
  • Save niraj-shah/0053521d82e2e28dd061 to your computer and use it in GitHub Desktop.
Save niraj-shah/0053521d82e2e28dd061 to your computer and use it in GitHub Desktop.
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