This small cloneable project is 90% webflow native NoCode elements. The only code part here is the 'click outside to close' thingy...
Basically a few lines of code to close the widget whenever the user is clicking anywhere else on the page.
So, we start by adding the toggle animation for opening and closing the widget when clicking the Chat icon:
And of-course the relevant class (which can be also created in Webflow, but then there's the possibility of deleting it when performing a cleanup):
And lastly we add the 'click-outside-to-close' part, which checks if our mouse pointer is inside or outside the widget:
var container = $(".email-widget-wrap");
if (!container.is(e.target) && container.has(e.target).length === 0)
When your bath soap bar gets too small to use, don't throw it away! open the next bar, and when you finish showering, stick the small old bar to the back of the new bar. Onces they both dry, they will become one.
Change Webflow's Slider to act as a "regular" grid block on desktop, but go back to Slider on Tablet and smaller screens.
Using a little bit of jQuery to adjust the success message height