Adding button to lightbox interface
I am trying to add a print link to the lightbox interface. It just needs to link to the currently displayed image file. I have added the following code to the helper.js file in the lightbox plus theme I am using. It adds the link correctly but I can’t get a function to run when the link is clicked. Any help would be much appreciated!
This is all wrapped inside the document.ready function. I just can’t get the console log to work when the link is clicked. I have been beating my head against a wall trying to figure it out. Thanks for any help!
- The topic ‘Adding button to lightbox interface’ is closed to new replies.