Monday 15 June 2015

javascript - close fancy box from function from within open 'fancybox' -


Hi I want to be able to close fancyBox when all is open from within.

I have tried the following but have not used any benefits:

  Function closeFancyBox (html) {var re = /.Element is inserted! / Gi; If (html.search (again) == 0) {$ .fancybox.close (); // warning ("foo"); }}  

Fu will open in the dialog but will not stop any signals?

Try it: Parents $ Fancybox.close ();

See.


No comments:

Post a Comment