Hi there,
I have a pretty standard navigation build from the Navigation Menu module in Contao. One of my menu links needs to open a lightbox/mediabox window when clicked - is that possible?
Thanks in advance!
Cheers,
Robert
Hi there,
I have a pretty standard navigation build from the Navigation Menu module in Contao. One of my menu links needs to open a lightbox/mediabox window when clicked - is that possible?
Thanks in advance!
Cheers,
Robert
yes. :D
Assign the code to the link using javascript clientside. in contao have the link point to the same gallery html contents. (so the link will also work if javascript is disabled) The lightbox must be on the same page as the link, so probably every page. Or you must retrieve the contents of the lightbox using ajax.
Hi Vera,
Thanks for your reply. I was hoping there was an easier way to accomplish this, unfortunately my java skills doesnt quite add up to this. I´ll try to figure it out in another way - but many thanks!
Cheers,
Christian
Bookmarks