SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2012
    Location
    Web
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    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: http://srm.mnganesh.com/

    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?

    Code:
    <iframe src="http://srm.mnganesh.com/" height="500px" width="800px" frameborder="0"></iframe>
    Thank You

  2. #2
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,283
    Mentioned
    181 Post(s)
    Tagged
    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)


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


Bookmarks

Posting Permissions

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