-
Notifications
You must be signed in to change notification settings - Fork 64
/
index.html
92 lines (87 loc) · 4.17 KB
/
index.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Manual | xZoom jQuery Zoom Gallery Plugin</title>
<link rel="stylesheet" href="doc/css/normalize.css" />
<link rel="stylesheet" href="doc/css/foundation.css" />
<link rel="stylesheet" href="doc/css/prism.css" />
<link rel="stylesheet" href="doc/css/manual.css" />
<script src="doc/js/vendor/modernizr.js"></script>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<div class="large-12 column text-center"><a href="https://payalord.github.io/xZoom"><img src="doc/images/logo.png" alt=""></a></div>
<div class="large-12 column"><p><h2>Thank you for download xZoom jQuery Plugin</h2></p></div>
<div class="large-12 column">
If you're just downloaded xZoom please go to <a href="example/index.html">example</a> and <a href="doc/manual.html">manual</a> folder to find more information.
</div>
</div>
<section>
<div class="row">
<div class="large-12 column">
<h3>I would like a simple quick start. What do i need to do?</h3>
<span class="label alert round">Step 1</span>
<p>Copy the xzoom source files into your <code>project folder</code><br />
Copy the xzoom.min.js or xzoom.js files into javascript folder.<br />
Copy the xzoom.css file into your css folder, or copy the content of the xzoom.css file into your style sheet.<br />
Copy xloading.gif to your images folder.</p>
<span class="label alert round">Step 2</span>
<p>This goes into your site's Header Section:</p>
<p><pre><code class="language-markup"><!-- get jQuery from the google apis -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- CSS STYLE-->
<link rel="stylesheet" type="text/css" href="css/xzoom.css" media="all" />
<!-- XZOOM JQUERY PLUGIN -->
<script type="text/javascript" src="js/xzoom.min.js"></script></code></pre>
</p>
<div class="line"><span class="label alert round">Step 3</span>
<p>Add the xzoom markup to your HTML document:</p>
<p>
<pre><code class="language-markup"><img class="xzoom" src="path/to/preview_image_01.jpg" xoriginal="path/to/original_image_01.jpg" />
<div class="xzoom-thumbs">
<a href="path/to/original_image_01.jpg">
<img class="xzoom-gallery" width="80" src="path/to/thumbs_image_01.jpg" xpreview="path/to/preview_image_01.jpg">
</a>
<a href="path/to/original_image_02.jpg">
<img class="xzoom-gallery" width="80" src="path/to/preview_image_02.jpg">
</a>
<a href="path/to/original_image_03.jpg">
<img class="xzoom-gallery" width="80" src="path/to/preview_image_03.jpg">
</a>
<a href="path/to/original_image_04.jpg">
<img class="xzoom-gallery" width="80" src="path/to/preview_image_04.jpg">
</a>
</div></code></pre>
</p>
<p>You can add more or less images to xzoom, this example shows how it works with 4 images.</p>
</div>
<div class="line"><span class="label alert round">Step 4</span>
<p>Initialize the plugin in "document ready" section:</p>
<p>
<pre><code class="language-javascript">/* calling script */
$(".xzoom").xzoom({tint: '#333', Xoffset: 15});
</code></pre>
</p>
</div>
</div>
</div>
</section>
<section>
<div class="row">
<div class="large-12 column">
<div class="line">
<p>All new features and last updated docs you can find here: <a href="https://github.com/payalord/xZoom">github.com/payalord/xZoom</a></p>
</div>
</div>
</div>
</section>
</div>
<script src="doc/js/vendor/jquery.js"></script>
<script src="doc/js/foundation.min.js"></script>
<script src="doc/js/vendor/prism.js"></script>
</body>
</html>