Back button in iframe (widget for iGoogle oriented portal)
I am trying to create a widget (which is basically an iframe) that will have its own back and forward buttons. That is, when I click on the widget button, only the iframe is returned, not the whole widget container (portal like iGoogle).
I have added the following links:
<a class="button" href="#" onclick="history.back();return false;">
It works when I load my widget like a normal webpage, but not when used from an iframe.
I searched a bit to find this post:
It might have something to do with this contentWindow attribute, but nothing so far. The problem is that I cannot get the name of the frame that the portal is using (which is random anyway)
I feel like I'm missing something ... any hints?
Thanks!
+2
a source to share