-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (56 loc) · 1.8 KB
/
index.html
File metadata and controls
62 lines (56 loc) · 1.8 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mosaic Gallery Plugin</title>
<meta name="description" content="Create the perfect animation for mosaic gallery.">
<meta name="keywords" content="jQuery Mosaic Gallery Animation Plugin">
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/galleryc.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30014489-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="outerContainer">
<header>
<h1>jQuery Mosaic Gallery Plugin</h1>
</header>
<section>
<div id="container">
<div id="gallery">
</div>
</div>
</section>
<script>
$(function(){
$('#gallery').imgg({
images: ['images/img1.jpg','images/img2.jpg','images/img3.jpg','images/img4.jpg']
});
});
</script>
<h4>How to use?</h4>
<pre>
$(function(){
$('#gallery').imgg({
images: ['images/img1.jpg','images/img2.jpg','images/img3.jpg','images/img4.jpg']
});
});
</pre>
<p>Just pass in the id of the container div and pass an array of images in the constructor.</p>
<p>Written by <a href="http://github.com/bugzu" >Gaurav Sharma</a> (@bugzu)</p>
<p>The plugin is hosted on github. Please click <a href="https://github.com/bugzu/imgg">here</a></p>
<footer>
<p>Feel free to use and send feedback</p>
<p> </p>
</footer>
</div>
</body>
</html>