How to implement click and drag feature in Rails

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, script.aculo.us. 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.

Kathy Xu schrieb:

Rails is not going to do those things, it is a server side technology.

prototype, script.aculo.us libraries may be able to support such feature

I encourage you to investigate those JS libraries more thoroughly.

/ak

Andy K. wrote:

prototype, script.aculo.us 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
script.aculo.us 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs