<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EasyZoom - Demo</title>
<script type="text/javascript" src="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/js/vendor/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/js/jquery.easyzoom-modified.min.js"></script>
<!-- Inline javascript used for easyzoom demo -->
<script type="text/javascript">
$(document).ready(function() {
// activate the jQuery plugin
$("div.zoom").easyZoom({
selector: {
preview: "#preview-zoom",
window: "#window-zoom"
}
});
});
</script>
<!-- Inline cascading stylesheet rules -->
<style type="text/css">
#site-wrapper {
font-family: sans-serif;
margin:auto;
width:800px;
color:#333333;
}
#demo {
width:400px;
}
#window-zoom {
width:400px;
height:400px;
border:2px solid #36393D;
background-color:#FFFFFF;
position:absolute;
overflow:hidden;
}
#window-zoom img {
position:relative;
}
#container-zoom {
position:relative;
left:404px;
top:-229px;
}
#preview-zoom {
position:absolute;
border:1px solid #4C91C0;
background-color:rgba(76,145,192,0.5);
display:none;
z-index:999;
}
a.no-underline {
text-decoration:none;
}
a, a:visited, a:hover, a:active {
color: #4C91C0;
}
a:hover {
text-decoration:underline;
}
</style>
</head>
<body style="background-color:#EEEEEE;">
<div id="site-wrapper">
<h1>EasyZoom jQuery - <small>image zoom plugin (modified)</small></h1>
<!-- HTML layout used for jQuery plugin easyzoom -->
<div id="demo" class="zoom" data-image="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/img/demo.jpg">
<img src="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/img/demo-resized.jpg">
<div id="preview-zoom"></div>
</div>
<div id="container-zoom">
<div id="window-zoom" style="display:none;"></div>
</div>
<span><small>(Check out this demo while hovering the image above)</small></span>
<p>EasyZoom is an basic, lightweight <a class="no-underline" href="http://www.jquery.com/" target="_blank">jQuery</a> image zoom plugin based on the previous work by Alen Grakalic and Matt Hinchliffe. This modified version of EasyZoom includes a feature to show a preview of the magnified image. The original gallery extension and mobile device support has been removed. </p>
<h2>Download <small>version 1.0.7</small></h2>
<ul>
<li><a class="no-underline" href="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/js/jquery.easyzoom-modified.js">Developement Version</a></li>
<li><a class="no-underline" href="https://raw.github.com/marvinGitHub/EasyZoom/master/public/static/js/jquery.easyzoom-modified.min.js">Minified Version</a><small> (minimal footprint, only 3.8kB)</small></li>
</ul>
<span><small>* licensed under the <a class="no-underline" href="http://creativecommons.org/licenses/by-sa/3.0/de/" target="_blank">Creative Commons Share A Like 3.0</a></small></span>
<h2>Dependencies</h2>
<ul>
<li>jQuery 1.7+</li>
</ul>
<h2>Supported browsers</h2>
<ul>
<li>Internet Explorer 9</li>
<li>Firefox 23</li>
</ul>
</div>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |