summaryrefslogtreecommitdiffstats
path: root/source/_includes/fancybox.html
diff options
context:
space:
mode:
authorTommy Chen <tommy351@gmail.com>2012-06-03 04:35:21 +0200
committerTommy Chen <tommy351@gmail.com>2012-06-03 04:40:55 +0200
commit94270a6ab47692520b18fd136342f05c496deaeb (patch)
treec5703af62bfa7d9d9bcc20d2167d1541ded8b307 /source/_includes/fancybox.html
parente3cc2b2ff5d96ed69c982c100692a1745bc261ef (diff)
downloadoctopress-theme-jeyzu-94270a6ab47692520b18fd136342f05c496deaeb.zip
octopress-theme-jeyzu-94270a6ab47692520b18fd136342f05c496deaeb.tar.gz
rewrite caption.js & isolate fancybox
Diffstat (limited to 'source/_includes/fancybox.html')
-rw-r--r--source/_includes/fancybox.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/_includes/fancybox.html b/source/_includes/fancybox.html
new file mode 100644
index 0000000..fd5bcfd
--- /dev/null
+++ b/source/_includes/fancybox.html
@@ -0,0 +1,6 @@
+<script src="{{ root_url }}/javascripts/jquery.fancybox.pack.js"></script>
+<script type="text/javascript">
+(function($){
+ $('.fancybox').fancybox();
+})(jQuery);
+</script> \ No newline at end of file