*
<link href="bootstrap3.0.3/css/bootstrap.min.css" rel="stylesheet"/> <link href="bootstrap3.0.3/css/bootstrap-theme.min.css" rel="stylesheet"/> <!-- PAGE LEVEL STYLES --> <link href="bootstrap3.0.3/1002/assets/css/bootstrap-fileupload.min.css" rel="stylesheet" /> <!--CUSTOM BASIC STYLES--> <link href="bootstrap3.0.3/1002/assets/css/basic.css" rel="stylesheet" /> <!--CUSTOM MAIN STYLES--> <link href="bootstrap3.0.3/1002/assets/css/custom.css" rel="stylesheet" /> <ul class="nav nav-tabs nav-stacked" id="sortable"> <li><a href='#'>主题维护</a></li> <li><a href='#'>自定义组件</a></li> <li><a href='#'>内容与主题</a></li> </ul> <script src="LayoutIT/js/jquery-2.0.0.min.js"></script> <script src="bootstrap3.0.3/js/bootstrap.min.js"></script> <!-- PAGE LEVEL SCRIPTS --> <script src="bootstrap3.0.3/1002/assets/js/bootstrap-fileupload.js"></script> <!-- CUSTOM SCRIPTS --> <%-- <script src="bootstrap3.0.3/1002/assets/js/custom.js"></script> --%> <script src="js/jquery/ui/jquery-ui-1.9.2.custom.min.js"></script>
原来一个sortable就可以让元素上下拖拽排序
$("#sortable").sortable();
$("#sortable").disableSelection();
*