Re: [Rails-spinoffs] Creating Custom Events using prototype

2006-08-17 Thread Seth Dillingham
On 8/17/06, Brian Feliciano <[EMAIL PROTECTED]> wrote: Hi guys! i know prototype can create custom events and can subscribe to it, but is there already a library for this? ___ Rails-spin

Re: [Rails-spinoffs] Prototype $$ Question

2006-08-13 Thread Seth Dillingham
On 8/13/06, Sam wrote: The node id node_3_children satisfies the criteria $('#tree .node .nodeChildren') once for nodeID node_1, and once again for nodeID node_3. The problem here is #tree .node .nodeChildren allows any number of elements to appear between these attributes: e.g., there may be 3

Re: [Rails-spinoffs] Parsing Querystring

2006-08-12 Thread Seth Dillingham
On 8/11/06, Sam wrote: Is there a function somewhere which will take a string containing a URL and return an object with all the querystring key / value pairs? In a recent-ish version of prototype, look at String.toQueryParams (prototype.js:195 in v1.5). Seth _

Re: [Rails-spinoffs] Sharing javascript between iframes

2006-07-24 Thread Seth Dillingham
On 7/24/06, Mike Rumble <[EMAIL PROTECTED]> wrote: The alternative would be to load prototype in the document content of the iframe, thus meaning multiple instances of prototype would be in existence. Is this such a bad thing, would it lead to a performance hit? This is exactly what I've done.

[Rails-spinoffs] custom javascript events

2006-07-21 Thread Seth Dillingham
Hey all, A couple months ago I was working on a pretty complex app that uses Prototype.js very heavily. In the process I came up with a way to use Prototype to produce custom events, reliably, in javascript. By "custom events" I mean stuff like "message received" and "results available" and "pro

Re: [Rails-spinoffs] Effect.SlideDown/Up() and HTML issues

2006-07-10 Thread Seth Dillingham
On 7/10/06, Eskil Kvalnes wrote: On 7/10/06, Martinez, Andrew wrote: > As per Michael Peters, use DIV's. I probably would've had I not had a lot of tabular data like this. I have the luxury of not having to worry about IE at all; it's a private site for me and my friends and we all use FF. A

Re: [Rails-spinoffs] dynamic generation of iframes and writing to them

2006-07-03 Thread Seth Dillingham
On 7/3/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote: I guess basically what I"m saying is something like this (requires builder.jsfrom scriptaculousAhem.[SNIP] document.write should die a slow, horrible, painful death.  Please avoid usingit at all costs.Which, of course, would make Scriptaculous.r