[Proto-Scripty] including prototype dynamically, and observe:domloaded

2009-09-17 Thread jrochkind
So theoretically (Prototype 1.6), it should be possible to have javascript code include the Prototype library into a page via document.write, right? document.write('

[Proto-Scripty] determine if dom:onload has happened yet?

2009-06-24 Thread jrochkind
So prototype 1.6 lets you register an event handler for the psuedo- event dom:loaded. Good enough. But if you register a callback for this event AFTER it's already happened anywhere, it'll never get called (or possibly even something stranger will happen, something strange was happening to me, bu

[Proto-Scripty] Re: Modal window pop-up

2008-12-17 Thread jrochkind
I just spent like two hours googling for this, and found lots of old and no longer supported stuff, until thinking of specifically searching within the prototype listserv, and finding this thread. So, thanks! But it's neccesarily easy to find on Google if you don't know what you're looking for. I

[Proto-Scripty] Re: loading Prototype dynamically?

2008-11-21 Thread jrochkind
After help from tfluehr in irc, more info found here: http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/460-dynamic-loading-of-prototype-does-not-work On Nov 21, 11:36 am, jrochkind <[EMAIL PROTECTED]> wrote: > So I really want to load Prototype dynamically, that is,

[Proto-Scripty] loading Prototype dynamically?

2008-11-21 Thread jrochkind
So I really want to load Prototype dynamically, that is, from a js file. This is because I am providing a sort of javascript-widget type thing, that users can include on their page to have some 'embedded' functionality. Kind of like YouTube does, or whatever. They put a