SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2012
    0 Post(s)
    0 Thread(s)

    Display parts of a website in an iframe

    Like my heading says, I want to display a part of the website in an iframe. Here is the site I want to put in the iframe:

    I want to display everything apart from the footer and the GPA Calculator heading at the top. I want to put the rest of the content alone in my website. And on entering the roll numbers, I want students to be able to see their Grades and GPA's. Here's a sample roll number: 1021140050

    I just tried this code to put in the iframe, resized it but I don't know how to show a part of it. I googled for many tutorials but couldn't find anything that could fit my purpose. Can anyone please help me out with this?

    <iframe src="" height="500px" width="800px" frameborder="0"></iframe>
    Thank You

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Central Florida
    192 Post(s)
    4 Thread(s)
    I think you will need to use a Server-side technology (PHP, ASP, Perl) to scrape and parse the source page.
    Then you can inject the portions you want in your HTML. You would even have the flexibility to reformat the data!!
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)

    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts