Topic awaiting preservation: Syntax coloring (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: övik |
posted 07-10-2003 18:13
Hi, can anyone improve on this? http://www.naltabyte.se/colorsync.htm |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 07-10-2003 21:19 |
Maniac (V) Inmate From: Brisbane, Australia |
posted 07-10-2003 22:33
Using contentEditable="true" means you'll have a really really hard time getting that to work with any other browser appart from IE. Unless you build the whole thing around DOM node manipulation, I doubt you'd be able to do it. I've tried to do this before with IE5.5 and NN6 but it got way to fustrating so I gave up... Although, I knew a lot less about the DOM back then, but I still think it'd be a job and a half. If you want something like this to be cross browser then I'd highly recommend you do it in somehting like Java, Flash or Shockwave -- you'd save yourself a world of headaches. But if you can live with it being IE only then, well, it's already looking quite good. =) |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-10-2003 22:57
As far as "contentEditable" is concerned and IE only support, I would like to point out that Mozilla starting with version 1.3 does have initial support for "designMode" property and rich text editing. Although designMode is limited to documents only (IFRAMES for example), while contentEditable works with all objects in IE, it's a nice addition to Mozilla... |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 07-11-2003 03:13 |
Bipolar (III) Inmate From: övik |
posted 07-12-2003 01:59
..Unless you enter a break that is... |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 07-12-2003 03:18
mr.maX: Welcome back |