-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
30 lines (26 loc) · 1.44 KB
/
README
File metadata and controls
30 lines (26 loc) · 1.44 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
███ ▄ ▄▄▄ ▄▄ ▄▄▄
██ █ ▀ ▄▄ ▄ ▄ ▄▄▄ █ █ █ █ █
█████ █ █ █ ▀ █ █ █ █ █▄▄█ █▄▄▀
██ █ █ █ ▀█ █▀█ █ █ █ █ █
█ ▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀ ▀▀▀ ▀ ▀ ▀ by Dragonzap
original by Lokesh Dhakar [Lightbox]
For more information, visit:
http://dragonzap.szunyi.com/index.php?e=page&al=lightzap&l=en
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
- free for use in both personal and commercial projects
- attribution requires leaving author name, author link, and the license info intact
SETUP
1. Upload js, css, icons folder to FTP, and paste the next three line to HTML header region.
<script src="js/lightzap.js"></script>
<link href="css/lightzap.css" rel="stylesheet"/>
2. Add a rel="lightzap" attribute to any link tag to activate LightZAP.
<a href="image/image-1.jpg" data-lightzap="" title="my caption"><img src=”image/image-1_thumb.jpg></a>
href = the fullsize image path
title = the image caption
data-lightzap = album name or whitout [...]
data-desc = image description
data-by = the link text ( eg.: author )
data-link = the link url ( eg.: author webpage )
data-options = enable functions or if functions is enabled then it's disable this.
SETTINGS
In js/lightzap.js