Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

future posibillity to add script in head #480

Closed
frankroch opened this issue Sep 10, 2015 · 1 comment
Closed

future posibillity to add script in head #480

frankroch opened this issue Sep 10, 2015 · 1 comment

Comments

@frankroch
Copy link

really love your script, but i don't understand why its not possible to add it to the head section of the page. i use so many plugins and i never had to put it before the closing body tag. really threw me off, would recommend adding that possibility.

@lokesh
Copy link
Owner

lokesh commented Dec 14, 2015

@frankroch You can load the script in the head section and then call lightbox.init() manually after the images are added to the DOM.

This isn't clear at the moment. I'll look to adding some documentation. Thanks for the note!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants