-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
25 lines (24 loc) · 993 Bytes
/
example.html
File metadata and controls
25 lines (24 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
<title>Multi Image jQuery Plugin Example</title>
<script src="http://code.jquery.com/jquery.min.js"></script>
<script src="js/jquery.multi-image.js"></script>
<script>
$(document).ready(function(){
$(".mi").multiImage();
});
</head>
<body>
<h1>Multi Image Demo</h1>
<p>The below image will load a small, medium, or desktop version of your image depending on your viewport width.</p>
<div class="mi"
data-image="https://s3.amazonaws.com/myriad-web/prolaris.com/banners/lows-not-same.jpg"
data-image-medium="https://s3.amazonaws.com/myriad-web/prolaris.com/banners/lows-not-same-medium.jpg"
data-image-small="https://s3.amazonaws.com/myriad-web/prolaris.com/banners/lows-not-same-small.jpg"
data-alt="Not all Lows are the same - Prolaris">
<noscript>
<img src="https://s3.amazonaws.com/myriad-web/prolaris.com/banners/lows-not-same-medium.jpg" alt="Not all Lows are the same - Prolaris" />
</noscript>
</div>
</body>
</html>