D
Daz
Hi guys,
I'm trying to make a script.aculo.us sortable list have a limited
number of elements in it. Now I can check for this really easily and
have a warning message, and of course the php throws an error back
anyway so they can't actually save more than the limit, but, is there
a way I can stop them from dropping the damn thing in the list if it's
full?
I thought about dynamically setting the containment array, so that
only the lists with space were on there, but script.aculo.us does not
seem to want to take a variable instead of the array.
So my next thought was to check onChange whether the item could be
dropped and get it to revert swoosh back over to it's starting point.
But i'm not too sure on how to do this. Any help would be much
appreciated!
Thanks!
Darren.
I'm trying to make a script.aculo.us sortable list have a limited
number of elements in it. Now I can check for this really easily and
have a warning message, and of course the php throws an error back
anyway so they can't actually save more than the limit, but, is there
a way I can stop them from dropping the damn thing in the list if it's
full?
I thought about dynamically setting the containment array, so that
only the lists with space were on there, but script.aculo.us does not
seem to want to take a variable instead of the array.
So my next thought was to check onChange whether the item could be
dropped and get it to revert swoosh back over to it's starting point.
But i'm not too sure on how to do this. Any help would be much
appreciated!
Thanks!
Darren.