Tag: Drag

人人网首页拖拽上传详解(HTML5 Drag&Drop、FileReader API、formdata)

nick | html5, js | 2011-12-23
人人网首页拖拽上传详解(HTML5 Drag&Drop、FileReader API、formdata)
早在公元2011年6月3日傍晚,人人网推出了一个很装B且完全无视IE浏览器的功能——拖拽上床。哦,Sorry, 是拖拽上传。到现在,这个功能已经上线了整整半年,这篇文章也足足拖延了半年才分享给大家,实在是对不住了,呵呵,今后彬Go一定要勤奋发Blog! 您还可以参考以下HTML5相关文章: 《HTML5 Drag&Drop 拖拽、FileReader实例教程》 《HTML5 WebSocket... [阅读全文]

How to Drag Out Files Like Gmail

nick | js | 2010-09-01
How to Drag Out Files Like Gmail
Ryan Seddon, aka the CSS Ninja, has a nice blog post up where he reverse engineers the new feature in Gmail where you can drag attachments from an email on to your desktop. Note that the feature only currently works in Chrome. Ryan begins with the following code: var file = document.getElementById(“dragout”);... [阅读全文]

Drag and drop is a gateway drug with DragDealer

nick | js, widget | 2010-06-22
Drag and drop is a gateway drug with DragDealer
DragDealer is a fine new JavaScript component that abstracts both touch and point interfaces. It makes life easy to do sliders and the like: PLAIN TEXT HTML: <div id=”my-slider” class=”dragdealer”> <div class=”red-bar handle”>drag me</div> </div> <script> ... [阅读全文]
Ɣ回顶部