Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 1074ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
m

multi-list

Recently created Least recently created Recently updated Least recently updated

timmy / SortableJS 多清單拖放排序

Last active 5 hours ago dom-manipulation drag-and-drop html javascript multi-list sortablejs ui-interaction

本範例展示如何使用 SortableJS 在多個清單之間拖放項目,允許用戶在不同分類間移動內容,適用於 任務管理、拖放式分類、視覺化數據管理 等應用。

0 0 0 1
1 <!DOCTYPE html>
2 <html lang="zh-TW">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>SortableJS 多清單範例</title>
7 <style>
8 .container {
9 display: flex;
10 gap: 20px;