Load Page & Menu in Frames

Discussion in 'HTML & Website Design' started by MichaelLewis, Apr 20, 2008.

  1. #1
    I have a 3 part Frame: TOP, LEFT, MAIN.

    In LEFT I have my starting menu and in MAIN I have a Log-in form.

    Upon loging in, I want to load a new form in MAIN and a new menu in LEFT.

    I can do one or the other but I can't do both.

    Can someone show me how to do both?

    Thanks,
    Michael
     
    MichaelLewis, Apr 20, 2008 IP
  2. mooseweb

    mooseweb Banned

    Messages:
    1,154
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If I were you, I would take all your code and transform it into a web 2.0 website. That means changing everything to be balanced with CSS and the use of <div> tags....


    Frames are old, and don't work all too well. If you don't know exactly how to transform your site check out the links below.

    hxxp://www.w3schools.com/css/default.asp
    hxxp://www.w3schools.com/tags/tag_div.asp
     
    mooseweb, Apr 20, 2008 IP
  3. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #3
    If you feel like you must stay with frames you are going to need to set the target to whole page and a new frame page when you login. That way you can include whatever you like in the new frames.

    Seriously you should look at CSS and PHP before you waste too much effort on such an out-dated concept.

    Frames have been dead for at least 5, if not 10 years.
     
    Colbyt, Apr 20, 2008 IP
  4. hithotwinds

    hithotwinds Active Member

    Messages:
    82
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #4
    Test paste
     
    hithotwinds, Apr 20, 2008 IP
  5. MichaelLewis

    MichaelLewis Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Didn't realize Frames was not only outdated but so outdated.
    I'm essentially a beginer with web programming.
    Will look into CSS. I've already started PHP.
    Thanks,
    Michael
     
    MichaelLewis, Apr 21, 2008 IP
  6. MichaelLewis

    MichaelLewis Active Member

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #6
    Excellent!
    Many thanks for the Styles/CSS/DIV recommendation instead of FRAMES.
    I've started to use this but my question now is:

    Am I doing it the right way?

    Every html file sent by my PHP to the browser must contain the 3 parts of my display even if the TOP (div) and the LEFT (div) are the same as the last html file.

    Thanks,
    Michael
     
    MichaelLewis, Apr 23, 2008 IP
  7. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #7
    Your code must include the references to those yes. The actual files are cached on the user's computer so you are not paying the bandwidth to serve them

    If you want to post or PM a URL or your code I will take a quick look.
     
    Colbyt, Apr 23, 2008 IP