Created
August 7, 2017 19:20
-
-
Save aleszu/ace4ec4e7cd7363e93740c435f68654b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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