RE: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Maninder, Singh
I don't say that dojo compression is not good, but try debugging in compressed mode on production where your code is deployed, it's just impossible.   Then go through the pain of maintaining a development version of the file and a production version of the file!   It's really not worth com

Re: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Jesse Kuhnert
I would disagree with point #2 below. It has been researched(and theoretically proven? don't remember the details anymore..google search would probably turn it up) already that gzip ~may~ not always be as fast for deployment as people seem to think. As for tool reliability, not sure I understand th

RE: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Maninder, Singh
I'd like to add 2 things here -   (1) Dojo also provides an online tool for the same (for those of you who don't want to go through the hassle of setting up anything :) It's called SHRINKSAFE: http://alex.dojotoolkit.org/shrinksafe/   (2) As far as gzip is concerned, that's what I would adv

Re: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Siegfried Puchbauer
I use mod_deflate in my apache httpd to compress the js files. Nearly every modern browser supports contenttype gzip and you get a reduction from about 60 to 80% of the source files. One of the benefits is that you can compress any content (html, css, js ...)... Formerly i also tried js source comp

Re: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Peter Michaux
On 6/25/06, Sam <[EMAIL PROTECTED]> wrote: > It is Java-based, so should run on windows without a problem. It isn't a > polished GUI at the moment, you'll need to do a bit of scripting to get it before compression it is a good idea to make sure your code passes the test at http://www.jslint.co

RE: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Sam
> It is Java-based, so should run on windows without a problem. It isn't a > polished GUI at the moment, you'll need to do a bit of scripting to get it > set up. More details here: > http://dojotoolkit.org/docs/compressor_system.html Here's a batch file I used to compress all my JavaScripts...

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.html -- Dirk Eschler

RE: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Sam
http://dojotoolkit.org/docs/compressor_system.html Sounds promising. I'll see if I can survive the setup ! ;-) Sam ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Dave Crane
Hi Sam, I used the compressor that ships with Dojo on a biggish codebase that uses prototype and scriptaculous, and it worked. Knocked 500K of code down to 340K if I remember right, but your mileage may vary. It is Java-based, so should run on windows without a problem. It isn't a polished GUI

[Rails-spinoffs] urgent help with effects.

2006-06-25 Thread Louis Walch
A.. Ok can someone please help me out. Prolly easy for someone else. Here is the page in question: http://www.louiswalch.com/beta/slide.php Can you please tell me why when I tell it to show ONE of the divs, it shows them ALL?! I just want a simple nav where when you click the button, it hid

[Rails-spinoffs] JavaScript Compression

2006-06-25 Thread Sam
Title: Message Is there a good windows-based _javascript_ compressor which will reliably compress script aculo and prototype?   Sam     ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo

Re: [Rails-spinoffs] Few questions

2006-06-25 Thread Dark Ambient
On 6/25/06, Kjell Bublitz <[EMAIL PROTECTED]> wrote: Thank you for all the help Kjell! It looks like the docs are what is available on the wiki ? Overall, I think for my current skill level, I'm passing on this potential project. The client wants something very similar to jotform. Probably somet

Re: [Rails-spinoffs] Few questions

2006-06-25 Thread Kjell Bublitz
There are multiple errors in your codeAll options must be enclosed with braces class.method(element, {option:value,secondoption:value});Applys to: Droppables.add('form4design',containment:'field1')The option "constraint" only allows false, horizontal, vertical .. your value is completly misplaced.

Re: [Rails-spinoffs] Few questions

2006-06-25 Thread Dark Ambient
Here is how I currently have it set up and it's not working , but I'll explain what I have. My form is contained in So the droppable is configured as: Droppables.add('form4design',containment:'field1') I haven't set up an array yet, as I'd like to get just one element working. Something is wro

Re: [Rails-spinoffs] Few questions

2006-06-25 Thread Kjell Bublitz
Good morningOn 6/25/06, Dark Ambient <[EMAIL PROTECTED]> wrote: Thank you for the reply Kjell.I've added some stuff inline:On 6/24/06, Kjell Bublitz <[EMAIL PROTECTED]> wrote:> Hello> > 1- I need to have the elements in the palette snap to a "grid"inside > > of it.  Same thing when it gets dropped