[Rails-spinoffs] Sortables: Detecting which sortable object came from and which it was dropped on

2006-07-11 Thread Jaimz
ok, i have 3 sortable elements this is how thier all three set up.. | Sortable.create('blocks1',{ dropOnEmpty:true, tag:'div', containment:['blocks1','blocks2','blocks3'], only:'sortable',

[Rails-spinoffs] Mailing Address Verification Web Services/Systems etc

2006-07-11 Thread Cesar Ho
Hi Guys,Has anyone used any sort of mailing address verification and standardization services/systems with a Rails or even a PHP application? If so can you give a short review of the process, and recommendations? I'm interested in integrating it with a web app in hopes it would end my frustrations

Re: Re: [Rails-spinoffs] Effect.SlideDown/Up() and HTML issues

2006-07-11 Thread Jon Tirsen
On 7/11/06, Todd Ross <[EMAIL PROTECTED]> wrote: Why? Without testing it, I'd speculate that when the is shown, its height would be 0 (or near-0 depending on styles applied) because the inner div would be set display:none and have no place in the page flow. The animation would then gradually

Re: [Rails-spinoffs] Making HTML display-able on a page

2006-07-11 Thread Thomas Fuchs
Oh, plus you can do some seriours jiggery-pokery by using posting back thecurrent browser DOM to the server to log HTML update errors by issuing a"silent" Ajax call with the .innerHTML property of the BODY element as POST data.-ThomasAm 11.07.2006 um 10:01 schrieb Siegfried Puchbauer:have a look at

Re: [Rails-spinoffs] Making HTML display-able on a page

2006-07-11 Thread Thomas Fuchs
If you need this for debugging/dev purposes rather than production/user-based errorreports, just install firebug[1] and you'll see each and every ajax call in glorious detail. :)-Thomas[1] http://www.joehewitt.com/software/firebug/Am 11.07.2006 um 10:01 schrieb Siegfried Puchbauer:have a look at th

Re: [Rails-spinoffs] Re: Writing a form widget (select) with Builder doesn't work properly (selected value isn't selected)

2006-07-11 Thread marc-olivier bernard
On 7/11/06, Chris Lear wrote: * marc-olivier bernard wrote (11/07/06 16:57): > On 7/11/06, Chris Lear wrote: > >> Are you sure it's a Firefox bug? The way the builder code works is very >> strange... to create an option element, it seems to create a select >> element, put the option element into

[Rails-spinoffs] pause

2006-07-11 Thread Nicolas, Internethic
Hi, By combining Appear, Move By and Fade I have developed a kind of vertical news ticker ... That works fine. But ... I want to make a pause after the Move By (or before the Fade Out) effect, and I don't know how to do this. I heard about the queue interval but I am unable to modify it ...

Re: [Rails-spinoffs] Re: Writing a form widget (select) with Builder doesn't work properly (selected value isn't selected)

2006-07-11 Thread Chris Lear
* marc-olivier bernard wrote (11/07/06 16:57): On 7/11/06, Chris Lear wrote: Are you sure it's a Firefox bug? The way the builder code works is very strange... to create an option element, it seems to create a select element, put the option element into it, then fetch the option out of that sel

Re: [Rails-spinoffs] Re: Writing a form widget (select) with Builder doesn't work properly (selected value isn't selected)

2006-07-11 Thread marc-olivier bernard
On 7/11/06, Chris Lear wrote: Are you sure it's a Firefox bug? The way the builder code works is very strange... to create an option element, it seems to create a select element, put the option element into it, then fetch the option out of that select element again. The result is that the option

Re: [Rails-spinoffs] how to write lazy loading droppable?

2006-07-11 Thread Ryan Gahl
I wrote an article on this forum back February on that exact topic...http://www.ruby-forum.com/topic/54193#33080On 7/11/06, Grzesiek Slusarek <[EMAIL PROTECTED]> wrote: hi All. Does anyone wanted to write droppables with lazyloading? I mean on my site I'm doing iteration over the arrayand making d

Re: [Rails-spinoffs] Re: Writing a form widget (select) with Builder doesn't work properly (selected value isn't selected)

2006-07-11 Thread Chris Lear
* marc-olivier bernard wrote (11/07/06 15:26): On 7/11/06, marc-olivier bernard <[EMAIL PROTECTED]> wrote: I am not sure whether the problem is due to Scriptaculous or to Firefox's DOM Engine. It is a firefox bug. I posted a comment on Bugzilla Mozilla: https://bugzilla.mozilla.org/show_bug.

Re: [Rails-spinoffs] how to write lazy loading droppable?

2006-07-11 Thread Ryan Gahl
Please keep in mind that those tips were general in nature, and intended mainly to get people going in the right direction. Having just re-read that post, I can see some things that I have since improved, and I apologize for not delving into all that stuff (or submitting any proper patches)... but

[Rails-spinoffs] how to write lazy loading droppable?

2006-07-11 Thread Grzesiek Slusarek
hi All. Does anyone wanted to write droppables with lazy loading? I mean on my site I'm doing iteration over the array and making droppable which is so uneffective, that I start to wonder how to write droppable with "lazy loadinh". It must be making droppable when draggable is over it and after

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Sam
Title: Message Thanks.  I appreciate your response and acknowledge that this question was too off-topic for this forum.   Sam   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin McCormackSent: Tuesday, July 11, 2006 10:49 AMTo: rai

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Justin McCormack
I recently wanted to do something similar with showing a debug output DIV. Here's my code:var BugTool = Class.create();BugTool.prototype = {  element: null,  initialize: function(element, options) {     this.element = $(element);    Event.observe(document, "keyup", this.onKeyUp.bindAsEventListener

[Rails-spinoffs] Re: Writing a form widget (select) with Builder (Scriptaculous 1.6.1) doesn't work properly (selected value isn't selected)

2006-07-11 Thread marc-olivier bernard
On 7/11/06, marc-olivier bernard <[EMAIL PROTECTED]> wrote: I am not sure whether the problem is due to Scriptaculous or to Firefox's DOM Engine. It is a firefox bug. I posted a comment on Bugzilla Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=300016#c10 -- Marc-Olivier BERNARD _

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Martinez, Andrew
Title: Message “this stuff” = generic non-prototype and non-scriptaculous help.   Also my previous email: www.quirksmore.ORG, the first link I typed .COM   -Andrew Martinez   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Sam Sent: Tuesday, J

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Sam
Title: Message I appreciate the posts and regret requesting what is obvious to many, but I wasn't sure what was meant by "this stuff" below.   Sam   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan GahlSent: Monday, July 10, 2006 10:

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Martinez, Andrew
www.quircksmode.com   specifically for starters   http://www.quirksmode.org/js/introevents.html   Sam, no offense, but read up please.   -Andrew Martinez   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ryan Gahl Sent: Tuesday, July 11, 2

Re: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Ryan Gahl
Lol... "Ajax Joe"... hey if you don't have a blog yet that's a great name for a blog.On 7/11/06, Bauser, Joseph (Joe) < [EMAIL PROTECTED]> wrote:Not only did someone beat me to it, but my name is apparently ajax now... way to go me... :\ CheersJoe... not Ajax-Original Message-From: [EMAIL P

Re: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Ryan Gahl
Just to drive a point home... that site also has a search function. :-)On 7/11/06, Bauser, Joseph (Joe) < [EMAIL PROTECTED]> wrote:The okClick event handler will pass an Event into your function which means the reference page you're looking for is here: http://www.w3schools.com/htmldom/dom_obj_even

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Bauser, Joseph (Joe)
Not only did someone beat me to it, but my name is apparently ajax now... way to go me... :\ Cheers Joe... not Ajax -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bauser, Joseph (Joe) Sent: Tuesday, July 11, 2006 9:42 AM To: rails-spinoffs@lists.rubyonrai

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Bauser, Joseph (Joe)
The okClick event handler will pass an Event into your function which means the reference page you're looking for is here: http://www.w3schools.com/htmldom/dom_obj_event.asp Cheers Ajax -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam Sent: Tuesday, Ju

Re: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Ryan Gahl
Google search for "_javascript_ detecting keys pressed during click" reveals this as the first result...http://www.webreference.com/js/column11/modifierkeys.html On 7/11/06, Sam <[EMAIL PROTECTED]> wrote: I appreciate your help.  I'm still at a loss.  Let me ask again with specifics.   I h

RE: [Rails-spinoffs] Hiding an event to launch a debug window

2006-07-11 Thread Sam
Title: Message I appreciate your help.  I'm still at a loss.  Let me ask again with specifics.   I had in mind adding an onClick event handler to an image.  I wasn't able to field keypress events on the image (if I ) and I was wondering if I could interrogate the CTRL and ALT keys during th

Re: Re: [Rails-spinoffs] Scriptaculous Sortable within a Sortable

2006-07-11 Thread Justin McCormack
Thanks for your reply, but I don't actually want a tree. I want two independent lists - I don't want the user to be able to drag answer list items into the question list..Justin ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://l

Re: [Rails-spinoffs] Auto compleater ....question about the value.

2006-07-11 Thread Stripe-man
Thanks for the reply...  Please forgive me.. but  I should have provided the actual example of what im using (code originally from the demo page)
[Rails-spinoffs] Writing a form widget (select) with Builder (Scriptaculous 1.6.1) doesn't work properly (selected value isn't selected)
Hi, In the following test page, I build a small formular with a select widget, using Scriptaculous 1.6.1, and find the selected value not to be selected. The same formular written directly works properly. I am not sure whether the problem is due to Scriptaculous or to Firefox's DOM Engine. This

Re: [Rails-spinoffs] Scriptaculous Sortable within a Sortable

Scripty 1.6.1 has a sortable tree. You just make a new sortable on the parent list element and pass tree:true in options and it includes all child lists to make one big sortable tree. On 11/07/06, Justin McCormack <[EMAIL PROTECTED]> wrote: Hi, Forgive me if this has been discussed/resolved bef

Re: Re: [Rails-spinoffs] Effect.SlideDown/Up() and HTML issues

On 7/10/06, Eskil Kvalnes <[EMAIL PROTECTED]> wrote: On 7/11/06, Jon Tirsen <[EMAIL PROTECTED]> wrote: > I've been using a technique where I've had a hidden colspan="x"> (where x = total number of columns). Inside the I > have a that is also hidden (display:none), when I start the > effect I s

Re: [Rails-spinoffs] Auto compleater ....question about the value.

you could try returning the options that way:234228282SSSThis should display 228282SSS but fill the field 234 when it is selected hthOn 7/11/06, Stripe-man <[EMAIL PROTECTED]> wrote: Hello... http://demo.script.aculo.us/ajax/autocompleterI have a question in reqards to the above demo... I have a li

[Rails-spinoffs] Auto compleater ....question about the value.

Hello... http://demo.script.aculo.us/ajax/autocompleterI have a question in reqards to the above demo...I have a list of alphanumeric values that I need in the drop down.. however... I need the ID numbers that are pulled from the db that related to each of the paticular numbers to be placed as the

[Rails-spinoffs] Scriptaculous Sortable within a Sortable

Hi,Forgive me if this has been discussed/resolved before. I have done a search of both this mailing list and the web, but I can't find a solution to my problem (which is odd as I would think plenty of people would have the same requirement and therefore the same problem). Basically, I have a OL of

Re: [Rails-spinoffs] Making HTML display-able on a page

have a look at the method escapeHTML() of String objects. for example:$('mydiv').innerHTML = request.responseText.escapeHTML();hth On 7/10/06, Bauser, Joseph (Joe) <[EMAIL PROTECTED]> wrote: Depends what you mean.A good place to check for functionality in prototype is http://www.sergiopereira.com/a