Inline text lightbox

We could put text within lightbox block but how to place the ligthbox to inline text within some paragraph?
question had been raised before without solution

Do you mean how to have a link trigger an open of a hidden lightbox component?

This should be able to be done using custom code. If you have some design ready, I can help you with the code.

Hi Samliew,
Sorry i didn’t came back to check the solution until now…

In the Podium Garden section I would like to put the Spring & Autumn lightboxes trigger by the texts links in the paragraph just above

Greatly appreciate for your help!

Regards,
Skye

Paste in Page Settings > Footer Code:

<script>
$('.special-news').on('click', 'a', function() {
  if($(this).index()) 
    $('.garden-lightbox-spring-17').parent().triggerHandler('tap');
  else
    $('.garden-lightbox-autumn-2017').parent().triggerHandler('tap');
  return false;
});
</script>

You must not delete the two lightbox links.


Also, feel free to contact me for further code help and/or customization of third-party plugins

1 Like

works perfectly! thank you very much!!:star_struck:

Hey Sam,

I’m trying to get this exact same feature working on my site but I’m having trouble. Do you think you could help me out?

https://preview.webflow.com/preview/ryan-mayott-portfolio?utm_medium=preview_link&utm_source=designer&utm_content=ryan-mayott-portfolio&preview=482fe5fe99ef37b51279f2f617d4e599&pageId=609633089f45ac4766c7600c&mode=preview