9 Replies Latest reply on May 25, 2010 5:59 AM by Zefyrinus

    Link to a frame opens up in a new window

    Zefyrinus

      I'm making a website with two frames: the top one contains the menu and the bottom one shows the content. I read the description in the help page, that as target you should write the name of the frame you want the link to open up in. I did that but it opens up in a new window anyway. Why is this?

       

      The name of the frameset is called "index" and the top frame is called "menyrad". The start page and the bottom frame are the same thing, it's called "start". Should these be two separate things instead? But then wouldn't the bottom frame be empty when one goes to the page for the first time? Anyway, I have made only one other page so far, it's called "hyr_personal". In the links that are on the top frame, I have written "start.html" or "hyr_personal.html" as the link and "start.html" as the target. This is all the code I have so far:

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">

      <head>

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

      <title>Jourbemanning</title>

      </head>

       

      <body background="moln.png">

      <a href="start.html" accesskey="S" target="start.html">Start</a>

      <a href="hyr_personal.html" accesskey="H" target="start.html">Hyr personal</a>

      </body>

      </html>

       

      If there's anything else you need to know, just tell me. I haven't published the page yet. I saw that someone else had a thread about the same subject, but their code didn't look even remotely the same.