Hi,

About iframes...

In general, iframes are like windows into another one's house. Unless the 
curtains are closed, you're not prevented from peeking inside. However, to 
have anything you see inside the house behave the way you want it to is 
similar to telling the tenants of some property to do something inside for 
your pleasure.

Obviously, that requires some agreement. For example, you may have the 
agreement that when you wave your hands to friends inside, they wave back 
and smile. Or you may have the agreement that if you drop a note in the 
mailbox that someone will respond by calling you back, since you kindly 
asked them to.

Now, being more specific. The way to talk to whatever is going on behind an 
iframe is by using certain protocols that involve a server, that server of 
the people living in that house. Those can be native calls to the 
server-side infrastructure, e.g. as if you were changing url of that iframe 
or it can be that — since both parties are sharing the same domain, and the 
same frameset — there's a script function that allows one frame to 
communicate with another, thus frame X calls a (javascript) function of 
frame Y. However, cross domain restrictions require that — for this to be 
allowed — both frames must reside on the same domain... and on top, the 
target frame must have some dynamic script interpreter you can address, 
thus be more than a static resource.

So, in your case, you say the other end does have a kind of api that allows 
you to either call a very specific url which returns that representation 
you seek, which will turn the task into: construct the right url and 
refreshing that iframe. Or, perhaps, you can make a http post — as is 
usually sent when submitting a form — with all the required data and a 
server-side script that munches those and returns a desireable response.

Anyhow, for being able to give you more real-world advise and less stories 
about tenents of houses and the intricacies of communication, you will have 
to tell us who your interpreter actually is and how it exposes its 
linguistic capacities to the outside world. There is no universal answer to 
that question. Some use sign language, some only reply in digital code, 
others will do the shuffle for hours on end unless you say, ok, thank you, 
I think I've seen enough. :)

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