![]() |
|
|
|
#1 |
|
On 04 Nov 2009, 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. 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. After reading the above and all the replies to minute, let me say this about them. Perhaps all you have to do is remove the target attribute and validate the page. It's pretty easy to prevent pages from being framed by external websites. If the framed-page author has taken any such steps, you're out of luck. -- Neredbojias http://www.neredbojias.org/ http://www.neredbojias.net/ Neredbojias |
|
|
|
|
#2 |
|
Posts: n/a
|
On Thu, 05 Nov 2009 13:22:51 -0500
sheldonlg <sheldonlg> wrote: > Neredbojias wrote: >> On 04 Nov 2009, 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. 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. >> >> After reading the above and all the replies to minute, let me >> say this about them. >> >> Perhaps all you have to do is remove the target attribute and >> validate the page. > > It happened even without that target attribute. > >> >> It's pretty easy to prevent pages from being framed by >> external websites. If the framed-page author has taken any such >> steps, you're out of luck. > > That seems to be the consensus (even if he did it > inadvertantly). The page that loads has a frame busting script: if(top != self) {top.location.href = location.href;} -- BootNic Thu Nov 5, 2009 05:30 pm The human mind treats a new idea the same way the body treats a strange protein; it rejects it. *P. B. Medawar* â 249 days remaining -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkrzUiEACgkQmo2774GZ7qlEZQCgp7XtnLU3Fi m6YuHydqg5GshL jmAAnAphk1lVxPN7dwt7+CHX9hZsOWFy =s961 -----END PGP SIGNATURE----- BootNic |
|
|
|
#3 |
|
Posts: n/a
|
On Thu, 05 Nov 2009 13:22:51 -0500, sheldonlg <sheldonlg> wrote:
>Neredbojias wrote: >> On 04 Nov 2009, 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. 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. >> >> After reading the above and all the replies to minute, let me say this >> about them. >> >> Perhaps all you have to do is remove the target attribute and validate >> the page. > >It happened even without that target attribute. > >> >> It's pretty easy to prevent pages from being framed by external >> websites. If the framed-page author has taken any such steps, you're >> out of luck. > >That seems to be the consensus (even if he did it inadvertantly). It's not possible to do it *inadvertantly* ..... .... -> http://www.cryer.co.uk/resources/javascript/script1.htm Raymond Schmit |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motherboard general question | Jimmy Sledge | Computer Information | 8 | 03-10-2007 08:37 AM |
| Question on learning "Networking"... | DoubleEntendre | Computer Support | 15 | 03-11-2006 11:28 AM |
| hd partition question | rabbit | Computer Support | 6 | 01-12-2006 04:05 AM |
| Wireless PEAP/MSCHAPV2 client programming question | Jim Howard | Wireless Networking | 6 | 07-02-2005 12:53 PM |
| xp question | Barry | Computer Support | 18 | 12-31-2003 06:06 AM |