projects
/
web
/
WP-Theme-GaslightMedia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae40f17
)
jquery for gallery
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 17 Oct 2014 20:52:53 +0000
(16:52 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 17 Oct 2014 20:52:53 +0000
(16:52 -0400)
footer.php
patch
|
blob
|
history
diff --git
a/footer.php
b/footer.php
index
b5daa16
..
812319d
100644
(file)
--- a/
footer.php
+++ b/
footer.php
@@
-61,8
+61,10
@@
}
});
});
- var jurl = jQuery(".ngg-gallery-thumbnail").attr("title");
- jQuery(".ngg-gallery-thumbnail").attr("href","http://gaslight.upnorth.net/our-work/"+jurl);
+ jQuery('.ngg-fancybox').each(function() {
+ var jurl = jQuery(this).attr("title");
+ jQuery(this).attr("href","http://gaslight.upnorth.net/our-work/"+jurl);
+ });
</script>
<?php wp_footer(); ?>
<?php do_action('foundationPress_before_closing_body'); ?>