Loading website into other frame

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • centre507
    New Member
    • Jan 2007
    • 2

    Loading website into other frame

    Hi,

    I have three frames, top, middle and bottom.

    Main page has website link and I want those website content
    to be shown inside of middle frame while clicking links inside of top frame.

    Based on given code, can anyone point to the right direction?
    I don't want to be using iFrame.

    'main,html'
    <html>

    <frameset rows="150, *, 100">
    <frame src="top.html" name="top frame" scrolling="no">
    <frame src="http://www.centre507.o rg/" name="middle frame" scrolling="yes" >
    <frame src="bottom.htm l" name="bottom frame" scrolling="no" nosize>


    </frameset>
    </html>

    'top.html'
    <html>
    <head>
    <title>Top frame</title>
    </head>
    <body>
    <center><h2>T op frame text here.</h2></center>
    '<a href ="http://www.centre507.o rg/">home</a>'
    '<a href ="http://www.centre507.o rg/forums/">forum</a>'

    </body>
    </html>

    'middle.html
    <html>
    <body>
    <center><h2>mid dle frame here.</h2></centre>
    <a href="http://www.centre507.o rg/forums/"></a>
    </body>
    </html>

    'bottom.htm'
    ignore it for now
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    Use "target" to specify what where you want the frame to go. This has some examples at the bottom of the page. If your still stuck we can provide an example.

    HTH,
    Aric

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Use
      Code:
      <a href ="http://www.centre507.org/" target="middle frame">home</a>
      and likewise for any other links in the top frame.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Well, imagine that! Posted a reply a few seconds too late and Aric got there first!

        Comment

        • AricC
          Recognized Expert Top Contributor
          • Oct 2006
          • 1885

          #5
          Originally posted by acoder
          Well, imagine that! Posted a reply a few seconds too late and Aric got there first!
          LOL!

          Glad more people are coming down here to help out/provide their opinion. For awhile it was pretty much just me and drhowarddrfine

          Comment

          • centre507
            New Member
            • Jan 2007
            • 2

            #6
            Originally posted by acoder
            Use
            Code:
            <a href ="http://www.centre507.org/" target="middle frame">home</a>
            and likewise for any other links in the top frame.
            Thank you.

            It is amasing and I certainly can depend on help in here

            Comment

            • drhowarddrfine
              Recognized Expert Expert
              • Sep 2006
              • 7434

              #7
              acoder,
              Don't listen to AricC

              (What?! No smiley's in this place?!!!)

              Comment

              Working...