See if there is a way to add the ‘target’ attribute to your iframe. If
there is, set it to _parent or _top. That should make any contained
links target the window, rather than the iframe (default).
Walter
On Jan 7, 2009, at 11:52 AM, John-Paul Kernot wrote:
But, if I click on a link in that iframe, the link opens within my
iframe which looks bad. How do I get the link to open in a new page ?
That is in the standard Link selector which doesn’t affect this.
What Walter is suggesting is somehow attaching the _parent tag to the links in the iFrame via the Frame itself. Item>Extended - but how you would actually do it I have no idea.
I take it you have no control over the links contained within the page referenced in the iFrame
If you could publish a demo page somewhere and paste a link, I’d be
happy to look into it further. I’m not sure your target is ending up
in the correct part of the code. It may also be impossible, since you
are trying to set a target on the links that are in the remote page,
and you may not have the authority to change those.
Walter
On Jan 7, 2009, at 4:57 PM, John-Paul Kernot wrote:
Well in the iframe action, when I specify an external link, there is
an item where I can set _parent or _top but it doesn’t seem to have
any effect.
Here is a specific Tumblr (simple blogging) page that I am trying to use in an iframe, yet the links often open within the iframe rather than in another page.
globally adjust the iframe to open any links within that iframe to a new window or
overwrite the page within which the iframe is contained
On another matter, the reason I am using Tumblr is that it seems to be a much lighter and more easily made page than Blogger pages. Inevitably one day soon I will move almost entirely to WordPress for almost an entire site!
I have half solved this particular issue above by myself.
The specific referred to blog on Tumblr, has an option to change the target of the outgoing links. So I can ‘escape’ from the iframe by changing the link tags. So far so good.
But, this doesn’t solve the problem inherent in adding an external page link in an iframe, where the external page does not allow these changes. The iframe action by itself seems not to add any of the tags ‘target_top’ etc to source code when they have been defined in the iframe action.
So, is the iframe action at all usable? Many sites allow us now to lump information together - ‘aggregate’ - and I would like to use some of these in order to present the ‘aggregated’ data under a logo and then allow the link out to go to a new page or at least a fresh page to the referenced site or blog.
It seems the only way to do this is to use a Frameset but I am reluctant to do this as I am told they are going out of fashion.
There’s always another way. Tumblr helpfully publishes your entire
blog as RSS.
Get on over to the ActionsForge and download the ReadFeed Action.
Instead of an iframe, draw an instance of the Action on your page, and
set the parameters according to the documentation. What will happen is
that a PHP application running on your server will “read” the RSS feed
that Tumblr publishes for your page, translate it into XHTML, and then
use JavaScript to “inject” it into your page where the Action is drawn.
Walter
On Jan 8, 2009, at 6:11 AM, John-Paul Kernot wrote:
globally adjust the iframe to open any links within that iframe
to a new window or
overwrite the page within which the iframe is contained