Hi Mat,
 

> In your communication description it looks like A and B must go look to 
> see if there are messages for them. But in the their demo  
> <http://mattsnider.com/hash-hack-for-cross-domain-iframe-communication/>it 
> does appear to be push, into the other iframe, after all (...or?) because 
> the receiving iframe is set to listen as per:


I have read your reference a litte more thoroughly now.
It appears that the iframing page is calling a function in the iframed page 
only.
However, there is *no* talking back to the iframing page!

So, all your script does is use a url hash to trigger a function.
This is no pretty much how paramifiers work in TiddlyWiki.

Some background as to why WikiA can't talk back to WikiB in general:
http://stackoverflow.com/a/1245166/777642

It appears that there is no way for iframed WikiA to push something to 
iframing WikiB, unless both are on the same domain. With a webserver, you 
could, perhaps, set up a simple proxy that serves pages external to your 
domain as if on your domain... thus possibly circumventing that restriction.

If WikiA could thus actually "push" to WikiB, i.e. by WikiB implementing a 
timer so as to realize that the url in the iframe has changed, there could 
be some iframe (hidden via css only) serving the sole purpose of pushing 
stuff from WikiA to WikiB when loaded.

Best wishes, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to