framed iframe

Hello everyone,

I’m using iframe to show an internal page in a page. But I don’t want to show all the page, just one part of it (and it is found in the middle of the page! )
Is it possible with iframe or shall I use another action?

Greetings,
Juliana


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

An iframe is just a window cut into your page where you can show another html document. There is a slight chance that you could get a portion of the page lower than the top to appear, but only if that page includes either an anchor link or a valid ID, such that you could append an anchor hash to the end of the iframe’s src attribute.

Let’s say there’s page that appears in your iframe, and it’s at http://example.com/page.html. So you add that URL to the iframe, and the top of that page appears. But if you want to show the Products segment of that page, and there is a header above the products that looks like this (in code): <h2 id="products">Products</h2>. Assuming that, then you could simply change the URL that you enter into the iframe to http://example.com/page.html#products. The page.html will load, and then “anchor down” to the Products header.

It’s not precisely what you’re asking for, because all the rest of that donor page will still be there. You haven’t simply razored out the one bit of that page that you want to show and inserted it seamlessly into your page; there will be scroll bars around the part that shows, and your iframe will have to be carefully sized to show the part you want to see.

If you really want to only show a portion of someone else’s page inline within your page, you’ll need to use a technique called “screen scraping”, which is very technical and extremely brittle (any change in the foreign page, which you don’t control, will break your page).

Walter

On Jul 8, 2013, at 5:25 AM, Juliana wrote:

Hello everyone,

I’m using iframe to show an internal page in a page. But I don’t want to show all the page, just one part of it (and it is found in the middle of the page! )
Is it possible with iframe or shall I use another action?

Greetings,
Juliana


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options