You are not logged in.
Hi, I have a page with a number of textareas on which xinha converts into seperate editors. each textarea is enclosed in a div which allows me to toggle the visibility of the editor (or text area if the user elects not to use the editor in their prefs) by links. However, if I set display='none' for the div at the point where I generate the page, then when the user enables an editor (and javascript sets display=block for the div) it stays greyed out even if they click on it (ie won't accept focus), this is on Firefox btw, haven't tested it on IE yet.
To solve this, I am loading the page with all editors visible, and then would like to trigger a js function to set the initial state of each editor. Is there a way I can trigger a javascript function after all the editors have loaded in and initialised? I have tried calling it from onload in th ebody tag, but that appears to be called prior to xinha swapping textareas for editors.
thanks
Gary
Offline