Login   Register  
Icontem

File: demo_simple.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Rolich  >  Drag and Drop  >  demo_simple.html  >  Download  
File: demo_simple.html
Role: Auxiliary data
Content type: text/plain
Description: Simple demo
Class: Drag and Drop
Handle drag and drop events of page elements
Author: By
Last change:
Date: 2012-12-07 02:15
Size: 617 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
        "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Dragdrop.js demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="demo.css">
</head>
<body>

<div id="green" class="draggable">Move</div>

<script type="text/javascript" src="https://raw.github.com/mark-rolich/Event.js/master/Event.js"></script>
<script type="text/javascript" src="Dragdrop.js"></script>
<script>
"use strict";
var evt         = new Event(),
    dragdrop    = new Dragdrop(evt);
</script>
</body>
</html>