How do you populate the lightbox using Ajax? Does the element have to have data attributes or can you define it in the JS script? Or can it do both?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Another question, how do I load the lightbox using jQuery? Documentations doesn't show how to use it via a trigger.
Ah nvm, calling it directly using the $.colorbox() function works.
- Previous
- 1
- 2
- Next
You must log in to post replies.