[Rails-spinoffs] Ajax.Updater problem in IE

2006-05-29 Thread Gokhan Arli
Hello All, Anybody can give me an advice why following code works in Firefox + Safari but not in IE? function load_mails(div_id){ $(div_id).toggle(); //hide or show var pars = 'id=' + div_id; var myAjax = new Ajax.Updater(

Re: [Rails-spinoffs] Really easy field validation with Prototype Help

2006-05-29 Thread Andrew Tetlaw
Yeah, AJAX is next on the list. But in a generic way, not bound to any server framework. On 30/05/06, Whitcraft, Jon <[EMAIL PROTECTED]> wrote: Hello, I'm trying to implement this. The problem that I am having is that the form submits via an Ajax call and I can figure out how to get t

Re: [Rails-spinoffs] Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY

2006-05-29 Thread Jerod Venema
Nice grid man On 5/29/06, Lindsey Simon <[EMAIL PROTECTED]> wrote: I would love to get some feedback and test a patch to rev. 4380. First, the money shot - check out this demo of a scriptaculous DataGrid: http://development.finetooth.com/?p=13 I'm using the as a sortable with the 's as t

[Rails-spinoffs] attribute selectors: IE6 compatibility and enhancements

2006-05-29 Thread Tobie Langel
Hi All, I've posted a patch a couple days ago to bring IE6 compatibility and enhancements to Brian Donovan's attribute selectors. It's here: http://dev.rubyonrails.org/ticket/5170 What it does: * adds full IE6 compatibility to attribute selectors. * adds ^=, $= and *= operators * replaces !=

Re: [Rails-spinoffs] Really easy field validation with Prototype Help

2006-05-29 Thread puzzelv
Try using this: http://railsrtv.rubyforge.org/ This will perform validation in real-time while the form is being filled in. -- View this message in context: http://www.nabble.com/Really+easy+field+validation+with+Prototype+Help-t1699648.html#a4615915 Sent from the RubyOnRails Spinoffs forum at N

[Rails-spinoffs] Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY

2006-05-29 Thread Lindsey Simon
I would love to get some feedback and test a patch to rev. 4380. First, the money shot - check out this demo of a scriptaculous DataGrid: http://development.finetooth.com/?p=13 I'm using the as a sortable with the 's as the sortable elements. The Patch file: http://www.commoner.com/~lsimon/scr

Re: [Rails-spinoffs] stopping effects, help me again please

2006-05-29 Thread Siegfried Puchbauer
hi rag,it's easy to pass the options (duration etc) through to you effect call:Pulsator = Class.create();     Pulsator.prototype = {initialize: function(element,options)    {         this.options = options || {};         this.options.afterFinish = this.action.bind(this);        this.stopped = false

[Rails-spinoffs] Really easy field validation with Prototype Help

2006-05-29 Thread Whitcraft, Jon
Hello,   I’m trying to implement this.  The problem that I am having is that the form submits via an Ajax call and I can figure out how to get the validation code to return false if something failed validation.  Below is the link to the webpage but I see nothing on how to have it call a fu

[Fwd: [Rails-spinoffs] stopping effects, help me again please]

2006-05-29 Thread raul . andres
Hi * and thanks for you responses some body help me stop effect, just last effect. Thanks! to somebody help me with: Pulsator = Class.create(); Pulsator.prototype = {initialize: function(element) { this.stopped = false; new Effect.Pulsate(element, { afterF

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-05-29 Thread Jonathan Weiss
Another question on drag and drop. Is there a way to disable scrolling? There is the option 'scroll' set to false in the code but scrolling is used anyway. Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-spinoffs mailing list Rails-s

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-05-29 Thread Jonathan Weiss
I have some elements inside a div with overflow:auto. When I trie to drag them outside of the div, the div starts to scroll. Is there a way to stop this behaviour for drag and drop? I thought of maybe using callback to disable the overflow and restoring it againg after the drop. Did someone

Re: [Rails-spinoffs] JSON not auto-evaluated

2006-05-29 Thread Todd Ross
On 5/29/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: you actually *should* quote your property names. For instance, if you use the property name 'class' and it doesn't have quotes around it, Safari will yell at you. Having quotes around the property names is no less correct than not having quo

Re: [Rails-spinoffs] Sortable.create containment:

2006-05-29 Thread Jeremy Kitchen
On Sunday 28 May 2006 10:52, Jonas Thomsen wrote: > hi > > i got a problem with a Sortable.create. > > i got an array containing the ID of the elements i want to make an sortable > of, that is no problem, but i want to be able to drag between the sortables > and that where my problem is. i dont kno

Re: [Rails-spinoffs] JSON not auto-evaluated

2006-05-29 Thread Jeremy Kitchen
On Sunday 28 May 2006 15:46, Chris Chabot wrote: > Using prototype 1.5.0_rc0 and the Zend Framework (0.1.3) for the json > part i'm able to simple do: > > $responses = array('a' => '1', 'b' => '2'); > header('X-JSON:'.Zend_Json::encode($responses)); > > Note i did have to hack Zend_Json first to no