[Rails-spinoffs] Updated: window dialog script

2006-03-02 Thread Marco M. Jaeger
The dialog script has been updated – thanks to Jerod we were able to add themes – please see changelog for further details and fixes.   The latest version can be downloaded from here: http://www.net4visions.com/dev/downloads/dialog.zip    

RE: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Maninder, Singh
Thanks Jeremy. That makese sense :) -Mandy. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Hey How did they do that?

2006-03-02 Thread Aneesha Bakharia
Thanks - this has been a big help in achieving the interface I am after.AneeshaOn 3/3/06, Thomas Fuchs < [EMAIL PROTECTED]> wrote:Here a bit  on preventing text selection, cross-browser compatible: http://mir.aculo.us/articles/2005/07/19/disabling-text-selection-for-web-2-0-apps-ThomasAm 02.03.2006

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Jerod Venema
Which *should* be unique :-)On 3/2/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: On Thursday 02 March 2006 08:22, Maninder, Singh wrote:> Hi Guys,>> Maybe this is a stupid question, but I am confused at the moment.>> The $F() function is a handy shortcut to get the value of the an input > field.>>

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Jeremy Kitchen
On Thursday 02 March 2006 08:22, Maninder, Singh wrote: > Hi Guys, > > Maybe this is a stupid question, but I am confused at the moment. > > The $F() function is a handy shortcut to get the value of the an input > field. > > So, doing something like $F('name') is equivalent to > document.formname.n

RE: [Rails-spinoffs] Calendar widget

2006-03-02 Thread Louis Walch
Ok cool. The library sounds interesting, hope it goes well, and wish i knew enough to help out :) I will upload the file you sent and give it a shot. > Not any of my stuff, no. I'm currently only working on my company's > products (which are sold privately into Hospitals). > > Myself, Marco J

RE: [Rails-spinoffs] Calendar widget

2006-03-02 Thread Ryan Gahl
Not any of my stuff, no. I'm currently only working on my company's products (which are sold privately into Hospitals). Myself, Marco Jaeger, and Jerod Venema (both from this list) are slowly working on a side project that may eventually involve some sort of publicly accessible library of these wi

RE: [Rails-spinoffs] Calendar widget

2006-03-02 Thread Louis Walch
Is there a working demo of this online? > Well, this is the modified version of Joe's calendar. It works... (Joe, > I hope you don't mind my reposting the code here)... > > > > But I'm actually working on a different one that I'm deriving from the > DHTMLGoodies one that we discussed that day, an

Re: [Rails-spinoffs] Delayed input posting

2006-03-02 Thread Robin Haswell
Yeah that's the one, but I did re-forward this yesterday as well :-) Janko Mivšek wrote: Hi Rob, I'm looking back for your patch. I this a right one? [PATCH] Allow generic autocompleter (Ajax.Watcher) 13feb06 http://threebit.net/mail-archive/rails-spinoffs/msg00215.html Thanks Janko Robin

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Nicholas Schlueter
The $F(id) function returns the value of the form field where the id is the id of the form field. example mark up javascript var fooValue = $F('foo_id'); Now fooValue == "123" should return true. It does different things depending on what type of form field you are asking for the value of (i.e

Re: [Rails-spinoffs] Delayed input posting

2006-03-02 Thread Janko Mivšek
Hi Rob, I'm looking back for your patch. I this a right one? [PATCH] Allow generic autocompleter (Ajax.Watcher) 13feb06 http://threebit.net/mail-archive/rails-spinoffs/msg00215.html Thanks Janko Robin Haswell wrote: What you need is exactly the patch that I posted to this mailling list a mo

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Robin Haswell
Tried $F('name').value = "foo"; ? I'd assume $F returns the first form element it finds. -Rob Alex Duffield wrote: > I also have a question about $F() while we are on the topic.. > > am I correct in assuming that $F() is read only? > > I have never been able to set a forms elements value u

Re: [Rails-spinoffs] Question about $F()

2006-03-02 Thread Alex Duffield
I also have a question about $F()  while we are on the topic.. am I correct in assuming that $F()  is read only? I have never been able to set a forms elements value using $F('name')="Alex"  I have always had to use $('name').value = "Alex" __

[Rails-spinoffs] Question about $F()

2006-03-02 Thread Maninder, Singh
Hi Guys, Maybe this is a stupid question, but I am confused at the moment. The $F() function is a handy shortcut to get the value of the an input field. So, doing something like $F('name') is equivalent to document.formname.name.value which is pretty cool. Now, what if I have 2 forms on the pa

Re: [Rails-spinoffs] Hey How did they do that?

2006-03-02 Thread Thomas Fuchs
Here a bit on preventing text selection, cross-browser compatible: http://mir.aculo.us/articles/2005/07/19/disabling-text-selection-for- web-2-0-apps -Thomas Am 02.03.2006 um 10:53 schrieb Aneesha Bakharia: I've seen web apps where cells within a table column can be highlighted by dragging

RE: [Rails-spinoffs] Hey How did they do that?

2006-03-02 Thread Ryan Gahl
In my dragdrop.js file there is a line (can’t remember if I added it or if it was there to begin with, lol) that prevents text selection while dragging a Draggable object... you could use something similar at a global level if you don't just want to limit the behavior to Draggables.   The

[Rails-spinoffs] [PATCH] small correction to allow editing of html with Ajax.InPlaceEditor

2006-03-02 Thread Robin Haswell
Ajax.InPlaceEditor will not let you edit HTML as it strips all tags coming from the loadTextURL Ajax callback. Bug or feature? I say bug. The patch below fixes this. -Rob --- js/controls.js.old 2006-03-02 13:46:26.0 + +++ js/controls.js 2006-03-02 13:46:29.0 + @@ -6

Re: [Rails-spinoffs] rant on browser makers (was something about updating TD's)

2006-03-02 Thread Jerod Venema
Nice one Martin!In case anyone's interested, FF can be told to use the IE box model:.exampleone { -moz-box-sizing: padding-box;} http://developer.mozilla.org/en/docs/CSS:-moz-box-sizing-JerodOn 3/2/06, Thomas Fuchs <[EMAIL PROTECTED] > wrote:Here it's develop for Safari, fix FF (if necessary, only

Re: [Rails-spinoffs] [Fwd: [PATCH] Allow generic autocompleter (Ajax.Watcher)]

2006-03-02 Thread Robin Haswell
And I think, that if someone submitted a wanted to feature to MY project, I'd be happy to remove some unwanted variables and run a regex to fix the whitespace in return for the code. I get paid to write code, I don't get paid to fix whitespace in patches for code under licenses that don't even req

Re: [Rails-spinoffs] [Fwd: [PATCH] Allow generic autocompleter (Ajax.Watcher)]

2006-03-02 Thread Todd Ross
On 3/2/06, Robin Haswell <[EMAIL PROTECTED]> wrote: > Yeah it was a typical "get it working and clean it up as you go along" > job. If I re-visit that code any time soon I'll take your suggestions > onboard and submit another patch. Quoth the Robin: "I can find you the patch but it won't make a l

[Rails-spinoffs] Hey How did they do that?

2006-03-02 Thread Aneesha Bakharia
I've seen web apps where cells within a table column can be highlighted by dragging over them. NumSum does this. Any ideas on how this is achieved? When I try to select cells in a column by dragging over them the text within rows gets selected as well. Take Care-- Aneesha _

Re: [Rails-spinoffs] [Fwd: [PATCH] Allow generic autocompleter (Ajax.Watcher)]

2006-03-02 Thread Robin Haswell
Yeah it was a typical "get it working and clean it up as you go along" job. If I re-visit that code any time soon I'll take your suggestions onboard and submit another patch. -Rob Martin Bialasinski wrote: > On 3/1/06, Robin Haswell <[EMAIL PROTECTED]> wrote: > >>Patch to allow generic Ajax.Auto

Re: [Rails-spinoffs] rant on browser makers (was something about updating TD's)

2006-03-02 Thread Thomas Fuchs
Here it's develop for Safari, fix FF (if necessary, only in a few cases) and IE (there's always something). -Thomas Am 02.03.2006 um 04:10 schrieb Jerod Venema: Amen and preach on! My philosophy has always been "develop for FF, fix IE". ___ Rail

Re: [Rails-spinoffs] [Fwd: [PATCH] Allow generic autocompleter (Ajax.Watcher)]

2006-03-02 Thread Martin Bialasinski
On 3/1/06, Robin Haswell <[EMAIL PROTECTED]> wrote: > Patch to allow generic Ajax.Autocompleter-style textbox watchers. Looks good. But check this: this.hasFocus is never used. In onObserverEvent, check if the value has really changed since the last remote call (user might have just moved the car

Re: [Rails-spinoffs] rant on browser makers (was something about updating TD's)

2006-03-02 Thread Martin Bialasinski
[ On the W3C box model ] Therefore css3 allows to switch the box-model. http://www.w3.org/TR/css3-ui/#box-sizing I expect it to be usable in general web-design around 2017. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists

Re: [Rails-spinoffs] manipulate 's and their contentbygrabbingtheir classNames

2006-03-02 Thread Martin Bialasinski
On 3/2/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: > Like I mentioned earlier, what do you think about using the $$ function? Troels' code would be faster in any case. It also has constant speed, whereas > $$('table#main td.active').each(updateClassName(elm, newClass)) grows linear with the