Hi Daemach Thanks for frameReady is amazing.
I am trying integrate with http://tinymce.moxiecode.com/ To have a common example I will use the image button of http://wiki.moxiecode.com/examples/tinymce/installation_example_05.php To avoid problems with other library I did: <script language="javascript" type="text/javascript"> jQuery.noConflict(); var $j = jQuery; $j(document).ready(function() { $j.frameReady(function(){ $j('#iframetarget').append("pleaseworks"); },"top.mcWindow_0_iframe.mcWindow_0_iframe", { } ); }); </script> To be simple I want pass the word "pleaseworks" to div #iframetarget (I created into of the file: ../js/tiny_mce/plugins/advimage/image.htm) So if someone need duplicate just install tinymce, edit image.htm and insert <div id="iframetarget"></div> after <div class="panel_wrapper"> line 22. Is the target correct? "top.mcWindow_0_iframe.mcWindow_0_iframe" I tried " top.mcWindow_0_iframe" too. You can see too each push button change iframes to mcWindow_1_iframe, mcWindow_2_iframe ... What is missing? If your plugin works with tinymce, we could do amazing things into "tinymce iframes" like Ajax, bring lists, thumbs etc.. Serious will be amazing and probably thousands of developers will look to your plugin because the big problem with tinymce is how upload files to server with security. So we can made ajax upload into a form and pass these urls to tinymce iframes to fill images urls, media urls with a simple click. Will be more friendly to the user. It is simple, secure and fast but first we need frameReady work there. May you help me if you have time? Regards Mario 2007/4/19, Daemach <[EMAIL PROTECTED]>: > > > I just updated frameReady to support loading script and stylesheet > files in other frames, including nested, dynamically created iframes > if necessary. frameReady loads jQuery in the target frame(s) by > default, so you can run any jQuery function in the target frame as if > you were dealing with the local document. $("p") instead of $("p", > top.mainFrame.iFrame.document) for example. You can also load jQuery > plugins and stylesheets and any functions you want to run will wait > until those files are loaded, parsed and available before running. > > More information and a demo here: http://ideamill.synaptrixgroup.com/?p=6 > > If you take the time to look at this, please let me know what you > think! > > -- Mário Alberto Chaves Moura [EMAIL PROTECTED] 31-9157-6000