Forum Moderators: open

Message Too Old, No Replies

Iframe Content

Iframe Content

         

themoron

6:12 pm on Dec 18, 2003 (gmt 0)



Is it possible to show part of a web page within an iframe without that part being the top left?

For instance I need to view a section of a page starting 150px from the left and 200px from the top of a size 100px x 100px.

I have tried with anchors in the src page, but everything I try makes the parent page jump as well as the iframe.

DrDoc

6:17 pm on Dec 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



do you control the page you're loading the iframe?

themoron

6:41 pm on Dec 18, 2003 (gmt 0)



I do, I want all pages looking at this one page to update automatically when the src page changes ( a sort of bodged dyanmic site)

DrDoc

7:10 pm on Dec 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So, why not just edit the page to only show what you want it to show?

themoron

7:55 pm on Dec 18, 2003 (gmt 0)



Cos I want the page to have several tables/layers, the page will be visible in it's own right and I want previews of that page on another E.G Local news and weather page (written by myself). With the top story (and picture?) and todays weather appearing in an iframe on my index. I don't want to update both pages (and possibly more later) each time I update the news/weather.

I know a database would be the best way but I am on day 1 of learning MySQL