On Tue, Jul 20, 2010 at 2:59 PM, Bryan Stevenson wrote:
...
> Is there an equivalent to onFocus?  Where are these options documented?

http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/JavaScript_API

There is an OnFocus!

Personally, I'd switch to a ckeditor tag (I have one if you don't, but
it's literally two lines of code IIRC).  Then I'd use all the *new*
plugins and whatnot.  It's really easier to work with.

If you're married to cftextarea, then I'd take a look at the old
plugins for FCK 2.x, as well as the source (I love source.  I can read
it better than documentation most of the time).

There were plugins for doing just what you want to do, IIRC.
FitWindow springs to mind, but I think there were others... anyways,
those plugins would show you exactly how to do this stuff, I reckon.

There's a built in way to get to the iframe too, I think... maybe this does it?

FCKeditorAPI.GetInstance('InstanceName').EditorWindow.parent

Force be with you!
:Den

-- 
The major difference between a thing that might go wrong and a thing
that cannot possibly go wrong is that when a thing that cannot
possibly go wrong goes wrong it usually turns out to be impossible to
get at or repair.
Douglas Adam

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335579
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to