Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Re: Iframe question

 
Thread Tools Search this Thread
Old 11-05-2009, 06:07 PM   #1
Default Re: Iframe question


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
  Reply With Quote
Old 11-05-2009, 10:30 PM   #2
BootNic
 
Posts: n/a
Default Re: Iframe question
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
  Reply With Quote
Old 11-05-2009, 10:43 PM   #3
Raymond Schmit
 
Posts: n/a
Default Re: Iframe question
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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46