> If you're creating them on mouseover and destroying them on mouseout, > why not wait until mousedown to create the draggable? You'd have to > "prime the pump" as the mousedown event it's looking for has already > occurred, but it does work. Looks something like this:
Well, I think Ryan (to whom he was replying) was saying he didn't create them until they were moused over, but he wasn't destroying them on mouseout. It was more just a lazy-loading mechanism so that he didn't create draggables where they would never possibly be used. Makes sense to me. If you've got a huge number of draggables, and most likely few or none of them will be used, why use up the memory? Greg _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs