The lightbox used to work. However, when I tried it on meteor, it is not working any more.
I first add jquery dependency and put jquery.lightbox.js and jquery.lightbox.css to client folder.
$ meteor add jquery
$ ls -l client/js/jquery.lightbox.js
$ ls -l client/css/jquery.lightbox.css
This is the test template and script to use lightbox.
->test.html
<template name="test">
<a href="xxxxxxxx" class="screenshot">
<img src="xxxxxx" alt="Screenshot" class="thumbnail"/>
<span class="screenshot-zoom"></span>
</a>
</template>
->screenshot.js
$(function () {
$(".screenshot").lightbox();
});
If I use it as regular html, it worked. But it is not under meteor. Do I miss anything?