前端开发问题

How do I make this popup box disappear when I click outside?(当我在外面点击时,如何让这个弹出框消失?)
Open new window on center of screen with this javascript?(使用此 javascript 在屏幕中心打开新窗口?)
window.opener is not right(window.opener 不正确)
Is it possible to reuse a popup window in JavaScript after navigating elsewhere in the parent?(在父级中导航到其他地方后,是否可以在 JavaScript 中重用弹出窗口?)
Can#39;t get magnific popup to work, two javascript errors(无法让 magnific popup 工作,两个 javascript 错误)
javascript popup issue In Internet Explorer !(javascript 弹出问题在 Internet Explorer 中!)
HTML - JS How to open an image in an image popup by clicking on it?(HTML - JS 如何通过单击在图像弹出窗口中打开图像?)
Google Chrome Not Showing Image in Print Preview(谷歌浏览器在打印预览中不显示图像)
Image Map with Image popup on hover over hotspot(将鼠标悬停在热点上时带有图像弹出窗口的图像映射)
Is quot;aria-haspopupquot; attribute mainly for toolbar menu?(是“aria-haspopup吗?属性主要用于工具栏菜单?)
how to open a popup on hover event with clickable contant(如何使用可点击的内容打开悬停事件的弹出窗口)
open css popup when page loads completed(页面加载完成时打开 css 弹出窗口)