Re: [Rails-spinoffs] Custom tooltip component?

2005-12-28 Thread Francois Beausoleil
Hi ! 2005/12/28, Amol Katdare <[EMAIL PROTECTED]>: > Any suggestions? Please take a look at overLIB. It is available from http://www.bosrup.com/web/overlib/ It is available under an Artistic license. I used it in a todo-like application to show a longer description about what each item was su

Re: [Rails-spinoffs] InPlaceEditor update of page contents ?

2005-12-08 Thread Francois Beausoleil
Hello John, 2005/12/8, John Butler <[EMAIL PROTECTED]>: > Or you can accomplish the one call my stuffing in extra information > into the response header. This information will be ignored by the > autocomplete and everything else in Prototype and Scriptaculous > (leaving it wide open to play with).

Re: [Rails-spinoffs] InPlaceEditor update of page contents ?

2005-12-07 Thread Francois Beausoleil
Hello Nicolas, 2005/12/7, Nicolas <[EMAIL PROTECTED]>: > You can pass an onComplete function in options of your control. > By default, I think it does something like : > > new Effect.Highlight(element, {startcolor: this.options.highlightcolor}); Thanks, but how does that help me ? In onComplete,

[Rails-spinoffs] InPlaceEditor update of page contents ?

2005-12-07 Thread Francois Beausoleil
Hi all ! InPlaceEditor refreshes only the element that was updated. Is there any way to make it update tons of other stuff ? I have a table where changing a value in it causes changes in most other cells (weight to percentage to money). Thanks for any help ! -- François Beausoleil http://blog.t

Re: [Rails-spinoffs] Scriptaculous insertion fails when XHTML Strict used in FireFox

2005-11-09 Thread Francois Beausoleil
Hi ! 2005/11/9, Thomas Fuchs <[EMAIL PROTECTED]>: > For now, include the scripts via <%= javascript_include_tag :defaults %> Thanks. François ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listi

[Rails-spinoffs] Scriptaculous insertion fails when XHTML Strict used in FireFox

2005-11-08 Thread Francois Beausoleil
Hi ! I'm getting an uncaught exception requiring the Scriptaculous libraries when everything says XHTML 1.0 Strict: class ApplicationController < ActionController::Base before_filter :set_content_type protected def set_content_type response.headers['Content-Type'] = 'application/xhtml+

[Rails-spinoffs] SELECT instead of INPUT in InPlaceEditor ?

2005-10-31 Thread Francois Beausoleil
Hi ! I'd like to know if it is possible to create a server-side generated SELECT object instead of an INPUT for the InPlaceEditor. I guess it is, because createEditField() seems to be devoted to that. Unfortunately, my JavaScript skills are lacking. Can someone direct me as to how to override a

Re: [Rails-spinoffs] Ajax.Updater to replace element, not the content

2005-10-27 Thread Francois Beausoleil
Hi ! 2005/10/27, Simon Arnaud <[EMAIL PROTECTED]>: > Is there something equivalent to Ajax.Updater to replace the element, > intead of replacing it's content ? > > An option to Updater, or another function ? Add a container element above the one you want to replace, and make the updater target th

Re: [Rails-spinoffs] Dragging to a textfield?

2005-10-25 Thread Francois Beausoleil
Hi ! 2005/10/25, Linda Coleman <[EMAIL PROTECTED]>: > I'm trying to drag a copy of a string from a list into a text field so > that the original string stays in the list. I'm able to drag the item > and set the value of the text field onDrop. But the original text leaves > the list & with revert s

Re: [Rails-spinoffs] how to prevent "blinking" when adding an element with an effect

2005-10-25 Thread Francois Beausoleil
Hi ! 2005/10/25, Ron Piterman <[EMAIL PROTECTED]>: > I am not sure we are all addressing the same problem. > My concret problem is that : > 1. I add a div to the document. > 2. the div displays for a short time <-- Thats the problem > 3. I let it slide down > 4. the div *disapears* and sildes down

Re: [Rails-spinoffs] persisting entities to session instead of db

2005-10-18 Thread Francois Beausoleil
Hello Michael, Wrong list, but I'll reply anyway. 2005/10/17, Michael Burton <[EMAIL PROTECTED]>: > I want to be able to have a few of my models optionally persist to my > session instead of to my database under certain circumstances. Basically I > want to be able to provide a limited demo vers