[Rails-spinoffs] Re: How to deal with Unicode chars inside X-JSON HTTP header (besides UCS)?

2006-09-20 Thread Marius Feraru
on the raw header to JS. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFEcTFtZHp/AYZiNkRAvvNAJ91DBqJpn80XdiSZk+jui3ZeeE2ZACeM2qn IXo+AiA/+0nunMc/Zy0b6pY= =voBd -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you

[Rails-spinoffs] Re: Extending Element with getTop, getWidth, getLeft problem

2006-11-29 Thread Marius Feraru
', ...) without it, only $('element').foobar(...) will be available. Not a bad thing though, but it would keep many folks happy ;-) - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFbZb6tZHp/AYZiNkRAm74AJ4lCLv87T/8YU4koiDaOeb1N1nQswCg+OnW ZiFx+h97mBGqCr24YG3P/zk= =mzU9 -END PGP SIGNATURE

[Rails-spinoffs] Re: combining element.hide and element.show

2006-11-29 Thread Marius Feraru
this: $('canbackground','canposition','canskill').invoke('hide') - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFbgq+tZHp/AYZiNkRAheZAKDNdLTuQMnQWBUVEtnznqNiZ7q6IACgyFL7 o7eRrF8zKqZ+H42Jk75ogwo= =6reT -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received

[Rails-spinoffs] Re: Element.hide

2006-12-06 Thread Marius Feraru
, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I posted earlier about this but think google groups was screwed up. Google Groups works after all, even if sometimes has huge delay and makes discussions go crazy (remember the old messages storm a week ago or so) ;-) cheers - -- Marius Feraru -BEGIN

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-11 Thread Marius Feraru
message and - as Peter Michaux told us - script.aculo.us does give a shit about it, as scriptaculous.js file is only provided for convenience. cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFffaltZHp/AYZiNkRAmXKAKDAf/2lIqwSr21XxytPBDjfuqBgKwCfboez a95iKAS28lb5Q/0Qe/WMIHE= =raif -END

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-12 Thread Marius Feraru
works. Yes, but that test isn't so easy to choke ;-) So, here it is: http://gfx.neohub.com/t/getElementsByTagNameTest.html And a sample loader (seeing that this already got another request on a newer thread): http://gfx.neohub.com/t/loader-test.html cheers - -- Marius Feraru -BEGIN PGP

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-14 Thread Marius Feraru
loaded in head) at the time this method is executed. As a side note, saying that getElementsByTagName can in fact be used _one time only_ it's not a valid argument, as one exception is already too much (as in all tests successful vs failed 1 of9 tests). merry coding ;-) - -- Marius Feraru

[Rails-spinoffs] Re: Prototype - PeriodicalUpdater question...

2006-12-26 Thread Marius Feraru
() { this._updater.options.parameters.rndtext++; }.bind(cnt) } ); } cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFkhgTtZHp/AYZiNkRAtmtAKCmla+KDbOlnDUaVmPYU/O+nQTu5ACeKYH+ H3ZTGnOToQo2d+6OnUYTI9I= =+oiI -END PGP SIGNATURE

[Rails-spinoffs] Re: Prototype - PeriodicalUpdater question...

2006-12-27 Thread Marius Feraru
. Are you _sure_ you use a fresh enough version of Prototype? Current revision is 5794. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFkivWtZHp/AYZiNkRAslqAKCcC20cnnAM+Q4RujX861B9Lm1EpwCfYOEi h9KJptkaiKlhq/XuiQWSweo= =7Xum -END PGP SIGNATURE

[Rails-spinoffs] Re: Prototype - PeriodicalUpdater question...

2006-12-27 Thread Marius Feraru
/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Fedora/1.0.6-2.fc7 SeaMonkey/1.0.6 Mnenhy/0.7.4.666 5) Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) enough already? :( - -- Marius Feraru -BEGIN PGP SIGNATURE

[Rails-spinoffs] Re: Prototype - simple questions....

2006-12-27 Thread Marius Feraru
time a request is completed successfully. onComplete has a different meaning in Ajax.PeriodicalUpdater's context: it will be executed on stop. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFkk1wtZHp/AYZiNkRAoheAKCc0K0HLV8xkpS2LzLTugAAMUoYFACgilFj CGsEX/ojRSqKbpZAntkdi3Q= =wxhb -END

[Rails-spinoffs] Re: Autocompleter inside a page load in Ajax

2006-12-28 Thread Marius Feraru
). cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFlI8ttZHp/AYZiNkRAv2rAKCQwj8+i6ETuWzDY6MQqBWYwSH99ACg55HG A7b9PISx9tuduOdTqxE8je0= =Cgci -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Rails-spinoffs] Re: SCRIPTACULOUS: Simple Image Slideshow

2006-12-28 Thread Marius Feraru
:)) cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFlJAstZHp/AYZiNkRAh/JAKCP9f3aa96LoxTawamL63tSBea4BwCg3voO tWS7OeuvaqtijiB3CXRcNCE= =05/2 -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails-spinoffs] Re: Prototype's Ajax.Request problem in IE7

2006-12-31 Thread Marius Feraru
seen thousands such errors (for instance, we're currently working on debugging why getting opacity triggers this infamous error... _sometimes_ - yes, only when using Prototype's getStyle). Just use some search engine: permission denied javascript ie7 ;-) happy new year - -- Marius Feraru -BEGIN

[Rails-spinoffs] Re: Problem with inserting new list items in IE7 (and BlindDown efect)

2006-12-31 Thread Marius Feraru
... (the ambient is getting way too cherful here to be able to remember anything at this point... cheers!) ;-) hope this will help you finding your workarounds ;-) happy new year :) - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFmCLLtZHp/AYZiNkRAjmwAKD8mxxy+4p5IWvNwGtzFatC6GPHwACg6YOz

[Rails-spinoffs] Re: Prototype's Ajax.Request problem in IE7

2007-01-02 Thread Marius Feraru
, as I said, works as expected with IE7). good luck - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFmm4ltZHp/AYZiNkRAjpJAJ4zVSdwHYGLli/cYvHzptWdyYwmgACeJnGo gsa11r4Ij6o1q5YHEuEMkMI= =O9IZ -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-06 Thread Marius Feraru
1000 iterations of Prototype, Prototype-oneDiv, String.replace, String.split... ^ 1000 iterations. I used 1 (ten thousands) iterations. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFn1cOtZHp/AYZiNkRAuWMAJ9GH49EazRLg+KP3EcEXs/824aUMQCfaubg ZWJbemGuNwGGH+7HmO7Mb4Y= =+e4V -END PGP

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-06 Thread Marius Feraru
if it's plain wrong (purist talk here: if one test fails, everything should get back to the drawing board). I know, web developers are not generally like that, as they're getting disappointed every day by existent platforms. cheers. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFn2P3tZHp

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-06 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marius Feraru wrote: I remember I worked long time ago on a tool that consolidates different runs of the same benchmark, I guess it could help us getting a better overview... but I'm a mess, have no idea about the when, where or for. Anyway, should

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-06 Thread Marius Feraru
available at this hour, maybe S�bastien could help us. ;-) cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFn6i1tZHp/AYZiNkRAgcuAKDvaLyJrfZ4BvCh/Q5eIaZvSuy1vQCgxfCu 6o4cDXbL6QMgO0GVPJt0vJY= =abUL -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-06 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marius Feraru wrote: Sorry, I have no Intel based Mac available at this hour, maybe S�bastien could help us. ;-) Talked too soon, my folks are still alive ;-) Benchmarks run using 1 iterations on these browsers: A. Mozilla/5.0 (X11; U; Linux

[Rails-spinoffs] Re: SAU/Prototype performance

2007-01-07 Thread Marius Feraru
/6937 - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFoMjOtZHp/AYZiNkRAiUeAKCvKWIGvoYRu6FrEvWWrCCuHaoJzACgr6ZB ZiiB2wHFNHiXmYilnNig5aw= =98h3 -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails-spinoffs] Re: [OT] CSS question (was Javascript/CSS question)

2007-01-08 Thread Marius Feraru
' reply), keep in mind that Internet Explorer (until version 7) has trouble dealing with declarations like .foo.bar (it will treat them like .bar (the _last_ class). - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFol5jtZHp/AYZiNkRAlZjAKDtieAGd/AwTQ8CtEZsyPGYJdwO+ACg9oCx YQv9kKjc5wEPhEkbtmpjLWc

[Rails-spinoffs] Re: Doing away with this Eminaeem spam?

2007-01-18 Thread Marius Feraru
, but usually it's just a cannot find whatever message or other errors like that. :( It's a nuisance. absolutely. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFr+5CtZHp/AYZiNkRAgKYAJ9+aYPWroPmqVMcNIEF6RM8/rvUEQCeO0is sTKlya+C6z6JI1rFuSgVE/Y= =lHp6 -END PGP SIGNATURE

[Rails-spinoffs] Re: getElementsByClassName starting with...

2007-01-19 Thread Marius Feraru
of elements that have class names starting with foo. cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFsJpdtZHp/AYZiNkRAlZ4AJ44xW5SR4vEDXqpesymPkHHfpR8AACeOYRC JpAltoOeWWbA6R6NGDsmUBU= =Qk31 -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received

[Rails-spinoffs] Re: $H.each() behavior in Prototype 1.5 final

2007-02-01 Thread Marius Feraru
). - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFwdPPtZHp/AYZiNkRAhziAKCiCXt7ThBdL6TM8kduCmVh6l2fdwCgyfuT mYMLYeq2KWfaXbMh6pNjQ0Y= =0ILK -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Rails-spinoffs] Re: Prototype, Ajax.Updater - stacking requests (latency patch?)

2007-02-01 Thread Marius Feraru
having Prototype test which insertion you're using, the override parameter may be a simpler and cleaner solution. Let the programmer decide! Good enough, so an override with false as default would be better. :)) - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFwhZttZHp

[Rails-spinoffs] Re: $H.each() behavior in Prototype 1.5 final

2007-02-01 Thread Marius Feraru
with it: http://prototypejs.org/api/enumerable That's more complicated. I hoped to return directly entry.value; Sorry, that's the way Enumerable works. :) cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFwkWBtZHp/AYZiNkRApnTAJ48nKgnHG686ul9qOrs0Hn89fu4nACfXB3J ewp7QoPCNf8ADEPP7U/8s0M= =+c22

[Rails-spinoffs] Re: Safari and prototype.js

2007-02-02 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RobG wrote: var re = new RegExp( 'script.*[^(script)]*\\/script','g' ); If you're thinking [^(script)] means not 'script', you're wrong, it means not any of '(', '', 's', 'c', 'r', 'i', 'p', 't', ')'. - -- Marius Feraru -BEGIN PGP SIGNATURE

[Rails-spinoffs] Re: $H.each() behavior in Prototype 1.5 final

2007-02-02 Thread Marius Feraru
the official documentation (prototypejs.org), there's also a fine Enumerable and Hash tutorial written by Justin Palmer at: http://encytemedia.com/blog/articles/2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash HTH - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFFwwgetZHp

[Rails-spinoffs] Re: childrenWithClassName

2007-02-17 Thread Marius Feraru
= Element.childrenWithClassName( bla, 'subbla-class', true ); } ); -- How can/must I rewrite the code? $$('#foo-id .foo-class .subbla-class') ^ all .subbla-class children of any .foo-class element that is a descendant of #foo-id ;-) - -- Marius Feraru -BEGIN PGP SIGNATURE

[Rails-spinoffs] Re: InPlaceEditor initial selection

2007-02-17 Thread Marius Feraru
any magic when focusing such elements, its browser's job to handle it. If you want to twist that, attach a 'focus' observer on that element to do that (you know, the usual selection/text range operations). ;-) - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF17NvtZHp

[Rails-spinoffs] Re: Element.setStyle a resource hog?

2007-02-17 Thread Marius Feraru
place for discussions on this topic. cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF175YtZHp/AYZiNkRAimOAKCWynWShH0FKqWOTqow/i2bIpCoXACg9/I+ sUytngjcxFzQXBRfCY9ziN0= =N8md -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message

[Rails-spinoffs] Re: runaway spans

2007-02-18 Thread Marius Feraru
SPANs contain words padded with whitespace. e.g.: 'lorem' vs ' lorem ' - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF2JzatZHp/AYZiNkRAm/IAKD/etqJ2/U/oXyA11OBHnwfsfEJcwCgouCv hUWnQu0txqKNpMvWipJ9PGQ= =fZUz -END PGP SIGNATURE

[Rails-spinoffs] Re: Tabulation with ENTER key

2007-02-18 Thread Marius Feraru
-Level-3-Events-20031107/events.html#Events-KeyboardEvent - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF2KpNtZHp/AYZiNkRAoHDAJ9MrSfAxtqNd5rx99E4D5JY4zSzwACbBz2N kDa1FwkZ8t9Fi53BBd4UrSY= =MfPG -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received

[Rails-spinoffs] Re: InPlaceEditor initial selection

2007-02-20 Thread Marius Feraru
containing the Home Page value. c) QT/KDE on GNU/Linux - - Run: Opera - Tools - Preferences - General - - use Tab (or/and Shift-Tab) to focus the input field containing the Home Page value. etc. Andrew, I'm still not being condescending. Cheers. - -- Marius Feraru -BEGIN PGP SIGNATURE

[Rails-spinoffs] Re: Jumping Elements When Using Effect.SlideDown in Script.aculo.us

2007-02-20 Thread Marius Feraru
that SlideDown effect (TMTE, choose whatever suits you - accordingly to your real layout). - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF23OhtZHp/AYZiNkRAnEYAJ42hWz9zzF4+zO7sc49vf3aWsbemgCg2GM3 pkpJh8XosrJSae7BOGo7THY= =yN3g -END PGP SIGNATURE

[Rails-spinoffs] Re: Overlap? How to...

2007-02-20 Thread Marius Feraru
, absolutize it based on clicked-element coordinates and hopefully you'll be fine without any z-index tricks. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF23YItZHp/AYZiNkRAovkAJ4n7BPX/BRyFzxpQ4TmJgg0pTJ56wCfTNk2 DMiYrd7Bp2oBATEaM0Tbqds= =entq -END PGP SIGNATURE

[Rails-spinoffs] Re: Jumping Elements When Using Effect.SlideDown in Script.aculo.us

2007-02-21 Thread Marius Feraru
/2.0.0.1 - - Loaded http://pmade.com/distfiles/slidedown.html - - Activated Firebug, focused its console and run: x = $('test-effect'); x.getHeight(); 124 x.show().getHeight(); 282 x.hide().getHeight(); 124 Sorry :( And no, I don't have an elegant workaround. :( - -- Marius Feraru -BEGIN

[Rails-spinoffs] Re: InPlaceEditor initial selection

2007-02-21 Thread Marius Feraru
/projects/gup/hig/2.0/controls-entry.html cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFF3L17tZHp/AYZiNkRAjg0AKDxyyuL92O3gPi53/cdW5MiMJtNvgCeMqSe 83Y3cMesVFtmaGEmDbwq8fI= =CNbH -END PGP SIGNATURE- --~--~-~--~~~---~--~~ You received this message

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Marius Feraru
)]') But anyway this was just for the sake of example, as, AFAIK, currently Prototype doesn't have XPath support for some browsers (e.g. MSIE). 'HTH +1 ;-) - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFGPIu5tZHp/AYZiNkRAuBqAJsHHOfKqsGjVubAMKg/hbUKp9NbRQCfWLLe pd38GEgm1sfjgvtAWg4m6zo

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Marius Feraru
|\n)*)(?:(?:.| \n)*?)/'.$tagName.'%'; OK, I'm sure you know this one may fail badly, but anyway, at least allow whitespace in the end-tag, after the tagName. ;-) } cheers and my apologies for this off-topic message (is Saturday night a good excuse?) ;-) - -- Marius Feraru -BEGIN PGP

[Rails-spinoffs] Re: Problem with escape

2007-05-05 Thread Marius Feraru
the hexadecimal encoding of an argument in *the ISO-Latin-1 character set*. - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFGPQd5tZHp/AYZiNkRAhZSAKDwM/pblcO6qwV/nCvjqS6nzSlZbwCfcN6v qvNHJO+YAUJAj3GH001T6NE= =rKbw -END PGP SIGNATURE

[Rails-spinoffs] Re: Filter by Invoked Method

2007-05-06 Thread Marius Feraru
looks like having performance problems (given Enumerable's speed). cheers - -- Marius Feraru -BEGIN PGP SIGNATURE- iD4DBQFGPmhatZHp/AYZiNkRAm0vAJUe1FxMIWPxPz9ZvooUcoYyWGgPAJ0YVACT CSxXDasRIQEypkXqQ9Qm3A== =adCB -END PGP SIGNATURE

[Rails-spinoffs] Re: CSS selector in IE

2007-06-07 Thread Marius Feraru
] http://www.w3.org/TR/2006/WD-CSS21-20061106/selector.html#universal-selector [2] http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#universal-selector [3] http://www.microsoft.com/windows/products/winfamily/ie/features.mspx - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFGaIo8tZHp

[Rails-spinoffs] Re: Handling Form Elements Best Practices

2007-06-07 Thread Marius Feraru
://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Functions:encodeURIComponent [5] http://msdn2.microsoft.com/en-us/library/aeh9cef7.aspx 'HTH - -- Marius Feraru -BEGIN PGP SIGNATURE- iD8DBQFGaJgAtZHp/AYZiNkRAr6GAKDlj9RymxNmJZ34SbEbHGizrTdbOQCfdrvZ uIrJksmp5xsflO50Ful1jUA= =BvRf