How to replace "rel" with something valid for html5 like "data-rel"

14 views
Skip to first unread message

Steve S

unread,
Jan 30, 2019, 7:15:03 AM1/30/19
to Slimbox
Hi,
Just replacing the js regex and the rel attribute does allow the lightbox to work, but only as one image.
It does not show the prev/next indicators nor the caption. So, it is not parsing the other images on the page with the same data-rel parameter.
I'm not js savvy enough to fix it....

Reply all
Reply to author
Forward
0 new messages