Mensahe mula sa diskusyon
Sortable: Drag to another box, but NOT sort within self?
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Received: by 10.150.136.6 with SMTP id j6mr284510ybd.9.1218465480249; Mon, 11
Aug 2008 07:38:00 -0700 (PDT)
Date: Mon, 11 Aug 2008 07:38:00 -0700 (PDT)
X-IP: 66.187.177.210
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US;
rv:1.8.1.16) Gecko/20080714 Firefox/2.0.0.16 Flock/1.2.4,gzip(gfe),gzip(gfe)
Message-ID: <5f7cc34f-1bf0-4654-a67f-66c834f1022a@k30g2000hse.googlegroups.com>
Subject: Sortable: Drag to another box, but NOT sort within self?
From: AJ <fireboxstud...@gmail.com>
To: jQuery UI <jquery-ui@googlegroups.com>
Hey guys, got a Sortable dilemma. I have two containers that I have
made sortable. I want the bottom box to be able to drag contents into
the top one, but I ONLY want the top one to allow sorting the order.
I've illustrated what I need to do with this screenshot:
http://screencast.com/t/2UpserTwl6q
The code I have thus far is:
$("#topFriends").sortable();
$("#newestFriends").sortable({
connectWith: ["#topFriends",]
});
Any ideas how this could be accomplished?
Thanks much,
AJ