Jump to content

Display PopUp on button click


tumil

Recommended Posts

Hi!

So I have this Warehouse theme-built PopUp module which displays a newsletter popup 3 seconds after loading the page. I would like to display this popup also when someone click a button somewhere on website. Would it be difficult to do so?

I'm kind of newbie in all 'js-things' so I could really use some help as to where and what should I edit to accomplish it.

 

I thought something about looking at module responsible for adding items to cart - it also display popup and it does it on click so I thought about copying some of the code but I don't really know what exactly am I looking for and in which file.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...