Al B.
Al B.

Reputation: 1

How can I add a close button to pop up window

I am in way over my head, new to S/O and need to get this done as soon as possible. If I am doing this wrong I apologize in advance.

I purchased an extension that was simple enough to install but I need to extend the function just a but. I reached out to the developer to no avail.

Anyway I need to add a close button to the pop ups featured on the home page of this website (http://www.juanlafontalaw.com) Click on one of the hotspots (Red) and the pop up will appear. I simply need to add a close button or X that will allow the user to close the pop up without touching the main screen.

The site is Wordpress based. Plug-in: Visual Composer. The Extension: Visual Composer Add-on Image Hotspot with Tooltip (This is the focal point of my question)

I have no idea where to begin and did not expect to be in this position. And I did not think the develop -who does offer support to totally ignore my

Upvotes: 0

Views: 2386

Answers (1)

Johnny John
Johnny John

Reputation: 384

Make a button in html, and use jquery click function to make display none in the pop up

$("#btn-id").click(function(){
 $("pop-up").css("display","none");
})

Upvotes: 1

Related Questions