How do I display a piece of one page on another page.

Discussion in 'HTML & Website Design' started by maddog1993, Feb 17, 2012.

  1. #1
    Hi, I'm trying figure out how to display just one part of a web page within another page, I want to display my order page on my index. I tried doing so with IFrame but, I don't know how to get around it re-producing the header from the original page as well. Is there a way to fix it so that it will only display the part I need. Hopefully I explained my problem clearly, but If you check out my site you should be able to see what I'm taking about, MaddogNoland.com
     
    maddog1993, Feb 17, 2012 IP
  2. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #2
    Why not just replicate the code you want on the index page . I'm not 100% sure I understand you but your solution seems to be overcomplex and confusing . You don't nest pages , you nest divs .
     
    ApocalypseXL, Feb 17, 2012 IP
  3. play.f0r.b3auty

    play.f0r.b3auty Guest

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    with iframe you can set a starting point (a name="x" ... a href="#x" ) on the site and define the width and heights so shows only what you need
     
    play.f0r.b3auty, Feb 18, 2012 IP
  4. cybertr0ne

    cybertr0ne Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if there is authentication you might have crossdomain problems
     
    cybertr0ne, Feb 28, 2012 IP
  5. ValDeV

    ValDeV Member

    Messages:
    130
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    iFrame, cURL or jQuery get. :)
     
    ValDeV, Feb 29, 2012 IP