Thanks for your quick response!
Unfortunately it doesn't work. I get the following js-error:
Fehler: jQuery is not defined
Quelldatei: qs.geocaching-nrw.de/ext/mitcachezentrale/actionMczEvent.php?action=comment&gcnrw_pid=YTozOntzOjY6Im1jel9pZCI7czoxOiIxIjtzOjc6InVzZXJfaWQiO3M6MjoiNjMiO3M6OToidXNlcl9uYW1lIjtzOjExOiJLcsO8bWVsYnJvdCI7fQ==%27
Zeile: 8
Be advised: The content of this is not Joomla! It's an external PHP script.
I call fancybox as follows:
class="arifancybox iframe {width: 800, height: 450}"
Everything works fine, but the fancybox should be closed, if the form shown in the box is submitted. After this, the parent window should be refreshed. The js-code called after form is submitted:
Code: |
echo '<script>(window["jQueryFB"] || jQuery).fancybox.close();parent.location.reload();</script>';
|
Unfortunately the site is not available for public. If you need access, let me know your mailadress and I will send you the login.
Best regards
Marco