[Prototype-core] Re: Observe events in iframe

2008-06-25 Thread tancurrom
You got me thinking and playing around with prototype. Elaborating on what arty said, it is not actually possible to extend element in frames because prototype makes reference to the window object when extending elements. It would take a big rewrite to let it accept an object and make reference to

[Prototype-core] Re: Observe events in iframe

2008-06-24 Thread artemy tregoubenko
Prototype shortcuts are tailored to work in current window. However you can use generic prototype methods like this: Event.observe(iframe.contentWindow.document, 'mouseup', function (e){}) On Tue, 24 Jun 2008 16:52:28 +0400, AlannY <[EMAIL PROTECTED]> wrote: > Is it possible to observe events