SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    May 2005
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jquery and Interface

    I have a draggable and some droppables and the draggable reverts. Every thing works ok but i want it so if a droppable accepts a draggable the draggable will not revert.

    I've been playing with this for ages and still can't get it to work. If some one could help i would be really greatful.


  2. #2
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,727
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    Well I'm not too sure what you're asking but I guess you'd need to have a temporary variable that'd keep the x and y coordinates of the draggable so that when you're done dragging, the draggable is set to remain as whatever the variable says it should be.

    Did I interpret this wrongly??




    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  3. #3
    SitePoint Zealot
    Join Date
    May 2005
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you did .

    Jquery and interface makes it real easy to make draggables and droppables you can make the droppable change colour and what not it the droppable accepts the draggable. But i want the draggable to revert to where it start (Which is easy) but i want it not to revert if its dropped on a droppable.

    Did that make more sense?

  4. #4
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,727
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    Ore okay.

    Yes it did.

    I can't help you, but yes it did. haha




    Trying to fill the unforgiving minute
    with sixty seconds' worth of distance run.

    Update on Sitepoint's Migration to Discourse

  5. #5
    SitePoint Zealot
    Join Date
    May 2005
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lmao .

    Any one else?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •