Hey Brian, quick question about Battle lightbox

yubeestar
@yubeestar
10 years ago
7 posts
I have the battle module running off the skins/battle_view.tpl only. I have Soundcloud and Youtube integrated and it's working nicely.

For photo battles, though, I can't seem to get the lightbox working with the skins/battle_view.tpl. I've uploaded a txt file to show you the code.

I see class="lightbox" in there, but I'm not sure how to activate it. Currently, the image just links to a new tab. I figured you might know how to solve this.

I appreciate any help you can provide :)

zip
example.zip  •  407B


updated by @yubeestar: 12/29/14 09:14:37AM
michael
@michael
10 years ago
7,746 posts
It problably doesnt have any code to tell the lightbox to appear.

eg:
http://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/4693/jrevents-lightbox-images-in-nova-skin

To make the light box appear, there needs to be javascript to tell the lightbox to work.
$('.lightbox').lightBox();

or something similar.

Tags