Javascript 'point to file' widget (as seen in dreamweaver)

hi all. I’m planning a rails app and am wondering if anyone knows if
there’s a javascript widget with the same functionality as dreamweavers
‘point to file’ tool

for those who have not seen this it is basically a small, four pointing
arrow which you can click and hold on, and then drag and hold to a file
or directory to select that file as a link destination. As you drag
around an arrow comes from the widget to wherever you move the mouse.
when you have move onto a file, it becomes highlighted.

the way I want to use it is like this: I have a list of tasks which need
doing. I select a task and then ‘point’ to a person who will be assigned
that task.

many thanks if anyone can help

On 7/30/06, Simon H. [email protected] wrote:

hi all. I’m planning a rails app and am wondering if anyone knows if
there’s a javascript widget with the same functionality as dreamweavers
‘point to file’ tool

As long as you;re not referring to pointing to files in an application
outside the browser, this is a relatively simple drag-and-drop
implementation. You drag the pointy arrowy thing from a task and drop
it on the person. Have a look at:

http://demo.script.aculo.us/shop

Look at the source code (it’s in ruby) and substitute your tasks for
the items and the person for the shopping cart.

However, a more consistent way (in terms of useability would be to
drag the person on the task instead. This is more how people are
used to thinking about drag and drop. Implementation details stay
mostly the same, though.

Max

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