blastnu
Member
Posted 5 months ago #
I'm using Lightbox Plus and I can't get the content to show up. This is the code I'm using (provided by Lightbox Plus). The Lightbox window shows up but the content is not displaying. Is there someway I can get this to work?
Here's the code I'm using:
( ) instead of <>
(a href="#")Inline HTML Content(/a)
<div style="display:none">
<div id="lbp-inline-link-1" style="padding: 10px;background: #fff">
CONTENT
</div>
</div>
knijia
Member
Posted 4 months ago #
i think you're forgetting some code. Here is the code provided by lbp :
<a class="lbp-inline-link-1" href="#">Inline HTML Content</a>
<div style="display:none">
<div id="lbp-inline-link-1" style="padding: 10px;background: #fff">
Inline Content Goes Here
</div>
</div>
So the class lbp-inline-link-1 goes with the id lbp-inline-link-1 (that must be hidden with display:none).
I hope it will work for you because, whereas i'm telling you that, i can't get the inline lightboxes to work with this code. Please let me know if it has sold your issue.
knijia
Member
Posted 4 months ago #
ok, i'll answer myself to my problem :
for the div with the id, it's not
lbp-inline-link-1
but
lbp-inline-href-1
So the correct code provided by LBP is :
<a class="lbp-inline-link-1" href="#">Inline HTML Content</a>
<div style="display:none">
<div id="lbp-inline-href-1" style="padding: 10px;background: #fff">
Inline Content Goes Here
</div>
</div>
Hope my mistake will help. You should get it to work with this code.
duckonwater
Member
Posted 1 month ago #
Thanks for this, helped me out :)