Sweets287 Posted February 11, 2013 Share Posted February 11, 2013 I've been playing with some new Drag and Drop code. Pretty simple stuff but what I am after is setting some rules for it. What I'm try to build is a tower where people can put different levels on the tower and choose different tops. Hard bit I'm struggling with is keeping the tower top at the top of the pile and replacing it when a different top is drag over it. Can anyone shed some light? Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/274362-html5-drag-and-drop/ Share on other sites More sharing options...
Sweets287 Posted February 11, 2013 Author Share Posted February 11, 2013 I think I've figured that I need to keep the top of the tower in a seperate Drop Div, that should keep it on top. But I'm still struggling to limit the Div to one droppable element in it? Quote Link to comment https://forums.phpfreaks.com/topic/274362-html5-drag-and-drop/#findComment-1411845 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.