-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 46a3d9c
Showing
6 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
.DS_Store |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,46 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<script type="text/javascript" src="jquery.js"></script> | |||
<script type="text/javascript" src="jquery.special.dnd.js"></script> | |||
<script type="text/javascript" src="../formation.js"></script> | |||
|
|||
<script type="text/javascript"> | |||
$(function() { | |||
$('form').formation(); | |||
}); | |||
</script> | |||
|
|||
<style type="text/css"> | |||
form { | |||
border: 1px solid #CCC; | |||
height: 300px; | |||
padding:20px; | |||
border:1px solid #DDDDDD; | |||
background: #f0f0f0; | |||
} | |||
|
|||
.toolbar { | |||
background-color: red; | |||
height:300px; | |||
} | |||
|
|||
form .drop-message { | |||
|
|||
|
|||
text-align:center; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<div class=""> | |||
<h1>Formation</h1> | |||
<h2 class="alt">Use the fields in the toolbar below to drag them into the form</h2> | |||
</div> | |||
<form> | |||
|
|||
<div class="drop-message">Drop Here</div> | |||
</form> | |||
<div class=""> | |||
</body> | |||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
(function(window, $) { | |||
$.fn.formation = function() { | |||
var self = $(this); | |||
return self.each(function() { | |||
|
|||
|
|||
|
|||
|
|||
}); | |||
} | |||
}(window, window.jQuery)); |