If you have a main page with an iframe in it and then have a link in the iframe. If you click on the link which loads another page in that iframe, would it reload the parent page the iframe is in or will the main page just stay there while the iframe does it’s calling to the server and loading of the page within it.
I want to know this for game distribution as some people will have games on long myspace pages and if they click on a link the play the game, then I don’t want them to have to wait around for the entire main page with the new iframe data to reload again.
Anything within the iframe is within the iframe, and it stays there unless you tell it otherwise. If you have <iframe name=“inset”> and on the page that is in the iframe you have a link with no target attribute, that’s equivalent to it having a target=“inset”. If all you’re doing is loading a page into the iframe, it has no effect on the outer page at all.
So by doing this, the main pages content doesn’t reload, but the iframes content will.
So in other words, the iframe will only use bandwidth due to it bringing in new content, but the main page doesn’t use any bandwidth at all as it doesn’t refresh or reload at all?
Re-written my thread question as it’s a bit better to understand what I’m asking:
Hi,
If you have a main page with an iframe in it and then have a link in the iframe. If you click on the link which loads another page in that iframe, would it reload the parent page the iframe is in or will the main page just stay there while the iframe does it’s calling to the server and loading of the page within it.
I want to know this for game distribution as some people will have games on long myspace pages and if they click on a link in the iframe to play the game, then I don’t want them to have to wait around for the entire main page to reload again.