Hi JDD,

On 27 Apr., 18:00, John-David Dalton <[EMAIL PROTECTED]>
wrote:
> Hello Steffen ,
>
> For future reference, this post should have gone to the users mailing
> list:http://groups.google.com/group/rubyonrails-spinoffs
>
thx, it was my first post here so i have to learn structure of this
groups ;-)

> Here is a patch to make Prototype more iframe 
> friendly:http://dev.rubyonrails.org/ticket/11475
>
ok, i will look at it, thx.

> Your usage of the "dom:loaded" observer is incorrect.
> Should be something like:
>
> document.observe("dom:loaded", function(){
>   $(parent.document.body).select('a.csh-link').each(....
>
> I believe both documents should be on the same domain as well. :)
>
> - JDD

it's inside TYPO3, so all frames are inside same domain.
The problem is that i have to add the observer on the main document,
which has iframes inside. So I don't know which documents are loaded
in the iframes, but they all content the kinks with this class.
So i searched for a method to enumerate all links of this class in the
parent documents.
May be there is a way to go through all frame objects from parent to
add the handlers for there documents?

vg Steffen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to