-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_position.html
More file actions
34 lines (29 loc) · 885 Bytes
/
example_position.html
File metadata and controls
34 lines (29 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="app.css">
<script src="nickable.js"></script>
</head>
<body>
<div class="draggable">
<div class="drag-obj"></div>
</div>
<div class="draggable">
<div class="drag-obj"></div>
</div>
<div class="nickable" id="nickdrop"></div>
<script>
window.onload = function(){
var nick = new Nickable('#nickdrop', {
bounds: true,
allow: '.drag-obj'
}).init();
}
</script>
</body>
</html>