1
2
$(document).on("click", ".entryImage a" ,function (e) {
e.preventDefault(); //prevents anchor tag from working
Used this on a project for Amazon awhile back. Used this script in conjunction with the Magnific Popup plugin in order to let users "like" images in the gallery.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.