Re: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Will Merydith
I'm confused.  I am using the same DOCTYPE as the script.actulo.us siteDOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"And I am getting the 'broken' behavior. On 4/28/06, Martinez, Andrew < [EMAIL PROTECTED]> wrote: FYI, I made a mistake, that is the answer to my proble

Re: [Rails-spinoffs] .times not behaving as I'd expect

2006-04-28 Thread Jeremy Kitchen
On Friday 28 April 2006 15:37, Jeremy Kitchen wrote: > On Friday 28 April 2006 15:25, Eifion wrote: > > I'm using prototype 1.4.0 in a big web application I've been working > > on for months and today a bug was raised by one of our testers. After > > investigation it turns out that something done 0

Re: [Rails-spinoffs] .times not behaving as I'd expect

2006-04-28 Thread Jeremy Kitchen
On Friday 28 April 2006 15:25, Eifion wrote: > I'm using prototype 1.4.0 in a big web application I've been working > on for months and today a bug was raised by one of our testers. After > investigation it turns out that something done 0 times will actually > fire once. So, for example, if I had >

[Rails-spinoffs] .times not behaving as I'd expect

2006-04-28 Thread Eifion
I'm using prototype 1.4.0 in a big web application I've been working on for months and today a bug was raised by one of our testers. After investigation it turns out that something done 0 times will actually fire once. So, for example, if I had (0).times( function(i) { alert(i); } ); it'd

Re: [Rails-spinoffs] cleanWhitespace and parentNode

2006-04-28 Thread Todd Ross
On 4/28/06, Martin Bialasinski <[EMAIL PROTECTED]> wrote: On 4/28/06, Thomas Fuchs <[EMAIL PROTECTED]> wrote: > Why not write a patch? I froze my Prototype version just prior to the change to $(). Currently, I need stability and this is too much a change in the fundamental workings of the libra

RE: [Rails-spinoffs] The Ajax Experience

2006-04-28 Thread Gregory Hill
Hahaha.   Just sent an email to the boss, doubt I’ll get to go, but it never hurts to ask.   Greg   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed C. Sent: Friday, April 28, 2006 2:03 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs

Re: [Rails-spinoffs] The Ajax Experience

2006-04-28 Thread Ed C.
If you run into him, you should probably say "sorry!"   Thank you, I'll be here all week!   p.s. - Sorry for the lame joke spam. I couldn't resist ;)  On 4/28/06, Joseph Potenza <[EMAIL PROTECTED]> wrote: Well I knew you were, lolLooking forward to meeting you.  I'll make sure to run into ya and s

RE: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Martinez, Andrew
FYI, I made a mistake, that is the answer to my problem. Even so, that page is a good starting place for you. Just ignore the “img display” part.   -Andrew Martinez   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Martinez, Andrew Sent: Friday,

RE: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Martinez, Andrew
Sigh, fine. I did the googling for you.       From the holy mecca of quirks: www.quirksmode.com     This site should be your go-to site for quirks.       If you need something specific and fast, use Google’s site restriction function by searching: doctypes site:

RE: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Athman,Joseph J
So do we know if this is the expected behavior of the effects?  I really don’t have the time to go through and update my pages to be strict HTML or XHTML.   Joe Athman St. Paul Travelers - IS Investments 651-310-7597 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI

RE: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Martinez, Andrew
Doc types can change rendering methods that a browser uses. There are three modes: strict, compatibility, and one other that is a mix between the two. I don’t remember the specifics, but you can find that type of information by googl’ing for it.   -Andrew Martinez   -Original Messag

RE: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Athman,Joseph J
I have this problem also.  I tracked it down to the doctype declaration.  If you are using XHTML, everything is fine, HTML it blinks.  Check out the bug I put in a while ago, look at the two files I included and see if you can replicate the behavior I experienced.  I haven’t seen anyone wor

Re: [Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-28 Thread Jeremy Kitchen
On Friday 28 April 2006 02:05, Martin Bialasinski wrote: > On 4/26/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: > > Element.setStyle(element, {height: 123}); > > Length in CSS always needs a unit, except for 0. There is no "default > unit" of px. Whether using the setStyle wrapper or direct assign

Re: [Rails-spinoffs] The Ajax Experience

2006-04-28 Thread Joseph Potenza
Well I knew you were, lolLooking forward to meeting you.  I'll make sure to run into ya and say hi.JoeOn 4/28/06, Thomas Fuchs < [EMAIL PROTECTED]> wrote:Me! :)-ThomasAm 28.04.2006 um 08:10 schrieb Joseph Potenza: > Anyone on the list going to The Ajax Experience in San Francisco> May 10?>

Re: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Will Merydith
Yes FF1.5  and IE6.And what I meant to say was the content appears quickly (blinks) before the effect occurs.  So if I want something to appear gradually, first I will see the content blink, then it will appear/grow whatever based on the duration I assign. On 4/28/06, Andrew Kaspick <[EMAIL PROTECT

Re: [Rails-spinoffs] Effects fully display before effect

2006-04-28 Thread Andrew Kaspick
You're seeing this in browsers besides IE? On 4/28/06, Will Merydith <[EMAIL PROTECTED]> wrote: Why do effects that display an element (like Appear or Slide Down) start by displaying the element for a split second and then make the element disappear?

Re: [Rails-spinoffs] Serialize / deserialize an associative array

2006-04-28 Thread Martin Bialasinski
On 4/28/06, SPENDLOVE, Matt, GBM <[EMAIL PROTECTED]> wrote: That's pretty much what I did in the end anyway. Didn't have any joy with flatten().. There is also Hash.toQueryString() and String.prototype.toQueryParams(). Mind the fix from for the later, laying around in the bug tracker. As you

Re: [Rails-spinoffs] startcolor and endcolor not working

2006-04-28 Thread David Goodlad
On 4/28/06, Will Merydith <[EMAIL PROTECTED]> wrote: In my RJS template this works: page.visual_effect :highlight, "[EMAIL PROTECTED]", {:duration => 5} but not this: page.visual_effect :highlight, " [EMAIL PROTECTED]", {:duration => 5, :startcolor => "#FF"} IIRC, you need to pass the va

RE: [Rails-spinoffs] Serialize / deserialize an associative array

2006-04-28 Thread SPENDLOVE, Matt, GBM
That's pretty much what I did in the end anyway. Didn't have any joy with flatten().. var CradleUtils = {}; /** * These are REALLY simple serialisation tools meant for simple Hash-like objects i

Re: [Rails-spinoffs] cleanWhitespace and parentNode

2006-04-28 Thread Siegfried Puchbauer
Cause I havn't figured out what the best way is to prevent the error ... Cheers,SigiOn 4/28/06, Thomas Fuchs < [EMAIL PROTECTED]> wrote:Why not write a patch?-ThomasAm 28.04.2006 um 11:02 schrieb Martin Bialasinski:> On 4/27/06, Siegfried Puchbauer <[EMAIL PROTECTED]> wrote:>>> The problem is Elem

Re: [Rails-spinoffs] Serialize / deserialize an associative array

2006-04-28 Thread Ryan Gahl
As long as the array/object has not been touched by the prototype code (and thus would add properties to the object), the below should put you on the right track. I'm assuming you meant associative arrays as in "_javascript_ treats all objects as associative arrays" and not the Array type object (w

Re: [Rails-spinoffs] cleanWhitespace and parentNode

2006-04-28 Thread Martin Bialasinski
On 4/28/06, Thomas Fuchs <[EMAIL PROTECTED]> wrote: > Why not write a patch? I froze my Prototype version just prior to the change to $(). Currently, I need stability and this is too much a change in the fundamental workings of the library. The last thing I need are nasty surprises, which there w

RE: [Rails-spinoffs] proposing $E & $T

2006-04-28 Thread Faison, Sandford (Exchange)
Thanks Thomas, Didn't even know this existed... I think mine has less "invocation-overhead"; you can list children and attribute information indiscriminately - neither needs to be inside an array or object literal. Overall, it's a style issue, and scriptaculous wins that match every time. :-) Wi

[Rails-spinoffs] Serialize / deserialize an associative array

2006-04-28 Thread SPENDLOVE, Matt, GBM
Perhaps I missed something but I don't see an easy way to do this ? Basically just wanna hold some ui state in a cookie. Did I miss something obvious ? Best Matt *** The Royal Bank of Scotland plc. Registered in Sc

Re: [Rails-spinoffs] cleanWhitespace and parentNode

2006-04-28 Thread Thomas Fuchs
Why not write a patch? -Thomas Am 28.04.2006 um 11:02 schrieb Martin Bialasinski: On 4/27/06, Siegfried Puchbauer <[EMAIL PROTECTED]> wrote: The problem is Element.cleanWhiteSpace() calls Element.remove() on empty textnodes. Element.remove tries to extend the element (Element.Methods) and

Re: [Rails-spinoffs] how to use Effect.BlindUp for resizing a div

2006-04-28 Thread Martin Bialasinski
On 4/26/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: > Element.setStyle(element, {height: 123}); Length in CSS always needs a unit, except for 0. There is no "default unit" of px. Whether using the setStyle wrapper or direct assignment, this has to be "123px". ___

Re: [Rails-spinoffs] cleanWhitespace and parentNode

2006-04-28 Thread Martin Bialasinski
On 4/27/06, Siegfried Puchbauer <[EMAIL PROTECTED]> wrote: > The problem is Element.cleanWhiteSpace() calls Element.remove() on empty > textnodes. Element.remove tries to extend the element (Element.Methods) and > IE doesn't support this So prototype now burns cycles to extend an element that

Re: [Rails-spinoffs] The Ajax Experience

2006-04-28 Thread Thomas Fuchs
Me! :) -Thomas Am 28.04.2006 um 08:10 schrieb Joseph Potenza: Anyone on the list going to The Ajax Experience in San Francisco May 10? ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinf

Re: [Rails-spinoffs] proposing $E & $T

2006-04-28 Thread Thomas Fuchs
Did you have a look on the script.aculo.us builder...? http://wiki.script.aculo.us/scriptaculous/show/Builder -Thomas Am 28.04.2006 um 00:34 schrieb Faison, Sandford (Exchange): Hey all, I've had these functions for some time now, and would like to offer them as two new dollar-sign function

[Rails-spinoffs] startcolor and endcolor not working

2006-04-28 Thread Will Merydith
In my RJS template this works:page.visual_effect :highlight, "[EMAIL PROTECTED]}", {:duration => 5}but not this:page.visual_effect :highlight, " [EMAIL PROTECTED]}", {:duration => 5, :startcolor => "#FF"}Am I misunderstanding how to pass in additional parameters? ___