jquery - Magnificpopup detect dom source of picture -


does know way dom element of shown picture? i'd have db counter number of views of picture, when opening pictures in gallery mode can not find way html element indicates image , holds attribute id.

i have like

<a href="lightbox.jpg" data-id="1234"><img src="thumb.jpg"></a> 

is there possibility data-id event, if gallery open , user navigated arrows?


Comments

Popular posts from this blog

php - How to register a post type and taxonomy in WordPress and display in a page/single post -

database - How many Observations in SAS Sample Data Output -

emulation - Android map show my location didn't work -