Hi,
I'm creating a web application using dojo, with an integrated FCK editor. I've created a plugin which opens a new window containing some images. When I click on an image, I want to embed a link to this image in the content of the FCKEditor. I need to use the global function FCKDocumentProcessor_createFakeImage.
When I open the window from within the plugin, this function is available as window.opener.FCKDocumentProcessor_createFakeImage
I want to consolidate any fck handling in a external javascript handler class. So, in the plugin, I just want to fire an event, which is captured and handled by the external handler. However, now the function FCKDocumentProcessor_createFakeImage is not available anymore. Probably because it is available in another iframe.
How can I access this function, and other 'global' fck functions ?
Many thanks,
btb
I'm creating a web application using dojo, with an integrated FCK editor. I've created a plugin which opens a new window containing some images. When I click on an image, I want to embed a link to this image in the content of the FCKEditor. I need to use the global function FCKDocumentProcessor_createFakeImage.
When I open the window from within the plugin, this function is available as window.opener.FCKDocumentProcessor_createFakeImage
I want to consolidate any fck handling in a external javascript handler class. So, in the plugin, I just want to fire an event, which is captured and handled by the external handler. However, now the function FCKDocumentProcessor_createFakeImage is not available anymore. Probably because it is available in another iframe.
How can I access this function, and other 'global' fck functions ?
Many thanks,
btb