Re: [Rails-spinoffs] prototype-based color picker

2006-06-27 Thread Dirk Eschler
ant; font-family: Arial, Sans-Serif; height: 12px; } #colorpicker-value-input { width: 44px; } -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] prototype-based color picker

2006-06-27 Thread Dirk Eschler
atest version. Please see the attached screenshots (all taken on Linux). Firefox 1.5.0.4 (colorpicker_ff15.png) Konqueror 3.5.3 (colorpicker_konq35.png) Opera 8.5 (colorpicker_opera85.png) Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.o

Re: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Dirk Eschler
Am Sonntag, 25. Juni 2006 16:19 schrieb Sam: > Is there a good windows-based JavaScript compressor which will reliably > compress script aculo and prototype? > > Sam I've used jsmin with no problems. Haven't tried it on Windows though. http://javascript.crockford.com/jsmin.

Re: [Rails-spinoffs] What if $$() for?

2006-06-07 Thread Dirk Eschler
Out of curiosity, how does the Element method know about the iterator? Somehow i had expected that Element.hide() takes a param. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org ___ Rails-spinoffs mai

Re: [Rails-spinoffs] prototype-based color picker

2006-06-07 Thread Dirk Eschler
ri and ie 5.5 > > i released the ColorPicker under the same MIT-License as script.acolo.us Hi Matthias, great work on the colorpicker! And many thanks for sharing. Works perfectly here with Konqueror 3.5.3, which is usually a good indicator for Safari support. ;) Dragging also feels much s

Re: [Rails-spinoffs] Re: IE header max length (for X-JSON)

2006-06-02 Thread Dirk Eschler
ype. I use the Firefox Firebug extension to debug my JSON stuff. And i find it much easier to read the response directly in response tab than between the lines in the headers tab. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org

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

2006-05-28 Thread Dirk Eschler
JSON > response can be pretty large. Is stuffing a header a good implementation? Thanks guys, the custom header approach works. I've used the PHP script with Dojo before. As far as i remember they also supported the application/x-json content type, that kinda confused me.

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

2006-05-28 Thread Dirk Eschler
do you send the header? I've tried the below content types followed by a simple echo() of the json string. header("Content-Type: X-JSON"); header("Content-Type: text/x-json"); header("Content-Type: application/x-json"); -- Dirk Eschler

[Rails-spinoffs] JSON not auto-evaluated

2006-05-28 Thread Dirk Eschler
the X-JSON header is send in the response. I send the header in my script. However, the json var is always undefined and i have to evaluate t.responseText myself. Am i missing anything important? Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://

Re: [Rails-spinoffs] Hide content before page load

2006-05-25 Thread Dirk Eschler
oo" is shown and bar is hidden. Is there an easy way to do this in Prototype? Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

[Rails-spinoffs] Hide content before page load

2006-05-25 Thread Dirk Eschler
m/articles/dynamicCSS.php My main problem is that Prototype functions like Element.toggle() do not work on elements that were used together with the dynamically created styles. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://

Re: [Rails-spinoffs] Draggable - how start action on start dragging and end action on droppping

2006-05-01 Thread Dirk Eschler
}); //------------- Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Draggables and Droppable performance (tips)

2006-02-10 Thread Dirk Eschler
't sure how to do it right. Your examples are very helpful. Best Regards -- Dirk Eschlerzeitform Internet Dienste mailto:[EMAIL PROTECTED] Fraunhoferstraße 5 PGP S/MIME: http://key.zeitform.de/ap 64283 Darmstadt, Germany Tel./Fax: +49 (0)

Re: [Rails-spinoffs] this pointer in Event.observe function

2006-02-03 Thread Dirk Eschler
Am Freitag, 3. Februar 2006 10:11 schrieb Thomas Fuchs: > Or use: > > Element.setStyle(Event.element(evt), { border: '...' }); > > (especially useful if you need to set more than one style). > > -Thomas Dicovering a new useful feature every day. :) T

Re: [Rails-spinoffs] this pointer in Event.observe function

2006-02-02 Thread Dirk Eschler
; does the trick for you > > brgds > > sigi Perfect. Thanks again! -- Dirk Eschlerzeitform Internet Dienste mailto:[EMAIL PROTECTED] Fraunhoferstraße 5 PGP S/MIME: http://key.zeitform.de/ap 64283 Darmstadt, German

Re: [Rails-spinoffs] this pointer in Event.observe function

2006-02-02 Thread Dirk Eschler
'; }.bindAsEventListener(this); Event.observe(imgs[i], "click", myHandler); Just wondering, isn't the framework supposed to do this check? -- Dirk Eschlerzeitform Internet Dienste mailto:[EMAIL PROTECTED] Fraunhoferstraße 5 PGP S/MIM

[Rails-spinoffs] this pointer in Event.observe function

2006-02-02 Thread Dirk Eschler
Hello, please consider the following code example. It applies the onclick handler to all image tags, and through window.event it ensures that it works in IE too: -- var imgs = $('foo').getElementsByTagName('img'); for(var i=0; imailto:[EMAIL PROTEC

Re: [Rails-spinoffs] Height problem after interrupting SlideDown/SlideUp effects

2006-01-20 Thread Dirk Eschler
in a queue, new unit tests for scoped effect queues, fixes #3498 > [thx Abdur-Rahman Advany] > > http://dev.rubyonrails.org/ticket/3498 > > > at least if you are using Effect.toggle > > greets > matthias Thanks alot for your answers. I'll give it a try. -- Dirk E

[Rails-spinoffs] Height problem after interrupting SlideDown/SlideUp effects

2006-01-20 Thread Dirk Eschler
while the effect was interrupted). The same happens when you interrupt the SlideDown effect by rapidly hitting the "Advanced options" link. I can reproduce it in Firefox, Konqueror and Opera. Is there a good way of preventing this already, or do i have to care about locking the e

Re: [Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-30 Thread Dirk Eschler
Am Freitag, 30. Dezember 2005 12:18 schrieb Nicolas: > Hi, > > You should better use Responders.register, for example : > > Ajax.Responders.register({ [...] Hi Nicolas, now that is a nice solution. Thanks alot for pointing it out. -- Dirk Eschlerze

[Rails-spinoffs] Ajax.Request: onLoading executed after onComplete in IE

2005-12-29 Thread Dirk Eschler
rContainer'); } }); Any help is appreciated. -- Dirk Eschlerzeitform Internet Dienste mailto:[EMAIL PROTECTED] Fraunhoferstraße 5 PGP S/MIME: http://key.zeitform.de/ap 64283 D

Re: [Rails-spinoffs] Re: ajax - multiple updates on single xmlhttprequest

2005-12-22 Thread Dirk Eschler
uot;someId". Hope that helps. Let me just add here, that i'm pretty new to script.aculo.us myself, so if anyone knows a better way of doing this, please let me know. Like the OP i'm looking for a good XML example without Rails too. -- Best Regards Dirk Eschler ___