• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About the editing buttons in a web page

 
Ailsa Cape
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I'd like to know whether the editing buttons in the Add New Topic page of this forume, such as , and BOLD etc, are made through HTML language or JavaScript and how to do so. I found in some web pages there are also several icon or buttons which can be dragged to the editing area. How can I do this?

Thanks in advance!
Regards, Ailsa Cape
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at the source of that page you'll see that JavaScript is involved. One of the great things about the web is that all of HTML, CSS and JavaScript are open for inspection - if you want to know how it's done, simply use the source.

An introduction to drag&drop can be found in chapter 12 of this handy introduction to javaScript.
 
Ailsa Cape
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

Thank you a lot! Your answer is really helpful. I should first learn the instrucation to drag&drop carefully and try to apply it in my application.

Best Regards,
Ailsa Cape
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic