[Rails-spinoffs] Implementing nested drag and drop using scriptaculous

2006-03-22 Thread Dipesh Khakhkhar
  Hi. I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this. The situation is like this. _ | abc                      |    =>  Box1Line1              | cde                      |    =>  Box1Line2 | e

Re: [Rails-spinoffs] IE flakiness?

2006-03-22 Thread Jerod Venema
Can you post your code? It'll help to have something to look at for some of the other options.Tips number 3 and 43) Make the blindup/blinddown go from 1 to 99 instead of 0 to 1004) Make sure the item has "layout" ( http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/haslayout.asp)O

RE: [Rails-spinoffs] [ANN] Support for window scrolling fordraganddrop

2006-03-22 Thread Gregory Hill
I have two fixes in a text file. I created the diff using "diff -u", so I hope you can apply the patch. The file is attached. I never could get my optional 'scroll when the dragged element goes outside the scrolled element' thing to work. I got it to start scrolling correctly, but then it would

RE: [Rails-spinoffs] [ANN] Support for window scrolling for draganddrop

2006-03-22 Thread Gregory Hill
> Cool! Please do investigate it. Am doing so now, but not making much progress. Pretty thick code, that draggable stuff. One day it'll click. > The passing-through of the speed and sensitivity options should be > more or less trivial, i guess. Yeah, true. Just thought I'd point it out. Becaus

Re: [Rails-spinoffs] [ANN] Support for window scrolling for drag anddrop

2006-03-22 Thread Thomas Fuchs
Cool! Please do investigate it. The passing-through of the speed and sensitivity options should be more or less trivial, i guess. -Thomas Am 22.03.2006 um 21:15 schrieb Gregory Hill: Anyone: Please give it good testing and report any problems you might have. Seems to work pretty well i

RE: [Rails-spinoffs] [ANN] Support for window scrolling for drag anddrop

2006-03-22 Thread Gregory Hill
> Anyone: Please give it good testing and report any problems you might > have. Seems to work pretty well in Firefox 1.5, IE 6, and Opera 8. Haven't tested any others yet. All of these comments are based on testing it as part of a Sortable, so they may not all apply to a regular Draggable. One

RE: [Rails-spinoffs] [ANN] Support for window scrolling for draganddrop

2006-03-22 Thread Gregory Hill
To answer my own question, yes. I looked at the trunk and it passes the option on from Sortable. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Gregory Hill > Sent: Wednesday, March 22, 2006 12:51 PM > To: rails-spinoffs@lists

RE: [Rails-spinoffs] [ANN] Support for window scrolling for drag anddrop

2006-03-22 Thread Gregory Hill
Will that work with Sortable as well? > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Thomas Fuchs > Sent: Wednesday, March 22, 2006 12:48 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: [Rails-spinoffs] [ANN] Support for win

[Rails-spinoffs] [ANN] Support for window scrolling for drag and drop

2006-03-22 Thread Thomas Fuchs
Today has seen the incorporation of patch #3921 into the script.aculo.us trunk, which allows for automatic scrolling of the page when dragging a draggable element. Thanks to rdmiller for submitting the patch! To use it, you basically just do: new Draggable('blah',{scroll:window}); Anyone:

RE: [Rails-spinoffs] Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)

2006-03-22 Thread Ryan Gahl
Lol, np, that's what we're here for... backup :-) The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use o

RE: [Rails-spinoffs] Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)

2006-03-22 Thread Gregory Hill
Oops, haha, damn I'm tired today. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Ryan Gahl > Sent: Wednesday, March 22, 2006 12:27 PM > To: rails-spinoffs@lists.rubyonrails.org > Subject: RE: [Rails-spinoffs] Capture/Observer k

RE: [Rails-spinoffs] Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)

2006-03-22 Thread Ryan Gahl
Greg, small typo... need quotes around "keypress" :-) Event.observe(window, "keypress", function (e) { alert(e.keyCode); }); The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or pri

RE: [Rails-spinoffs] Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)

2006-03-22 Thread Gregory Hill
Try: Event.observe(window, keypress, function (e) { alert(e.keyCode); }); Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On Behalf Of Paula Laneri > Sent: Wednesday, March 22, 2006 12:15 PM > To: rails-spinoffs@lists.rubyonrails.org > Subj

[Rails-spinoffs] Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)

2006-03-22 Thread Paula Laneri
Hi all, I really appreciate all of you who are behind this great proyect. Im from Argentina (if you dont notice for my accent eheheh) Im trying to capture width the func Event.observe() the keys F3 and F11. Also the combinations for ALT and the arrows keys, and other combinations like: CTRL+X (

RE: [Rails-spinoffs] event:selectors VS Behavior

2006-03-22 Thread Ryan Gahl
This, like Behavior.js, can be viewed as nice and elegant. However, I much prefer the control of defining event handlers manually. One of my biggest reasons is for proper disposal of the event handlers when they are no longer needed. I write applications where each “widget” is an autonomous

Re: [Rails-spinoffs] problem with Ajax.Updater evalscript and firefox

2006-03-22 Thread Guillermo Movia
Yesterday i had a problem with evalscript too, but the anwer was that the javascript inside the Ajax.Updater had mispelling. The best choice is that you paste the code (or part of this) to see it. En castellano: Ayer tuve un problema con evalscript, pero terminó siendo algo del código que traía co

[Rails-spinoffs] Re: problem with Ajax.Updater evalscript and firefox

2006-03-22 Thread Francisco Calderon
i answer me, the problem was i was putting the _javascript_ function inside the page with the form, now i put the functions in the page who call the form and works well, greetsOn 3/22/06, Francisco Calderon <[EMAIL PROTECTED]> wrote: Hello there people, im having a problem with the Ajax.Updater eva

[Rails-spinoffs] event:selectors VS Behavior

2006-03-22 Thread Alex Duffield
This looks quite nice at first glance.. http://encytemedia.com/event-selectors/I would love to hear some of your comments pro or con on how this compares to Behavior. __ Alex Duffield . Principal . InControl Solutions . http://www.

[Rails-spinoffs] problem with Ajax.Updater evalscript and firefox

2006-03-22 Thread Francisco Calderon
Hello there people, im having a problem with the Ajax.Updater evalscripts, i fill and div with a form that i get with the Ajax.Updater, that form had a _javascript_ validation, i put evalScripts true but when i get the form i had an unexpected close in the firefox, i had a long time looking the ans

RE: [Rails-spinoffs] Serialized form... problems with accents

2006-03-22 Thread Gregory Hill
I have run into the same problem. It's the javascript URIEncode function, I believe, that is the issue. Haven't had time to research a workaround yet. Let me know if you figure one out. Greg > -Original Message- > From: [EMAIL PROTECTED] [mailto:rails-spinoffs- > [EMAIL PROTECTED] On

RE: [Rails-spinoffs] document.write() in ajax response

2006-03-22 Thread Maninder, Singh
Martin - This is my server response - **cript> page="from ajax"; document.write('test'); <**cript> Test I am not able to follow what you suggested. Could you take this example and explain? Thanks in advance, Mandy. <>___ Rails-spinoffs mailing

[Rails-spinoffs] Serialized form... problems with accents

2006-03-22 Thread Blaise Bernier
Hi, I'm working on a french website and I use the Form.serialize method to send the info through AJAX. The thing is that the accentuated letters (é,ê,à, etc.) don't get replaced by their HTML entities and they get corrupted when retrieving the data. How could I fix that? thanks a lot, Bla

Re: [Rails-spinoffs] document.write() in ajax response

2006-03-22 Thread Martin Bialasinski
On 3/22/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: > response is received it will be rendered till the point document.write is > encountered and after that it will write to a new document instead of writing > to the same one. I know this is how document.write is supposed to work. > > But, do

[Rails-spinoffs] document.write() in ajax response

2006-03-22 Thread Maninder, Singh
Hi, I am facing a problem and the description is as follows - I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that has some html snippet & some javascript). So far so good - things work fine. However, if 2.html had any document.write code - eg document.write('hello')