Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一些使用 jQuery prettPhoto 插件启动的内联内容。我想在我的内容区域中添加一个额外的关闭按钮,但不知道需要做什么才能使我的按钮关闭模式。有什么建议么?
在关闭按钮的单击事件处理程序中尝试此代码 window.parent.$.prettyPhoto.close();
window.parent.$.prettyPhoto.close();