Results 1 to 5 of 5

Thread: Very newbie...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Unhappy

    I have a website and the first page is a frames page with my contact details etc etc. in the left frame of the page and other stuff in my main page (right frame). If I now link to another page, my contents frame stays on the left and the new page opens in the right frame - I do not want this to happen. The first page must have a left and right frame, but all subsequent pages must then have NO frames!!??

    Does this make sense......


    Any help please..

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    add target="_top" to the links

    Code:
    <a href="http://www.vb-world.net" target="_top">click here</a>
    Mark
    -------------------

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Lightbulb

    Sorry, my fault - I wasn't very clear...

    I use ASP, with this code to go to the next page

    <form name="frmmypage" id="frmmypage" method="POST" action="details.asp">

    When the user clicks on the submit button, the details.asp must open - on a new page - not in the right side frame!!

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    put the target thingy in the form tag
    Code:
    <form name="frmmypage" id="frmmypage" method="POST" action="details.asp" target="_top">
    Mark
    -------------------

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Talking

    Thank you - it works!!

Posting Permissions

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



Click Here to Expand Forum to Full Width