Iframe certain parts of the website

Discussion in 'HTML & Website Design' started by mightyb, Jul 19, 2006.

  1. #1
    Im building myself a little homepage for my browser. I want to have latest weather in front of me. Is there any way i can iframe just the weather bit from this website? http://www.bbc.co.uk/weather/5day.shtml?id=1413 so that its nice and compact.

    Thanks guys!
     
    mightyb, Jul 19, 2006 IP
  2. danielbruzual

    danielbruzual Active Member

    Messages:
    906
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    70
    #2
    I have two ideas on my mind but I don't know how they would work. First is to use an iframe and then with some sort of javascript assign the content of the iframe negative margins (with css) so that only the part you are interested in would display (you would still load the entire page).
    The other idea I had was to make a php script that gets the info from a XML feed and echoes it, but I can't seem to find the feed for your city's weather on that site.
     
    danielbruzual, Jul 19, 2006 IP