facebook

Call a function after dropping a draggable object..

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #349391 Reply

    Jossimaru
    Member

    Hey guys!
    I’m using JqueryUI library to implement ‘drag and drop’ functionality on few objects, which has worked very well so far.
    I’ve managed to make three objects draggable (the “red” ones in the sample example), and one object droppable (the “blue” in the example),
    as well as the red objects whom lose their ability to ‘drag’ when dropped (many thanks to Paul and CincyPlanet for this)…

    However, I’m stuck at the stage where I’d like a function to be executed when all three red ‘draggable’ objects are dropped (into blue box in example)..
    (The function could include anything like playing a music file, or going to a different page using phoneui.gotopage)

    I presume it’s quite straight forward but my java skills have brought me this far, and I hope any of you helpful guys can point me towards the right direction 🙂
    Many thanks in advance for any comments given..
    Jossimaru
    P.S. I’m aiming towards an iPad native app, using the latest mobione (2.6.2)…

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)
Reply To: Call a function after dropping a draggable object..

You must be logged in to post in the forum log in