Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Corbin Hoenes
RE: multiple meteor strikes? [ reply ]  
2008-02-08 08:35
Okay I am beginning to think the shooting star cannot have more than 1 meteorStrike object registered...I've tried a bunch of things and nothing works.

Is there another way to get Rails to target the iframe when I make page.replace_html calls?


By: Corbin Hoenes
RE: multiple meteor strikes? [ reply ]  
2008-02-07 06:37
I forgot to mention the the meteor_strike method calls setup 2 different channels.

meteor_strike("outer_channel", :noflash => true)

and

meteor_strike("inner_channel"), :noflash => true)

The outer channel is for the parent document and inner channel is for the iframed document.

By: Corbin Hoenes
multiple meteor strikes? [ reply ]  
2008-02-07 06:34
Hello,

I have a webpage with an iframe which I want to shoot to. I also have on that web page elements that are not inside the iframe that need updating. I thought this would be possible to have a:

meteor_strike call inside the iframe page and additional meteor_strike call on the parent document. It seems to work with flash enabled but if I turn flash off via :noflash => true then I get this error when using XHR:

"uncaught exception: Permission denied to get property Window.meteorStrike"

What am I doing wrong?