Using javascript to create text editing in a textarea

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lindsey

    #1

    Using javascript to create text editing in a textarea

    Hi

    I am wondering if anyone can help.

    We have a form used by a client to add news to a database, however at
    the moment the text edited is bog standard and the user can not bold
    or color the text.

    I have seen in email applications such as hotmail and yahoo, that when
    you create a new email there is a menu above which when you highlight
    the text in the textarea and click the appropriate button the text can
    be made bold or italic or red or blue or whatever.

    My question is how can i create such a menu so that my non-tech users
    can manipulate the appearance of the text in the textarea at a click
    of a button, before submitting it to the database?

    Does anyone have any expale code and any useful links?

    Thanks
  • ZER0

    #2
    Re: Using javascript to create text editing in a textarea

    On 7 May 2004 02:53:01 -0700, Lindsey wrote:
    [color=blue]
    > My question is how can i create such a menu so that my non-tech users
    > can manipulate the appearance of the text in the textarea at a click
    > of a button, before submitting it to the database?[/color]
    [color=blue]
    > Does anyone have any expale code and any useful links?[/color]



    --
    C'ya,
    ZER0 :: coder.gfxer.web Designer();

    Le donne si dividono in 4 categorie: le suore (non la danno a nessuno);
    le puttane (la danno a tutti); le stronze (la danno a tutti tranne che
    a te); le rompiballe (la danno a te e solo a te).

    Comment

    • Markus Ernst

      #3
      Re: Using javascript to create text editing in a textarea

      "ZER0" <zer0.shock@lib ero.it> schrieb im Newsbeitrag
      news:1h5i4v8qpf d61$.dlg@ID-171124.news.ind ividual.net...[color=blue]
      > On 7 May 2004 02:53:01 -0700, Lindsey wrote:
      >[color=green]
      > > My question is how can i create such a menu so that my non-tech users
      > > can manipulate the appearance of the text in the textarea at a click
      > > of a button, before submitting it to the database?[/color]
      >[color=green]
      > > Does anyone have any expale code and any useful links?[/color]
      >
      > http://devedge.netscape.com/viewsource/2003/midas/01/
      >[/color]

      Some links I got from a friend who teaches web programming:

      htmlArea


      skyWriter (Internet Explorer und Mozilla)


      Cross-Browser Rich Text Editor by Kevin Roth


      WYSIWYG DHTML Editor
      Compare the best free open source Software Development Software at SourceForge. Free, secure and fast Software Development Software downloads from the largest Open Source applications and software directory


      Ekit (Java-Open-Source-WYSIWYG-Editor)
      freeware java code and source, HTMLEditorKit applet, thumbnail viewer, image filters, fun stuff


      Epoz (für Zope)
      http://www.zope.org/Members/mjablonski/Epoz

      Informations on Midas
      http://www.mozilla.org/editor/midas-spec.html

      HTH
      Markus


      Comment

      Working...