![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I have searched Google, but found nothing about navigating links inside of Iframes, just how to get pages initially into the Iframe. |
#3
| |||
| |||
|
|
sheldonlg wrote: I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I have searched Google, but found nothing about navigating links inside of Iframes, just how to get pages initially into the Iframe. http://www.w3.org/TR/html401/present/frames.html#adef-target |
#4
| |||
| |||
|
|
I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. |
|
Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? |
#5
| |||
| |||
|
|
In article <ZtCdnXYoDOwwZmzXnZ2dnUVZ_t2dnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. You do not give a URL to show this behaviour. Here is a URL where I do not have this behaviour: http://dorayme.netweaver.com.au/frames/iFrameTargetTesting.html Do you have this behaviour with this? Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I doubt it. In my URL you will see no monkey business with links. But if the website you are embedding in the iframe is not your own html doc and has something like target="_blank" for its links or perhaps something else, I can't think immediately of any way you can control this. |
#6
| |||
| |||
|
|
dorayme wrote: In article <ZtCdnXYoDOwwZmzXnZ2dnUVZ_t2dnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. You do not give a URL to show this behaviour. Here is a URL where I do not have this behaviour: http://dorayme.netweaver.com.au/frames/iFrameTargetTesting.html Do you have this behaviour with this? Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I doubt it. In my URL you will see no monkey business with links. But if the website you are embedding in the iframe is not your own html doc and has something like target="_blank" for its links or perhaps something else, I can't think immediately of any way you can control this. It is not my own web site that is being embedded. I have no control over those internal links. So, I guess the answer is "no". |
#7
| |||
| |||
|
|
In article <X6WdnVF2Laa6gW_XnZ2dnUVZ_gOdnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: dorayme wrote: In article <ZtCdnXYoDOwwZmzXnZ2dnUVZ_t2dnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. You do not give a URL to show this behaviour. Here is a URL where I do not have this behaviour: http://dorayme.netweaver.com.au/frames/iFrameTargetTesting.html Do you have this behaviour with this? Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I doubt it. In my URL you will see no monkey business with links. But if the website you are embedding in the iframe is not your own html doc and has something like target="_blank" for its links or perhaps something else, I can't think immediately of any way you can control this. It is not my own web site that is being embedded. I have no control over those internal links. So, I guess the answer is "no". Thanks for not bothering to answer my question. I made the above URL and asked you a question about it - to eliminate any possible odd setting |
|
you might have on your browser. And then we move to the next stage and I might go on to discuss the role of target="_blank" and we can all have a jolly good time, some of it might even be informative. |
#8
| ||||
| ||||
|
|
dorayme wrote: In article <X6WdnVF2Laa6gW_XnZ2dnUVZ_gOdnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: dorayme wrote: In article <ZtCdnXYoDOwwZmzXnZ2dnUVZ_t2dnZ2d (AT) giganews (DOT) com>, sheldonlg <sheldonlg> wrote: I have never handled Iframes before and I don't know if this is possible. I currently have a page with an Iframe. Inside of that Iframe is an external web page (this is what the customer specifically wanted). This works fine (although there is a bit of scrolling introduced due to its capture). Now, when a link inside that that external web page that is in the Iframe is clicked, it takes over the whole parent page and doesn't stay within the Iframe. You do not give a URL to show this behaviour. Here is a URL where I do not have this behaviour: http://dorayme.netweaver.com.au/frames/iFrameTargetTesting.html Do you have this behaviour with this? Is there a way to keep it confined to the Iframe and only have the contents of that Iframe change to the linked page? I doubt it. In my URL you will see no monkey business with links. But if the website you are embedding in the iframe is not your own html doc and has something like target="_blank" for its links or perhaps something else, I can't think immediately of any way you can control this. It is not my own web site that is being embedded. I have no control over those internal links. So, I guess the answer is "no". Thanks for not bothering to answer my question. I made the above URL and asked you a question about it - to eliminate any possible odd setting Sorry, I didn't realize that it was specially made URL and I thought it was a URL that you already had and it didn't open up the whole page. I also was further by distracted by what you said after that -- as that seemed to be the answer. So, to answer your question, yes, that is what I want to accomplish and no, I do not have that behavior, and further no, I have no control of the links in the destination URL. you might have on your browser. And then we move to the next stage and I might go on to discuss the role of target="_blank" and we can all have a jolly good time, some of it might even be informative. Anyway, here is the iframe code that I _do_ have control over: iframe width="615" height="545" frameborder="1" scrolling="auto" src="http://the_target_url.html" target="_self"></iframe |
|
What I have no control over is the the_target_url.html and its links. I guess that they must have target="_blank" in them. |
|
One of the links in that target url that opens the whole page is: |
|
href="altentry.asp?action=indguest&whereto=jobs" |
#9
| ||||
| ||||
|
|
So, to answer your question, yes, that is what I want to accomplish and no, I do not have that behavior, and further no, I have no control of the links in the destination URL. OK. But since we cannot inspect the web site you are embedding, it is |
|
Anyway, here is the iframe code that I _do_ have control over: iframe width="615" height="545" frameborder="1" scrolling="auto" src="http://the_target_url.html" target="_self"></iframe |
|
What I have no control over is the the_target_url.html and its links. I guess that they must have target="_blank" in them. Or there may be a base element with targets in the head or there may be |
|
One of the links in that target url that opens the whole page is: href="altentry.asp?action=indguest&whereto=jobs" |
#10
| |||
| |||
|
|
sheldonlg <sheldonlg> wrote: It is not my own web site that is being embedded. I have no control over those internal links. So, I guess the answer is "no". |
![]() |
| Thread Tools | |
| Display Modes | |
| |