SyntaxFix
Write A Post
Hire A Developer
Questions
After struggling myself with this I found a solution that works just replace the $ with jQueryjQuery.fancybox.close() and I made it an inline script on an onClick. Going to check if i can call it from the parent
jQuery.fancybox.close()