Streaming live at 10am (PST)

Inline text lightbox


#1

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


#2

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.


#4

https://forum.webflow.com/t/inline-text-lightbox/40702/2

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
http://newactonsouth.webflow.io/

Greatly appreciate for your help!

Regards,
Skye


#6

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


#7

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