Question about Iframe / frames

Discussion in 'HTML & Website Design' started by ki3000, Sep 3, 2008.

  1. #1
    Hello. I have a quick question about IFrames. Is there a way to create an iframe (two pages), where you can make it look like one complete page? For example, let's say you have two pages, you can combine them, where the bottom page is scrollable (but the top one isn't / because it's much smaller), but they both have a single scrolling bar. In other words, you can scroll to the bottom of the second page, and while you are doing this, the top page is also scrolling at the same time. Simply put, make two pages together, and they look like a single complete page (the top page will be small/short in height, but the bottom one will be kinda long).

    Thanks.........
     
    ki3000, Sep 3, 2008 IP
  2. tastro

    tastro Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    of course you can, there u go dude:

    <FRAMESET border="0" frameSpacing="0" rows="200,*" frameBorder="no">
    <FRAME name="topFrame" src="topframe.php or http://google.com/ and google will show up" noResize scrolling="no">
    <FRAME name="mainFrame" src="mainframe.php">
    </FRAMESET>

    rows="200,*" <--- here you can decide the height of the top frame

    good luck
     
    tastro, Sep 3, 2008 IP
  3. ki3000

    ki3000 Active Member

    Messages:
    361
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thanks a lot. it's a little bit late for me right now, but i will try this as soon as I get time. thanks a whole lot.
     
    ki3000, Sep 5, 2008 IP