Source: stackoverflow.com --- Sunday, April 30, 2017
i am intermediate jquery experience, so i need help here with an awesome interface Demo: Demo But i don't know why it isn't drag to other div's with same id's "#drophere". please make it work just like Windows Taskbar. Thanks $( function() { $( "#dragme" ).draggable({ appendTo: 'body', containment: '#drophere' }); } ); body { position: fixed; width: 100%; height: 100%; margin: 0; padding: 0; } #dragme { position: absolute; background: rgba(0, 100, 200, 0.6); width: 100%; height: 50px; left: 0; bottom: 0; text-align: center; font-size: 36px; z-index: 999; } #drophere { position: absolute; background: rgba(200, 100, 0, 0.1); text-align: center; } .top {top:0;width: 100%;height: 50px;} .left {left:0;width: 50px;height: 100%;} .bottom {bottom:0;width: 100%;height: 50px;} .right {right:0;width: 50px;height: 100%;}
from Windows http://ift.tt/2qu0ct6
No comments:
Post a Comment