();
.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Gareth Hughes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 11:18 AM
To: CF-Talk
Subject: Re: FckEditor / JS
You'll need to pull this apart to get it to work for you but below is the JS
What I have is a textarea. As you type in the text area, a div tag is
updated with the textarea's content creating a 'live preview'. I need to
change that textarea to the FCKEditor but keep the live preview.
The problem is that I dont have the same control over the onchcnage and
onkeyup
@houseoffusion.com
Sent: Tuesday, September 05, 2006 3:48 PM
Subject: OT: FckEditor / JS
What I have is a textarea. As you type in the text area, a div tag is
updated with the textarea's content creating a 'live preview'. I need to
change that textarea to the FCKEditor but keep the live preview.
The problem
: FckEditor / JS
You'll need to pull this apart to get it to work for you but below is the JS
I use to check an FCK instance isn't empty. So, you should be able to update
your div with secondFrame.body.innerHTML.
firstFrame =
document.getElementById(FCKeditor1___Frame).contentWindow.document
: Bobby Hartsfield [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, September 05, 2006 4:23 PM
Subject: RE: FckEditor / JS
Hi Gareth. The problem is actually triggering a function when the content of
the editor changes not actually reading the content. As for just reading
Hartsfield
http://acoderslife.com
-Original Message-
From: Gareth Hughes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 11:58 AM
To: CF-Talk
Subject: Re: FckEditor / JS
Huh, that's a bit neater than the method I'm using :) I see what you mean
now but not sure how you'd do
-Talk
Subject: Re: FckEditor / JS
You'll need to pull this apart to get it to work for you but below is the JS
I use to check an FCK instance isn't empty. So, you should be able to update
your div with secondFrame.body.innerHTML.
firstFrame =
document.getElementById(FCKeditor1___Frame
Bobby Hartsfield wrote:
What I have is a textarea. As you type in the text area, a div tag is
updated with the textarea's content creating a 'live preview'. I need to
change that textarea to the FCKEditor but keep the live preview.
Just out of curiousity, WHY do you need to keep the live
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 2:51 PM
To: CF-Talk
Subject: Re: OT: FckEditor / JS
Bobby Hartsfield wrote:
What I have is a textarea. As you type in the text area, a div tag is
updated with the textarea's content creating a 'live preview'. I need to
change that textarea
Bobby Hartsfield wrote:
No not really. Images can only be chosen by a drop down list then aligned
top right of the content (content wraps it of course). I dont want them
dragging and resizing images in the editor because it will just confuse
them. So thats one strike
Ah...
Well then, keep
3:16 PM
To: CF-Talk
Subject: Re: OT: FckEditor / JS
Bobby Hartsfield wrote:
No not really. Images can only be chosen by a drop down list then aligned
top right of the content (content wraps it of course). I dont want them
dragging and resizing images in the editor because it will just confuse
I dont want them dragging and resizing images in the editor because
it will just confuse them.
Exact, IMHO, all those HTML editors around are just too poweful for the
hoi polloi.
This is why I've developed my own. Images should not been inserted in
the HTML editor,
but in the CMS. Each page
keep in mind then that they can paste anything they want into FCKeditor
Sure, but in general, they just don't want to.
I mean not in a CMS used by users who are brought out in a rash as soon
as they see an HTML tag ;-)
--
___
REUSE CODE! Use custom tags;
OK..
THIS WORKS...
cfoutputA
href=javascript:getDoc('/EM/Global_Images/#Global_Images.name#');#Global_Images.name#/A/cfoutput
this dosnt..
cftreeitem value=#Global_Images.name# display=#Global_Images.name#
parent=Global_Images img=#request.publicurl#/EM/Global_Images/paint10.gif
ok first i am using cfdirectory to browse for files that i am trying to feed back to
fckeditor.
a can brows the files i want..
i am not able to force the pop up that displays my directory structure to close using
the window.close(); inside of cftreeitem.
also the window to receive the info
15 matches
Mail list logo