Loading...

fancybox close的方式

Temperature: 0 °C

Mark ChangMark Chang
author_tools

parent.$.fancybox.close();

parent.jQuery.fancybox.close(); //應該從fancybox中打開的iframe中調用。如果要打開內聯內容,則不需要前綴父級。此外,您必須為內聯內容提供正確的結構,並從那裡調用結束功能。

$ .fn.fancybox.close();//不適用於版本2.x,實際上它會引發錯誤。如果您使用的是2.x版,請嘗試使用$ .fancybox.close(true)。


 

https://innstory.com/story-fancybox_close的方式-1841

Prev
 Ckeditor使用onkeyup事件綁定卻無動作解決方式

Next
javascript_change_css_class 

About the Author

Mark Chang

離不開電腦的宅男

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

如何增加WordPress網站的PHP時間限制?

如何增加WordPress網站的PHP時間限制?

PHP時間限制是您的網站在超時之前將花費在單個操作上的時間。當操作達到設置的時間限制時...

RPO(Relative Path Overwrite)相對路徑覆蓋攻擊

RPO(Relative Path Overwrite)相對路徑覆蓋攻擊

首先,先來用例子說明何謂「相對路徑」何謂「絕對路徑」。 例如你有一個網址為http:/...

刪除已上傳至server的檔案

刪除已上傳至server的檔案

a 管理系統,難免都會遇到要更新或刪除已經上傳到server的檔案。 總不能只是重新上...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format