|
Posted by markww on 04/21/06 23:06
Hi Jonathan,
I wanted to use an iframe so that the user could do some limited rich
text formatting, and I wouldn't have to script anything extra. I would
like there to be a button beneath the iframe such as 'edit' - in which
case the user can start typing in there, make text bold, type weblinks
like www.something.com. Then they could just hit 'stop edit', in which
case I'd just turn design mode 'off' and the weblinks they typed become
active, the rich text maintains its formatting, etc.
All I'd have to do is flip the designMode switch.
Textareas as I understand don't allow for such formatting or clickable
links?
Thanks
Jonathan N. Little wrote:
> markww wrote:
> > Hi,
> >
> > Yes there is no initial content, but the user is allowed to type in the
> > iframe with designMode = 'on' - I just need to get whatever they have
> > typed into the iframe. I'll give what you posted a try,
> >
> > Thanks
> >
> If I understand you correctly you are using an IFRAME to get user input?
> HTML already contains an element for such purpose, it is a FORM with a
> TEXTAREA. Why the re-engineering?
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com
[Back to original message]
|