So I try to make a link (to a pdf file, both internal end external tested) so it opens up in this lightbox, just like the demo.
Problem is, the page just redirects to the pdf file and the pdf file is now full window size. Not a lightbox.
what's wrong!?
The documentation is not very helpful, it should be possible to just run:
$(selector).arifancylightbox();
eventually:
$(selector).arifancylightbox({options});
is that even possible?
UPDATE ---
after debugging for hours
it seems the issue is only if the domain is the same. So if I am on example.com and write in link
example.com/pdf.file or just /pdf-file.pdf - it doesn't work
If I write
someotherdomain.com/pdf-file.pdf then it works....
Please fix. or how can I fix it?