[Rails-spinoffs] Sortables question

2006-06-29 Thread Randall, Mike
Hello,   I am new to Scriptaculous, and was recently brought into a project using it to create an email Newsletter builder.  The idea is that the user will have lists of elements that he can add to the email page by dragging the element he wants to add from an “available sections” contain

Re: [Rails-spinoffs] new idea for dragdrop library

2006-06-29 Thread Peter Michaux
On 6/29/06, Gregory Hill <[EMAIL PROTECTED]> wrote: > You certainly could do as you suggest and it was part of my > prototyping. It may produce satisfactory user experience in some > situations. The most important part is preserving the native browser > events and avoiding looping. Well, what ma

RE: [Rails-spinoffs] new idea for dragdrop library

2006-06-29 Thread Gregory Hill
> You certainly could do as you suggest and it was part of my > prototyping. It may produce satisfactory user experience in some > situations. The most important part is preserving the native browser > events and avoiding looping. Well, what made you decide against it? Greg __

Re: [Rails-spinoffs] new idea for dragdrop library

2006-06-29 Thread Peter Michaux
On 6/29/06, Gregory Hill <[EMAIL PROTECTED]> wrote: http://peter.michaux.ca/articles/2006/06/16/donut-dragdrop Interesting approach. While reading your article, an idea occurred to me. Why not simply offset the dragged item to be a few pixels below the cursor as soon as the drag begins. Then

RE: [Rails-spinoffs] Javascript Detect - Safari Version

2006-06-29 Thread Maninder, Singh
Seems like I got my answer: http://developer.apple.com/internet/safari/uamatrix.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maninder, Singh Sent: Thursday, June 29, 2006 10:17 PM To: rails-spinoffs@lists.rubyonrails.org Subject: [Rails-spinoffs] Java

[Rails-spinoffs] Javascript Detect - Safari Version

2006-06-29 Thread Maninder, Singh
Does anyone know how to accurately check for Safari version number? navigator.appVersion doesn't work fine - it's giving me funny results. I want to be able to tell a Safari 1.0 from a Safari 1.3 for my application. ___ Rails-spinoffs mailing list Rails

RE: [Rails-spinoffs] new idea for dragdrop library

2006-06-29 Thread Gregory Hill
> I've been working on new ideas for a JavaScript drag and drop library. > I haven't found a drag and drop library flexible enough for my needs > and I think I have come up with something that is generally > worthwhile. I use the DOM and Event utilities from Yahoo! UI and no > Prototype.js. I'm int

[Rails-spinoffs] new idea for dragdrop library

2006-06-29 Thread Peter Michaux
Hi, I've been working on new ideas for a JavaScript drag and drop library. I haven't found a drag and drop library flexible enough for my needs and I think I have come up with something that is generally worthwhile. I use the DOM and Event utilities from Yahoo! UI and no Prototype.js. I'm interes

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Brian Dinsmore
so the only question i have about sending the NULL byte is how the Ajax.Request knows that it shouldnt enter the onComplete function when it receives the NULL byte... how do you make sure that it still waits for the processing servlet to respond to it?  On 6/29/06, Michael Peters <[EMAIL PROTECTE

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Michael Peters
Brian Dinsmore wrote: > so i forgot one detail... while the "cancel-able" process is running, > the user can navigate around and do whatever else they want, except > kicking off an additional "cancel-able" process. thus, since they could > be kicking off various other servlets, i dont want to st

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Brian Dinsmore
so i forgot one detail... while the "cancel-able" process is running, the user can navigate around and do whatever else they want, except kicking off an additional "cancel-able" process.  thus, since they could be kicking off various other servlets, i dont want to stop any of that processing.  the

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Michael Peters
Brian Dinsmore wrote: > my issue is that the process on the server normally > completes by writing the results of it processing to the user's session > which is ultimately used to drive what is seen on the page when they hit > our custom "refresh" button... It doesn't matter that the you put the

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Brian Dinsmore
alrighty, that totally makes sense that the client cant really kill a server process... my issue is that the process on the server normally completes by writing the results of it processing to the user's session which is ultimately used to drive what is seen on the page when they hit our custom "re

Re: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Michael Peters
Brian Dinsmore wrote: > im using an Ajax.Request to hit a java servlet and do some processing. > during this time, if the user feels the process is taking too long, > he/she can hit a cancel button to kill the request...by calling the > * abort* function off of the transport, will that kill t

RE: [Rails-spinoffs] Ajax.Updater

2006-06-29 Thread Sam
Title: Message Good point.  I had stayed away from this thread, but I was wondering why this alternative wasn't considered:   Add an HTML comment to the responseText (the content), e.g.,     (It could even be the first line)   Any condition (string, numeric or both) could tell the client-

RE: [Rails-spinoffs] Ajax.Updater

2006-06-29 Thread Martinez, Andrew
I don’t mean to hijack the thread. I might possibly be misunderstanding Il Neofita’s intentions with positive/negative feedback. Just for clarifications here are the two meanings I can see:   1)   The Ajax operation was being used to send data to the server, the server would return a

RE: [Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Sam
Title: Message im using an Ajax.Request to hit a java servlet and do some processing. during this time, if the user feels the process is taking too long, he/she can hit a cancel button to kill the request...    by calling the  abort function off of the transport, will that kill the processin

[Rails-spinoffs] Ajax.Request abort question

2006-06-29 Thread Brian Dinsmore
im using an Ajax.Request to hit a java servlet and do some processing. during this time, if the user feels the process is taking too long, he/she can hit a cancel button to kill the request...    by calling the abort function off of the transport, will that kill the processing that my server is do

Re: [Rails-spinoffs] Add to enumerable

2006-06-29 Thread Andreas Wahlin
I probably formulated myself badly, I wanted to be able to add stuff, to something that you can do each() with :) For instance, the lovely $$() push worked just as advertised, sorry I didn't try it out myself sooner. *slightly ashamed* Andreas On Jun 28, 2006, at 16:48 , Martin Ström wrote

[Rails-spinoffs] Re: Looking for Javascript IDE

2006-06-29 Thread Ahmed Mohombe
IntelliJ has accepted my Project for their opensource program and it totally rocks. It does support anonymous functions and classes without any problems. I can only recommend this editor. It comes with wonderful code completion (even xml) and alot more aiming to get stuff done fast. Thanks for

Re: [Rails-spinoffs] Looking for Javascript IDE

2006-06-29 Thread Kjell Bublitz
IntelliJ does have CVS, SVN and via plugin also FTP support.. there are numerous plugins availble who are able to do all kind of things.I haven't figured it all out but from my knowledge this IDE can do that. If i remeber correctly JEdit can do FTP stuff do but CVS.regards, kjellOn 6/29/06, Sam <[E

[Rails-spinoffs] dynamic generation of iframes and writing to them

2006-06-29 Thread Maninder, Singh
Hello Everyone, I would like to get some suggestions on a problem I am trying to address. - I send a request to a 3rd party server (for ads) and a response is received from them. - Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party respons

[Rails-spinoffs] Speeding up Prototype's $$ Selector

2006-06-29 Thread Mike Rumble
Just a quick heads up that Sylvain Zimmer has posted a performance upgrade for Prototype's $$ selector, making the function up to 20 times faster. This could be just the thing I've been looking for recently as a site I'm currently developing makes heavy usage of that $$ selector and I have no

Re: [Rails-spinoffs] Ajax.Updater

2006-06-29 Thread Il Neofita
Thank you, now everything is clear.On 6/29/06, Thomas Fuchs <[EMAIL PROTECTED]> wrote: A HTTP server returns a HTTP status code with every answer. The Ajax.Request object knowsabout this, and will execute the onSuccess function only if a non-error status code was returned(normally "200 OK"). You ca

[Rails-Spinoffs] Autocompleter without a default choice

2006-06-29 Thread Scott Fortmann-Roe
Hi, I have an ajax auto completer for a text field in a form. All's good. Unfortunately, I also want the form to be submitted when the user hits 'return' in the text field. This combination of circumstances means that if the user is typing his entry and then hits return to submit it is possible

RE: [Rails-spinoffs] Looking for Javascript IDE

2006-06-29 Thread Sam
Title: Message Do any of these IDE environments have built-in FTP which will move "modified" files to the remote site?   Sam   ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-sp

Re: [Rails-spinoffs] Ajax.Updater

2006-06-29 Thread Thomas Fuchs
A HTTP server returns a HTTP status code with every answer. The Ajax.Request object knowsabout this, and will execute the onSuccess function only if a non-error status code was returned(normally "200 OK"). You can also fine-tune this by using the various methods described onthe Wiki page Martin men

Re: Re: [Rails-spinoffs] Ajax.Updater

2006-06-29 Thread Martin Ström
In php you could have a script: See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for a list of available error codes. Prototype will set a response as "success" if the status code is between 200 and 300. Another solution: and just use the onSuccess handler, like new Ajax.Request(