Does anyone know if this is even possible

Does anyone know if this is even possible

I'm trying to create draggable div that sits inside of a containing div.  This is all working correctly and it is properly contained.  

What I really want to do is make is so that if you drag it off one edge of its container, it reappears from the other side.  I've attached a diagram to clarify this.  Any direction would be greatly appreaciated.

Thanks!
SR 
    • Topic Participants

    • kris