Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    New to the CF scene
    Join Date
    Oct 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tags inside textarea

    What is the best way for me to give my users the ability to bold, italicize, and underline text in a textarea field? I would also like for them to be able to use bullets inside the field. Is this even possible in the traditional textarea form item? Or do I need to use another language? Can anyone give me an example of where someone else has accomplished these things?

  • #2
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hmmm

    i dont think you can do that, i could be wrong though

    maybe an option would be an iframe?
    if you are using the textarea for the scrollbar for big scripts in small areas.

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #3
    New to the CF scene
    Join Date
    Oct 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm pretty sure it's possible. Many Web mail providers, for example, allow you to do all kinds of things to the text. If they can do it, so can I. But how?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    Last edited by adios; 10-11-2002 at 08:54 PM.

  • #5
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    touche'

    from them *laughs*

    Moderator: General web building

    Get out from under them, resist and multiply.
    Get out from under precipice and see the sky.

  • #6
    New to the CF scene
    Join Date
    Oct 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wow. I never imagined that Microsoft might have developed something like this. My only concern is alienating Netscape users. Depending on which survey you read, Netscape still controls 15-30% of the market.

    Are there any solutions that also work in Netscape?

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For a cross-browser solution look at this page by the inimitable Dave Clark (who evidently doesn't come here any more).

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    Which browsers is he crossing there?

    Believe the Mozilla-crew is working on a contentEditable-style API but you-know-who would know more about it.

    Netscape: 15-30%?

    http://www.w3schools.com/browsers/browsers_stats.asp

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Location
    Cincinnati, OH
    Posts
    545
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Netscape: 15-30%?
    Think you read that wrong. They are split up by month.

  • #10
    Senior Coder
    Join Date
    Jun 2002
    Posts
    1,404
    Thanks
    2
    Thanked 32 Times in 32 Posts
    Think you read that wrong. They are split up by month.
    Un-huh. And your point is.....

  • #11
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Originally posted by adios
    Which browsers is he crossing there?

    Believe the Mozilla-crew is working on a contentEditable-style API but you-know-who would know more about it.

    http://bugzilla.mozilla.org/show_bug.cgi?id=97284
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #12
    New Coder
    Join Date
    Jul 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not following where's the textarea in those links?

  • #13
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    The link I just gave you is to a Bugzilla bug to add contentEditable to the textarea element -- and I believe, to all elements...
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #14
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Pooh
    I'm not following where's the textarea in those links?
    There is no textarea referenced in those links because textarea is defined to not allow the kind of text formatting that was requested.

  • #15
    New Coder
    Join Date
    Jul 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My point exactly Roy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •