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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335580
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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, 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


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 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
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: br...@electricedgesystems.com
> web: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>
>
>
> 

~|
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:335577
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335574
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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.

I see Den is using the "OnSelectionChange" and I suspect that is similar
to onChange.

Is there an equivalent to onFocus?  Where are these options documented?

TIA

Cheers


On Tue, 2010-07-20 at 15:29 -0500, morgan l wrote:

> var myRTE = ColdFusion.RichText.getEditorObject('your_textarea_id');
> myRTE.Height = '600'; 


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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335573
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 something like:
var myRTE = ColdFusion.RichText.getEditorObject('your_textarea_id');
myRTE.Height = '600';



On Tue, Jul 20, 2010 at 2:59 PM, Bryan Stevenson <
br...@electricedgesystems.com> wrote:

>
> 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!" ) ;
>   document.myForm.myArea.style.height=600;
> }
>
>function FCKeditor_OnComplete( editorInstance )
>{
>editorInstance.Events.AttachEvent( 'OnSelectionChange',
> doIt ) ;
>}
> 
>
> -
>
> Here's the CFTEXTAREA:
>
> -
>id="myArea"
>richtext="yes"
>toolbar="ACATS"
>skin="office2003"
>height="200"
>
> toolbarOnFocus="yes">#FORM[textVarName]#
>
> -
>
> Yes the above text area is inside a form named "myForm" and the name and
> ID for the CFTEXTAREA is "myArea".
>
> It doesn't error, but it does appear to impede the behaviour of the
> "toolbarOnFocus" as the toolbar doesn't expand when the textarea is
> clicked.
>
> So perhaps adjusting the height is still locked out??  It should just be
> as simple as changing the CSS style for height...but alas...
>
> Any ideas?
>
> TIA
>
> 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: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>
>
>
> 

~|
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:335568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 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 create a "live" cfml documentation
> site like cfquickdocs but call it cfdeaddocs.
> 
> Pretty catchy, neh?
> 
> :cfdeadden
> 



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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335563
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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!" ) ;
  document.myForm.myArea.style.height=600;
}

function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnSelectionChange',
doIt ) ;
}
 
-

Here's the CFTEXTAREA:
-
#FORM[textVarName]#
-

Yes the above text area is inside a form named "myForm" and the name and
ID for the CFTEXTAREA is "myArea".

It doesn't error, but it does appear to impede the behaviour of the
"toolbarOnFocus" as the toolbar doesn't expand when the textarea is
clicked.

So perhaps adjusting the height is still locked out??  It should just be
as simple as changing the CSS style for height...but alas...

Any ideas?

TIA

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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335562
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 create a "live" cfml documentation
site like cfquickdocs but call it cfdeaddocs.

Pretty catchy, neh?

:cfdeadden

-- 
The last time anybody made a list of the top hundred character
attributes of New Yorkers, common sense snuck in at number 79.
Douglas Adams, "Mostly Harmless"

~|
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:335507
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnSelectionChange', doIt ) ;
}






try me

http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335506
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335504
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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('InstanceName') ;)
> 
> Then, check this out:
> 
> http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/JavaScript_API
> 
> And I remember doing something like this, long ago:
> 
> ***
> function FCKeditor_OnComplete( editorInstance )
> {
> editorInstance.Events.AttachEvent( 'OnSelectionChange', DoSomething ) ;
> }
> 
> var counter = 0 ;
> 
> function DoSomething( editorInstance )
> {
> // This is a sample function that shows in the title bar the number of 
> times
> // the "OnSelectionChange" event is called.
> window.document.title = editorInstance.Name + ' : ' + ( ++counter ) ;
> }
> ***
> That OnComplete being a special FCK function.
> 
> The new CKEditor is way niftier.  Looking at the old API brings back
> memories.  =)
> 



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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335503
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 something like this, long ago:

***
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( 'OnSelectionChange', DoSomething ) ;
}

var counter = 0 ;

function DoSomething( editorInstance )
{
// This is a sample function that shows in the title bar the number of times
// the "OnSelectionChange" event is called.
window.document.title = editorInstance.Name + ' : ' + ( ++counter ) ;
}
***
That OnComplete being a special FCK function.

The new CKEditor is way niftier.  Looking at the old API brings back
memories.  =)

-- 
The last time anybody made a list of the top hundred character
attributes of New Yorkers, common sense snuck in at number 79.
Douglas Adams, "Mostly Harmless"

~|
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:335502
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 would be documented somewhere or that
> some random person would shout "use the force-er-hooks!".
> 
> Also, there are *tons* of nifty JS debugging utilities-- I use dojo
> and it has very nice object dumping-- use them to see what methods and
> whatnot are available on the thing you're trying to work with.
> 
> I'm seriously wondering if I'm just tripping out or what-- does no one
> remember how to do this?
> 
> Don't make me search the archives.
> 
> ;)
> 
> :Den


So what has the hooks?  CFTEXTAREA and the JS produced by Adobe OR is it
something specific to FCKEditor?

I'm with you Den.this has to be documented somewhere, but I'm just
not having any luck!!

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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335501
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 shout "use the force-er-hooks!".

Also, there are *tons* of nifty JS debugging utilities-- I use dojo
and it has very nice object dumping-- use them to see what methods and
whatnot are available on the thing you're trying to work with.

I'm seriously wondering if I'm just tripping out or what-- does no one
remember how to do this?

Don't make me search the archives.

;)

:Den

-- 
You live and learn. At any rate, you live.
Douglas Adams

~|
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:335500
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 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 sure I canbut the CFTEXTAREA gets
> locked out once renderedno events from its own event attributes AND
> no access from other controls that try and alter the height of the box
> via JS.
>
> Really this is dead simple except the thing is locked downgr.
>
> I do need the rich text capabilities, but I'd be concerned that even
> using CKEditor or TinyMCE (not built-in to CF) that I'd experience the
> same issues.
>
> This  "nice-to-have" just isn't worth the push in my case ;-)
>
> That saidif anyone has a solution...I'm all ears!
>
> 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: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>


~|
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:335498
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 sure I canbut the CFTEXTAREA gets
locked out once renderedno events from its own event attributes AND
no access from other controls that try and alter the height of the box
via JS.

Really this is dead simple except the thing is locked downgr.

I do need the rich text capabilities, but I'd be concerned that even
using CKEditor or TinyMCE (not built-in to CF) that I'd experience the
same issues.

This  "nice-to-have" just isn't worth the push in my case ;-)

That saidif anyone has a solution...I'm all ears!

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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335497
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 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
> when it gets focus (there are 20 prompts in this form...so leaving them
> all at an acceptable height makes for a long formbut used
> infrequently so it's good enough).
>
> This is not the hill I want to die on!! ;-)
>
> 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: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>
>
>
> 

~|
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:335495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
when it gets focus (there are 20 prompts in this form...so leaving them
all at an acceptable height makes for a long formbut used
infrequently so it's good enough).

This is not the hill I want to die on!! ;-)

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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335492
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 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 wellit's still a handy tagjust unnecessarily crippled IMHO
> like other useful tags such as CFDOCUMENT.
>
> Cheers
>
> On Mon, 2010-07-19 at 19:24 +, Stephens, Larry V wrote:
>
> > That is correct as far as I have been able to determine. If you examine
> the code (when you use rich text) you'll note a bunch of javascript is
> generated in the head of the document that grabs all control. I never did
> find a workaround and went to the CKEditor (which wouldn't help with what
> you want to do).
> >
> > Larry Stephens
>
>
>
> 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: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>
>
>
> 

~|
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:335490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 wellit's still a handy tagjust unnecessarily crippled IMHO
like other useful tags such as CFDOCUMENT.

Cheers

On Mon, 2010-07-19 at 19:24 +, Stephens, Larry V wrote:

> That is correct as far as I have been able to determine. If you examine the 
> code (when you use rich text) you'll note a bunch of javascript is generated 
> in the head of the document that grabs all control. I never did find a 
> workaround and went to the CKEditor (which wouldn't help with what you want 
> to do). 
> 
> Larry Stephens



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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFTEXTAREA onClick

2010-07-19 Thread Stephens, Larry V

That is correct as far as I have been able to determine. If you examine the 
code (when you use rich text) you'll note a bunch of javascript is generated in 
the head of the document that grabs all control. I never did find a workaround 
and went to the CKEditor (which wouldn't help with 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 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 Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 

~|
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:335486
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: br...@electricedgesystems.com
web: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335427
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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.
> 
> 
> Thanks Markand I will as I do think it's better.but my question
> still standsany issues with the onClick attribute of the CFTEXTAREA
> tag??
> 
> 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: www.electricedgesystems.com
>  
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
> 
> 
> 
> 

~|
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:335425
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 CFTEXTAREA
tag??

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: www.electricedgesystems.com
 
Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Please consider the environment before printing this e-mail



~|
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:335424
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 dead simply alert and no sign of it firing.
>
> Example:
> onClick="alert('you clicked me')"
>
> Ultimately I'd like to expand the height of the textarea when it is
> clicked as users will be editing several large blocks of text in several
> textareas on one screen.
>
> I suppose what would be best is an onFocus (to expand) and onBlur (to
> collapse) event.
>
> Anyways...any insight on the onClick issue appreciated!
>
> 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: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
> Please consider the environment before printing this e-mail
>
>
>
> 

~|
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:335421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm