jQuery拖拽排序外掛程式製作拖拽排序效果(附源碼下載),jquery源碼下載

來源:互聯網
上載者:User

jQuery拖拽排序外掛程式製作拖拽排序效果(附源碼下載),jquery源碼下載

使用jquery拖拽排序外掛程式製作拖拽排序效果是一款非常實用的滑鼠拖拽布局外掛程式。如下:

效果示範         源碼下載

html代碼:

<h1>水平拖拽</h1><div class="demo"><div class="item item1"><span>1</span></div><div class="item item2"><span>2</span></div><div class="item item3"><span>3</span></div><div class="item item4"><span>4</span></div><div class="item item5"><span>5</span></div></div><script src="js/jquery-1.11.3.min.js"></script><script src="js/jquery.dad.min.js"></script><script>$(function(){ $('.demo').dad();});</script><!-- 以下資訊與示範無關,可不必理會 --><style>body { margin: 0; border-left: 200px solid #ccc;}h1 { width: 1000px; margin: 40px auto; font: 32px "Microsoft Yahei";}.demo { width: 1000px; margin: 0 auto;}.menu { position: absolute; left: 0; top: 0; bottom: 0; width: 200px; padding-top: 100px; font-family: Consolas,arial,"宋體"; background-color: #ccc;}.menu a { display: block; height: 40px; margin: 0 0 1px 2px; padding-left: 10px; line-height: 40px; font-size: 14px; color: #333; text-decoration: none;}.menu a:hover { background-color: #eee;}.menu .cur { color: #000; background-color: #fff !important;}.thead { width: 728px; height: 90px; margin: 0 auto; border-bottom: 40px solid transparent;}</style><div class="menu"><a class="cur" href="index.html">1、水平拖放</a><a href="index2.html">2、垂直拖放</a><a href="index3.html">3、多行拖放</a><a href="index4.html">4、指定拖動地區</a><a href="index5.html">5、回呼函數</a><a href="index6.html">6、允許/禁止拖放</a><a href="index7.html">7、仿垃圾簍</a><a href="index8.html">8、仿購物車</a></div>

以上所述是小編給大家介紹的jQuery拖拽排序外掛程式製作拖拽排序效果(附源碼下載),希望對大家有所協助!

您可能感興趣的文章:
  • jquery外掛程式jquery.nicescroll實現圖片無捲軸左右拖拽的方法
  • jquery外掛程式jquery.beforeafter.js實現左右拖拽分隔條對比圖片的方法
  • jQuery拖拽外掛程式gridster使用指南
  • jQuery實現拖拽效果外掛程式的方法
  • jquery網頁元素拖拽外掛程式效果及實現
  • JQuery之拖拽外掛程式實現代碼
  • jquery外掛程式jquery.dragscale.js實現拖拽改變元素大小的方法(附demo源碼下載)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.