# Place draggable boxes in grid

**URL:** <https://www.ruby-forum.com/t/place-draggable-boxes-in-grid/145288>\
**Category:** Rails\
**Created:** [August 7, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/place-draggable-boxes-in-grid/145288 "2008-08-07T15:14:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [August 7, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/place-draggable-boxes-in-grid/145288/1 "2008-08-07T15:14:32Z")

</div>

Hi,

I have 3 draggable boxes, wich default horizontal positioned.

A
 \<%= draggable\_element :a%\> 
B
 \<%= draggable\_element :b%\> 
C
 \<%= draggable\_element :c %\>

The boxes can me move arround on the homepage.

I also want to realize:

a)The boxes must be in a defined grid (div)  
b)The boxes interact together, so when i drag box A to box B, Box B  
moves up to another space in the grid.

Example \> [http://www.mobissimo.com/search\_airfare.php](http://www.mobissimo.com/search_airfare.php) see Modules…

Someone links/examples???

Thanks in advance…

remco
