Skip to content
Advertisement

How to add additional caption in fancybox

Here’s my setup for the fancybox:

JavaScript

I’ve successfully added an additional rightColumn (sidebar) to the fancybox (it’s not captured in the image below) as you can see from the setup. But now I want to add HTML content inside the area which fenced with a red marker on the image below. How can I add additional div with HTML elements in the fenced with a red marker area?

visualization1

Advertisement

Answer

You can either create new element where you would place your content (similarly to creating additional elements in your sample) or you could just add additional content to your caption (there are samples in docs on the homepage)

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement