Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

online html editor

 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to a provide a online html editor in one of my web-application(servlet,jsp). A online html editor like the one in hotmail compose(rich text editor), yahoomail compose(color and graphics), is it possible ?? if so can you give me some reference links..
Regards
Balaji
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is more appropriate for dhtml, I think.
It would be possible to make an html editor with server side technology. You'd need either frames or XMLHttpRequest (mozilla, win IE) on the client.
http://unstable.elemental.com/mozilla/build/latest/mozilla/extensions/dox/interfacensIXMLHttpRequest.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/htm/xmobjxmlhttprequest.asp
I wouldn't do it that way; It would require users to wait for each reply.
The one in yahoo is windows-only and only works in IE. I think the mozilla team is working on isContentEditable for mozilla. You might try to use the Range object for moz.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the info Smith,
I will look into them now.
Regards
Balaji
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic