[Rails-spinoffs] draggables in IE visible outside div with overflow=hidden

2006-07-10 Thread Rob Clayburn
Hi All I have a series of images that I'm showing in a table inside a with overflow:auto on. Each of the images is a dragable. In firefox this works as expected (if the image list is longer than the div scroll bars appear to scroll the div and scrolling works). However in IE the images are

Re: [Rails-spinoffs] Drag and drop events. Or: How I learned to take over the world.

2006-04-06 Thread Rob Clayburn
Greg Militello wrote: What do I have done? Not a ton. I got stuck. Which is why I need you all. What is my problem(s)? Simply, events. I think I need to use a lot of event listeners to handle this well, but there does not appear to be a ton of doc on draggable/dropable events, an

Re: [Rails-spinoffs] how to distinguish between click and drag?

2006-03-16 Thread Rob Clayburn
Onmouseup / onmousedown / onclick / onmousemove events? Jim. Sorry I wasn't clear! If I drag the by clicking on the the 's onclick is fired as well as the 's drag. What I want is for the click event to be fired ONLY if the is not dragged. So, I guess I need to call an Event.sto

[Rails-spinoffs] how to distinguish between click and drag?

2006-03-15 Thread Rob Clayburn
Hi All I have a sortable list where each contains a link. e.g. link link link How can I go about stopping the click event on the link if the li element has been dragged? Cheers Rob ___ Rails-spinoffs mailing list Rails-spinoffs@lists.ruby

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-07 Thread Rob Clayburn
On Tuesday, March 07, 2006, at 6:43 PM, Rob Clayburn wrote: Hi All Not specifically a scriptaculous question, but I was wondering how people were going about maintaining access to their applications via standard urls. Say for example I've a shop at www.shop.com, and its pure ajax to loa

Re: [Rails-spinoffs] maintaining application state/urls

2006-03-07 Thread Rob Clayburn
Rob Clayburn wrote: Hi All Not specifically a scriptaculous question, but I was wondering how people were going about maintaining access to their applications via standard urls. Doh - as soon as you ask the question you find the answer: http://ajaxpatterns.org/Unique_URLs :D

[Rails-spinoffs] maintaining application state/urls

2006-03-07 Thread Rob Clayburn
Hi All Not specifically a scriptaculous question, but I was wondering how people were going about maintaining access to their applications via standard urls. Say for example I've a shop at www.shop.com, and its pure ajax to load in products. Now customer A wants to show a friend a product on

[Rails-spinoffs] element.remove when element being dragged

2006-02-20 Thread Rob Clayburn
Hi I've a class which creates a lot of droppable icons (folders) and another class that creates some draggable file icons. When I drop one of the files in the folders I want to remove the file icon from the screen. However, doing Element.remove(droppedElement); results in a repeated js error "

Re: [Rails-spinoffs] cancelling droppable if draggable dropped on different droppable

2006-02-16 Thread Rob Clayburn
Could you explain please ? I don't really understand this greedy option :/ _ if a dropables greedy is set to true then any other dropable under it will not know that a dropable has been dropped on it. For my case making the window a greedy dropable meant that you now have to drag th

Re: [Rails-spinoffs] cancelling droppable if draggable dropped on different droppable

2006-02-16 Thread Rob Clayburn
Rob Clayburn wrote: Or alternatively how can I ensure that a droppable is only activated if my dragable is dropped out side of my image manager window? Many thanks Rob To answer my own question I made each window a greedy droppable object. Cheers Rob

[Rails-spinoffs] cancelling droppable if draggable dropped on different droppable

2006-02-16 Thread Rob Clayburn
I'm writing a web app in which I have several 'windows' in which the user can perform given functionality. So for example I have one window which manages images on a server (drag an image into a folder and the file physically moved on the server via ajax ) These images can also be

Re: [Rails-spinoffs] Scriptaculous and Prototype based Rich Text Editor

2005-12-23 Thread Rob Clayburn
Hi Tom I'm just about to start on integrating TinyMCE (which is a great editor) with scriptaculous, any pointers on what you've learnt would be really appreciated! Cheers Rob Tom Fakes wrote: >I tried using Dojo's editor - 0.2.1 - and it crashes my Firefox every >time! I'm currently integratin

[Rails-spinoffs] ghosting draggables

2005-10-19 Thread Rob Clayburn
Hi All I'm not sure if this is possible but Currently what happens is this *I have a draggable which is ghosted on drag * On release of the draggable the orgional element (the one that doesnt move) disappears and the ghosted element reverts back to the origional elements postion what I'd l