Forum: Ruby on Rails How to implement click and drag feature in Rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ba993230f3733daf55360466975a6f1c?d=identicon&s=25 Kathy Xu (kathy)
on 2007-07-06 21:15
Hi, I don't know if Ruby on Rails has an easy way to implement this
feature. Basically it is similar to google map's click on the map and
can drag it vertically or horizontally. I also want to show some tv
schedules in a panel then I can click and drag the panel to let it show
other channels or other times.

I am new to Ajax, prototype, I only know they support
features such as drag and drop, etc. Does anyone know if they can
support the feature I want to implement? Or rails has other ways to
implement the feature I want? I really appreciate your help.
10a8337cf8879d37affd54e1cab4d79e?d=identicon&s=25 Andy Koch (Guest)
on 2007-07-06 22:57
(Received via mailing list)
Kathy Xu schrieb:
Rails is not going to do those things, it is a server side technology.

prototype, libraries may be able to support such feature

I encourage you to investigate those JS libraries more thoroughly.

Ba993230f3733daf55360466975a6f1c?d=identicon&s=25 Kathy Xu (kathy)
on 2007-07-07 01:07
Andy Koch wrote:

> prototype, libraries may be able to support such feature

Thanks for your answer!

Basically I want to click and drag a panel in four directions. I saw has draggable_element. But it seems it cannot tell which
direction is the drag suppose to go. How does it know if I want to drag
towards left, or towards right?
This topic is locked and can not be replied to.