Jump to content

HTML5 Drag and Drop in IE10 PPB2


Guest BSchwarz

Recommended Posts

Guest BSchwarz

Drag and drop is a user interaction model that we all use on a day to day basis, probably without giving it much thought. We drag files from one folder to another, text from one area of a document to another, and PowerPoint slides from one place in the presentation to another. HTML5 Drag and Drop, available in IE10 Platform Preview 2, brings this natural, familiar behavior to the Web. Magnetic Poetry on the IE Test Drive site is example of a site that uses HTML5 Drag and Drop to create an experience that previously would have needed a plug-in or JavaScript library.

 

For an in-depth look at how this demo works, check out this video.

 

Before HTML5, drag and drop behavior on the Web only partially worked without JavaScript frameworks. Now making your site work well with drag and drop is simple.

 

Making an element draggable

 

While certain elements can be dragged by default (images, links and selected text), HTML5 lets you make any element draggable by setting its draggable attribute to

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...