PDA

View Full Version : Question about run-time setup in javascript



sj_tt6
2 Aug 2010, 11:31 AM
Hi,

I have a simple question to all js guru in this forum, but it's not to me because I'm not an UI engineer.

If I have a javascript like the index.js in D&D of Sencha Touch. This js defines each draggable items in my page. Is there any way I can make this setting process dynamically when all my draggable items are created in the run-time?

Thanks!

nosarious
2 Aug 2010, 3:08 PM
Will this demo work? It handles several items which are created during the runtime of the page.


http://www.sencha.com/forum/showthread.php?102510-Example-touch-events-tap-tapstart-tapmove-doubletab-drag-and-pinch&highlight=double+tap