[Product-Developers] Executing Javascript with prepOverlay has loaded overlay
Carsten Senger
senger at rehfisch.de
Tue Feb 8 17:35:00 UTC 2011
--On Dienstag, Februar 08, 2011 16:37:37 +0000 Kevin Gill
<kevin at movieextras.ie> wrote:
> I have a form that I want to load as an overlay using
> plone.app.jquerytools and prepOverlay.
> pass a function as
>
> Unfortunately, the document.ready() Javascript is not triggered when the
> overlay is loaded.
>
> What is the best approach to dealing with this?
jquerytools overlay accepts an options object where you can add a callback
function for onBeforeLoad. A plain example is here:
<http://flowplayer.org/tools/demos/overlay/external.html>
If I read prepOverlay() in overlayhelpers.js correctly it will work the
same way.
..Carsten
More information about the Product-Developers
mailing list