I have a sortable draggable list with a droppable delete box, each
entry in the list has a single text line.
My question is this, how do I determine that when the list reaches a
certain size that I want it to use scroll bars to avoid disrupting the
rest of the page layout, whilst keeping the delete box in the same
place if possible (ie at the bottom, i dont want it to be part of the
scrolling)
This is the current code I use to build the list:
function startup()
{
Sortable.create("chunksList", {});
Droppables.add("trash",
{
onDrop: function(element)
{
var deleteChunk = confirm("Are you sure you want to
delete this
Chunk?")
if (deleteChunk)
{
Element.hide(element);
process(element.id, "delChunk");
}
}
});
}
Many thanks for taking the time to read.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---