Skip to content

Instantly share code, notes, and snippets.

@aleszu
Created August 7, 2017 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aleszu/ace4ec4e7cd7363e93740c435f68654b to your computer and use it in GitHub Desktop.
Save aleszu/ace4ec4e7cd7363e93740c435f68654b to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>Magnified map</title>
<link rel="stylesheet" href="css/magnify.css">
<script src="http://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="js/jquery.magnify.js"></script>
</head>
<body>
<img src="subwaymap.jpg" class="zoom" data-magnify-src="subwaymap-large.jpg" />
</body>
<script>
$(document).ready(function() {
$('.zoom').magnify();
});
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment