Re: CFTEXTAREA onClick

2010-07-20 Thread Bryan Stevenson
Thanks again Den! Now I know where the answer liesI just have to RTFM (or source..hehe). Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web

Re: CFTEXTAREA onClick

2010-07-20 Thread denstar
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, bu

Re: CFTEXTAREA onClick

2010-07-20 Thread morgan l
The new docs don't seem as complete as the old ones, but the developer seems to have done a good job purging the olds ones. Hopefully you can at least find what you need over there. On Tue, Jul 20, 2010 at 4:02 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > re-read one of D

Re: CFTEXTAREA onClick

2010-07-20 Thread Bryan Stevenson
re-read one of Den's older posts and followed the link to the docs...DOH! Thanks Den! On Tue, 2010-07-20 at 13:59 -0700, Bryan Stevenson wrote > > Is there an equivalent to onFocus? Where are these options documented? Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Elec

Re: CFTEXTAREA onClick

2010-07-20 Thread Bryan Stevenson
Thanks Morgan.but unfortunately no luckbut it does give me lots more to go on! Actually I found an issue with Den's example as well.every 20 or so characters the function fires again.even when using the UNDO button on the toolbaras you are changing the contents of the textarea

Re: CFTEXTAREA onClick

2010-07-20 Thread morgan l
If you examine the source created by instantiating the fck editor, you'll see that it's not just a CSS height on a textarea anymore. You'll find that you're inside an iframe. If this line from Den's example works: ColdFusion.RichText.getEditorObject('your_textarea_id'); then you would do somethi

Re: deaddocs (was Re: CFTEXTAREA onClick)

2010-07-20 Thread Bryan Stevenson
hehe...well I've never been a fan of LiveDocs...mainly because the original docs always seem to be lackingthen it gets locked down as you found and staleness sets in! So yeah...deaddocs is bang on!! Cheers On Mon, 2010-07-19 at 18:22 -0600, denstar wrote: > Now this is lame: I went to l

Re: CFTEXTAREA onClick

2010-07-20 Thread Bryan Stevenson
Thanks Den!! I tried your example and it does in fact fire off the alert! I modified it to adjust the textarea heightno love!! Here's the JS I tried: - function doIt() { //alert( "Say cheese

deaddocs (was Re: CFTEXTAREA onClick)

2010-07-19 Thread denstar
Now this is lame: I went to livedocs to add the richtext binding "magic" for cf8, and they've cut off comments for "this version of the product". That right there violates all that I thought was cool with livedocs. Guess anything below 9 is really deaddocs. Hey, I like that. I'm going to crea

Re: CFTEXTAREA onClick

2010-07-19 Thread denstar
On Mon, Jul 19, 2010 at 5:17 PM, Maureen wrote: > > Den, >  You totally rock.  This solves a world of problems for me. > MM WOOHOO! Here's a complete, working example: function doIt() { alert( "Say cheese!" ) ; } function FCKeditor_OnComplete( editorInstan

Re: CFTEXTAREA onClick

2010-07-19 Thread Maureen
Den, You totally rock. This solves a world of problems for me. MM On Mon, Jul 19, 2010 at 3:04 PM, denstar wrote: > > I think this will get you the underlying object: ~| Order the Adobe Coldfusion Anthology now! http://www.a

Re: CFTEXTAREA onClick

2010-07-19 Thread Bryan Stevenson
Thanks Denthat gives me something to chase down.much appreciated!! On Mon, 2010-07-19 at 16:04 -0600, denstar wrote: > I think this will get you the underlying object: > > ColdFusion.RichText.getEditorObject('your_textarea_id'); > > (I assume the equiv of: FCKeditorAPI.GetInstance('Ins

Re: CFTEXTAREA onClick

2010-07-19 Thread denstar
I think this will get you the underlying object: ColdFusion.RichText.getEditorObject('your_textarea_id'); (I assume the equiv of: FCKeditorAPI.GetInstance('InstanceName') ;) Then, check this out: http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/JavaScript_API And I remember doing somet

Re: CFTEXTAREA onClick

2010-07-19 Thread Bryan Stevenson
On Mon, 2010-07-19 at 15:41 -0600, denstar wrote: > On Mon, Jul 19, 2010 at 3:24 PM, Bryan Stevenson wrote: > ... > > That saidif anyone has a solution...I'm all ears! > > Use the hooks! > > I don't remember what they are offhand, but for the amount of times > this comes up, you'd think it

Re: CFTEXTAREA onClick

2010-07-19 Thread denstar
On Mon, Jul 19, 2010 at 3:24 PM, Bryan Stevenson wrote: ... > That saidif anyone has a solution...I'm all ears! Use the hooks! I don't remember what they are offhand, but for the amount of times this comes up, you'd think it would be documented somewhere or that some random person would shou

Re: CFTEXTAREA onClick

2010-07-19 Thread morgan l
TinyMCE has event handlers you can setup to fire onfocus, etc. I was pretty sure the stand-alone fck editor did, as well, but I can't find the docs on it. On Mon, Jul 19, 2010 at 4:24 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > On Mon, 2010-07-19 at 17:09 -0400, Michael Grant

Re: CFTEXTAREA onClick

2010-07-19 Thread Bryan Stevenson
On Mon, 2010-07-19 at 17:09 -0400, Michael Grant wrote: > Ah I see. I understand then. I do find it odd that the onClick code you add > doesn't get appended in CF. Any chance you can add a click or focus listener > to the textarea after the page is rendered? If I used a standard textarea I'm su

Re: CFTEXTAREA onClick

2010-07-19 Thread Michael Grant
Ah I see. I understand then. I do find it odd that the onClick code you add doesn't get appended in CF. Any chance you can add a click or focus listener to the textarea after the page is rendered? On Mon, Jul 19, 2010 at 4:59 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > On M

Re: CFTEXTAREA onClick

2010-07-19 Thread Bryan Stevenson
On Mon, 2010-07-19 at 16:52 -0400, Michael Grant wrote: > Could you get by just using textarea instead? Well I'd still need a rich text editor, but yes I suppose I could. For now the built-in option makes the most sense. I was just hoping to EASILY add some basic JS code to expand the box whe

Re: CFTEXTAREA onClick

2010-07-19 Thread Michael Grant
Could you get by just using textarea instead? On Mon, Jul 19, 2010 at 4:46 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > Thanks Larry! > > Once again LiveDocs lets us downso sad! > > As you mentioned with all the generated JS code.not only do the > event attributes not

RE: CFTEXTAREA onClick

2010-07-19 Thread Bryan Stevenson
Thanks Larry! Once again LiveDocs lets us downso sad! As you mentioned with all the generated JS code.not only do the event attributes not work, but making a seperate control with it's own events still can't alter the CFTEXTAREA (which I assume is due to the JS that takes control). Oh

RE: CFTEXTAREA onClick

2010-07-19 Thread Stephens, Larry V
h what you want to do). Larry Stephens -Original Message- From: Bryan Stevenson [mailto:br...@electricedgesystems.com] Sent: Friday, July 16, 2010 4:49 PM To: cf-talk Subject: Re: CFTEXTAREA onClick So it appears that perhaps the onClick and other event attributes of CFTEXTAREA do not

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
So it appears that perhaps the onClick and other event attributes of CFTEXTAREA do not fire when richtext="yes". I have tested this (with onClick) and it appears to be the case. Anyways...does anyone know of a workaround? TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Developm

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
and sorry Mike...I know a Mark "Grant" and mis-typed your name!! On Fri, 2010-07-16 at 13:15 -0700, Bryan Stevenson wrote: > On Fri, 2010-07-16 at 15:08 -0400, Michael Grant wrote: > > > perhaps try the onFocus method instead. this will account for tabbing into > > the field as well. > >

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
On Fri, 2010-07-16 at 15:08 -0400, Michael Grant wrote: > perhaps try the onFocus method instead. this will account for tabbing into > the field as well. Thanks Markand I will as I do think it's better.but my question still standsany issues with the onClick attribute of the CFTEXTAR

Re: CFTEXTAREA onClick

2010-07-16 Thread Michael Grant
perhaps try the onFocus method instead. this will account for tabbing into the field as well. On Fri, Jul 16, 2010 at 2:46 PM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > Hey All, > > Are there any known issues with the onClick attribute for CFTEXTAREA (CF > 8)? > > I'm trying a