forked from alexshnur/drag-n-drop-table-columns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
158 lines (152 loc) · 5.72 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="Description" content="drag and drop table columns, bootstrap style, javascript, jquery" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Drag & Drop Table Columns v.0.1.3</title>
<meta name="Keywords" content="drag, drop, table, columns, bootstrap, style, javascript, jquery">
<meta name="Robots" content="all">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="Revizit-after" content="7 days">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="css/dragndrop.table.columns.css" />
</head>
<body>
<div class="table-responsive container">
<nav class="navbar navbar-default navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://github.com/alexshnur/" class="btn btn-success navbar-btn"><span>My page on GitHub</span></a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li> </li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">More plugins <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="http://alexshnur.github.io/drag-n-drop-table-columns/">Drag & Drop Table Columns</a></li>
<li><a href="http://alexshnur.github.io/dynamic-url-params-from-in-form/">Dynamic URL params from/in form</a></li>
<li><a href="#">Resizable table columns</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section class="clearfix">
<a href="https://github.com/alexshnur/drag-n-drop-table-columns/zipball/master" class="btn btn-primary"><span>Download .zip</span></a>
<a href="https://github.com/alexshnur/drag-n-drop-table-columns/tarball/master" class="btn btn-primary"><span>Download .tar.gz</span></a>
<a href="https://github.com/alexshnur/drag-n-drop-table-columns" class="btn btn-warning pull-right"><span>View on GitHub</span></a>
</section>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_vk"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f2a64cb4f856bf8"></script>
<!-- AddThis Button END -->
<h1>Drag & Drop Table Columns v.0.1.3</h1>
<blockquote><p class="text-warning">Work in IE9+, Google Chrome, Mozzila Firefox</p></blockquote>
<table class="table table-bordered table-hover">
<thead>
<tr class="dnd-moved">
<th>Column #1</th>
<th>Column #2</th>
<th>Column #3</th>
<th>Column #4</th>
<th>Column #5</th>
</tr>
</thead>
<tbody>
<tr class="dnd-moved info">
<td>Row #1-1</td>
<td>Row #1-2</td>
<td>Row #1-3</td>
<td>Row #1-4</td>
<td>Row #1-5</td>
</tr>
<tr class="dnd-moved">
<td>Row #2-1</td>
<td>Row #2-2</td>
<td>Row #2-3</td>
<td>Row #2-4</td>
<td>Row #2-5</td>
</tr>
<tr class="dnd-moved success">
<td>Row #3-1</td>
<td>Row #3-2</td>
<td>Row #3-3</td>
<td>Row #3-4</td>
<td>Row #3-5</td>
</tr>
</tbody>
</table>
<code><link rel="stylesheet" href="css/dragndrop.table.columns.css" /></code><br /><br />
<pre>
<table class="table table-bordered table-hover">
<thead>
<tr class="dnd-moved">
<th>Column #1</th>
<th>Column #2</th>
<th>Column #3</th>
<th>Column #4</th>
<th>Column #5</th>
</tr>
</thead>
<tbody>
<tr class="dnd-moved">
<td>Row #1-1</td>
<td>Row #1-2</td>
<td>Row #1-3</td>
<td>Row #1-4</td>
<td>Row #1-5</td>
</tr>
<tr class="dnd-moved">
<td>Row #2-1</td>
<td>Row #2-2</td>
<td>Row #2-3</td>
<td>Row #2-4</td>
<td>Row #2-5</td>
</tr>
<tr class="dnd-moved">
<td>Row #3-1</td>
<td>Row #3-2</td>
<td>Row #3-3</td>
<td>Row #3-4</td>
<td>Row #3-5</td>
</tr>
</tbody>
</table></pre>
<code><script src="js/jquery-1.11.0.min.js"></script></code><br />
<code><script src="js/dragndrop.table.columns.js"></script></code><br />
<code><script></code><br />
<code> $('.table').dragableColumns();</code><br />
<code></script></code><br /><br />
<blockquote><p class="text-warning">Use parameters for Drag Table Columns</p></blockquote>
<pre>
$('.table').dragableColumns({
drag: true,
dragClass: 'drag',
overClass: 'over',
movedContainerSelector: '.dnd-moved'
});</pre>
</div>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/dragndrop.table.columns.js" type="text/javascript"></script>
<script>
$('.table').dragableColumns();
</script>
</body>
</html>