Hi all,
starting from the drag''n''shop demo, I started to write an AJAX
Scrabble
(TM) as my first script.aculo.us app. I have the 225 fields in a table
and then make them droppable using
var fields = document.getElementsByClassName(''field'');
for (var i = 0; i < fields.length; i++) {
Droppables.add(fields[i], {onDrop:addProduct})
}
Unfortunately, dragging one of the 6 "letters" is incredibly slow (for
fewer fields it isn''t). Online at http://daduke.org/scrabble/
my newb questions are:
- is there a way to make it faster or
- is the script.aculo.us framework not suitable for something like
this?
thanks and kind regards,
-Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---