Displaying 1 result from an estimated 1 matches for "dropallow".
Did you mean:
dropall
2008 May 02
2
making an element draggable after it's been dropped in a drop zone
...nction after
i''ve added some css styles...
document.observe(''dom:loaded'', function() {
new Draggable(''draggable'', { revert: true});
Droppables.add(''dropp'', { accept: ''accept'', hoverclass:
''dropallowed'', onDrop : function(obj){
obj.setStyle(''width: 100px; height: 100px; background: blue;'');
}
any ideas?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Ra...