Pulling a certain part of a page using iframe

Discussion in 'HTML & Website Design' started by FoxyFLS, Jun 24, 2008.

  1. #1
    i know using this would pull in the full google page into an iframe and i can change the code slightly to show a certain size of box with the full google page in it and you can scroll etc etc.
    <iframe src="http://www.google.com"></iframe>

    what if i just wanted to take a certain section of http://www.google.com like just pull in whats in this image below [​IMG] in an iframe instead of the entire page.

    I'm just using google as an example and i'm pretty poor at explaining myself so please don't hesitate to ask questions if ive confused you :)
     
    FoxyFLS, Jun 24, 2008 IP
  2. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I "think" this could be achieved using PHP and cURL.

    Not sure how you would do this with an iframe though, sorry.
     
    nicangeli, Jun 24, 2008 IP
  3. FoxyFLS

    FoxyFLS Peon

    Messages:
    234
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    do you have info on how it can be done with php and cURL?
     
    FoxyFLS, Jun 24, 2008 IP
  4. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nope, but google does.
     
    nicangeli, Jun 24, 2008 IP
  5. Gate

    Gate Peon

    Messages:
    52
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Make your own search box that posts the search data to google :)

    and just put a google image at the top, no one would know the difference ;)
     
    Gate, Jun 24, 2008 IP
  6. FoxyFLS

    FoxyFLS Peon

    Messages:
    234
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i was using google as an example mate, anyhows i got it sorted using iframes and css
     
    FoxyFLS, Jun 25, 2008 IP
  7. dannygsam

    dannygsam Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hey Foxy, can you let me know the CSS you used to acheive this?
     
    dannygsam, Jul 28, 2009 IP
  8. miles2go

    miles2go Peon

    Messages:
    567
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I don't think it will help its not a great idea of doing so.
     
    miles2go, Jul 29, 2009 IP