0

Hello i want to put some html content on a lightbox pop up window, not just an image i use this script

<a class="example-image-link" href="img/demopage/image-2.jpg" data-lightbox="example-2'cxxzxzzx'" data-title="Optional caption.'cxxzxzzx'"><img class="example-image" src="img/demopage/image-2.jpg" alt="image-1"/></a>

this pop ups image2.jpg i want the window to show some html content like this

<div > <span>html content</span><br /><br><br><br> </div> <hr /> <h3 style="clear: both;">ffff</h3>
            and so on

any suggestions?

2
Contributors
4
Replies
21
Views
2 Years
Discussion Span
Last Post by SimonIoa
0

I haven't used this but Fancybox looks to let you put HTML code in that popup. Said HTML could have an image from the looks of things.

0

i use colorbox too. But i was wondering if i could use lightbox instead for html content

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.