• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About the editing buttons in a web page

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
We can walk to school together. And we can both read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic