Go to Post Just be yourself, be honest, and most importantly, be present. The best role models are the ones you can relate to. - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-07-2005, 14:38
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Formatted textareas

How do you format individual portions of text in a textarea? IE, like Gmail or this thingy does.
__________________

  #2   Spotlight this post!  
Unread 07-07-2005, 14:42
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Formatted textareas

It's called a WYSIWYG (What You See Is What You Get) editor.

http://www.google.com/search?q=%22WYSIWYG%20Editor%22
That search should give you a ton of results.
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 07-07-2005, 14:46
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Formatted textareas

Quote:
Originally Posted by Mike
It's called a WYSIWYG (What You See Is What You Get) editor.

http://www.google.com/search?q=%22WYSIWYG%20Editor%22
That search should give you a ton of results.
But how is it actually done? What HTML/CSS combo actually allows you to change the formatting in the box?

If I had
Code:
<textarea>a b c d e f g</textarea>
and I wanted to make "c" bold, how could I do it? Just assumed it's static for now, don't worry about JS (for now ). I just need the static HTML.
__________________

  #4   Spotlight this post!  
Unread 07-07-2005, 16:13
Randy Randy is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Feb 2003
Location: Atlanta
Posts: 79
Randy will become famous soon enough
Re: Formatted textareas

This site uses DHTMLEditor, which you can view the source to through OpenFirst (http://www.openfirst.org or http://openfirst.sourceforge.net).
__________________
FREE WEB HOSTING for FIRST teams and related organizations.
  • Team sites
  • Image Hosting
  • Video Hosting
Email promo@sevaa.com or click here for details.
  #5   Spotlight this post!  
Unread 07-07-2005, 18:54
Timothy D. Ginn's Avatar
Timothy D. Ginn Timothy D. Ginn is offline
I check here maybe once a year.
no team
 
Join Date: Apr 2003
Rookie Year: 2002
Location: Port Perry, ON. Canada
Posts: 247
Timothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to all
Send a message via ICQ to Timothy D. Ginn Send a message via AIM to Timothy D. Ginn Send a message via MSN to Timothy D. Ginn Send a message via Yahoo to Timothy D. Ginn
Re: Formatted textareas

Quote:
Originally Posted by Ryan M.
How do you format individual portions of text in a textarea? IE, like Gmail or this thingy does.
See also:

http://www.chiefdelphi.com/forums/sh...010#post394010

(and the PM that I sent you this morning with much of the same information). It's kind of weird to be answering questions via PM before they're asked, lol.
__________________
Alumni of FRC Team 1006
Former mentor of Full Lego Alchemist (FLL 5621) - Sempar School / Computing Students' Association of Queen's University
  #6   Spotlight this post!  
Unread 07-07-2005, 19:19
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Formatted textareas

Quote:
Originally Posted by Timothy D. Ginn
See also:

http://www.chiefdelphi.com/forums/sh...010#post394010

(and the PM that I sent you this morning with much of the same information). It's kind of weird to be answering questions via PM before they're asked, lol.
Yep. I was hoping for a simple "oh, you just stick this attribute in" type thing, so I wouldn't have to dig through all that stuff.

I did find out how it's done (Mozilla has a nice page), and started some work (well, you can type stuff) at http://traherom.homeunix.net/editor/js.html. It's kinda plain because I was just using it as testing...

I'm thinking about doing something along the lines of this (click to edit part of the page. Or maybe I could do it as select the text you want to edit then press a key), but add rich editing instead of just the plain textarea.
__________________

  #7   Spotlight this post!  
Unread 07-07-2005, 19:29
Timothy D. Ginn's Avatar
Timothy D. Ginn Timothy D. Ginn is offline
I check here maybe once a year.
no team
 
Join Date: Apr 2003
Rookie Year: 2002
Location: Port Perry, ON. Canada
Posts: 247
Timothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to allTimothy D. Ginn is a name known to all
Send a message via ICQ to Timothy D. Ginn Send a message via AIM to Timothy D. Ginn Send a message via MSN to Timothy D. Ginn Send a message via Yahoo to Timothy D. Ginn
Re: Formatted textareas

Quote:
Originally Posted by Ryan M.
Yep. I was hoping for a simple "oh, you just stick this attribute in" type thing, so I wouldn't have to dig through all that stuff.

I did find out how it's done (Mozilla has a nice page), and started some work (well, you can type stuff) at http://traherom.homeunix.net/editor/js.html. It's kinda plain because I was just using it as testing...

I'm thinking about doing something along the lines of this (click to edit part of the page. Or maybe I could do it as select the text you want to edit then press a key), but add rich editing instead of just the plain textarea.
That would be nice (just having to set a single attribute); actually, though, the one I suggested in the edit I made to the thread mentioned above will go through every textarea (or other element that you choose) and convert it to be fancy automatically. It also doesn't require mucking around with setting Javascript things up on each of the forms you want to use for onclick, etc. I'm actually surprised that it's so transparent. (If you download it and look at the simple demo, which has a lot less HTML, etc. confusing things, it becomes obvious how things work, and easy to move up to the advanced one).
__________________
Alumni of FRC Team 1006
Former mentor of Full Lego Alchemist (FLL 5621) - Sempar School / Computing Students' Association of Queen's University
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi