frames

edited December 2004 in Internet & Media
i just put frames on my site and when i put links on it i can not get it to go to the middle main area? I tried doing target="right" but it just opened up a new window. If you want to like at the frame it is on the site below. Please help me i an so confused.

site that frames are on: http://www.webspace-kostenlos.com/thegamerguy/site.html

Comments

  • edited December 2004
    sry the other one does not work, try http://www.webspace-kostenlos.com/thegamerguy/index.html :eek:
  • edited December 2004
    sry both do not work try the code instead:

    [PHP]
    <html>
    <head>
    <title>The-Gamerguy.tk</title>



    <frameset rows=15%,70% frameborder=0 framespacing=0>
    <frame name="top" SRC="top.html">
    <frameset cols=20%,60%,20% frameborder=0 framespacing=0>
    <frame name="side" SRC="side.html">
    <frame name="homepage" SRC="homepage.html">
    <frame name="side2" SRC="side2.html">
    </frameset>
    </frameset>
    <noframes>

    </html>
    [/PHP]
  • dodododo Landisville, PA
    edited December 2004
    read this: http://www.newbie.net/frames/

    basically you have to set the target tag to the name of the frame you specified in the index.html i think in this case you would use "homepage" as the target.

    ~dodo
  • edited December 2004
    sry the other one does not work, try http://www.webspace-kostenlos.com/thegamerguy/index.html :eek:

    this is the right one, go to this site to see the frame........
  • Lord_NightLord_Night Piqua Ohio
    edited December 2004
    Below is the code you need. you are not specifing a target frame therefore it is opening or overwriting the window as that is set default in IE.

    the two below codes allow the new window to open in two different places.
    the first one _blank allows you to open a new Internet windows when you click on it, it does not overwrite the current window you have open.

    the second one "main" allows it to open in the main part of the frame no matter how you have it split into parts. with one named main. ((you can name it what you wish though))

    basically you need to have a target code to tell it where to open it. else it will open in either a new window or will open over the top of the old one


    a target="_blank" href="http://www.yahoo.com">yahoo</a&gt;

    <a target="main" href="yahoorules.htm">Rules Of Yahoo</a>

    I will continue to help you if you need it.
    I can also give you a temp page to look at so you can see a source code.
  • edited December 2004
    I tried both of the codes that you gave me and both of them open a new window, like it did before. :confused:
  • dodododo Landisville, PA
    edited December 2004
    your code in the side frame is like this:
    A HREF="homepage.html" target="right"

    your code in the index has no frame named right:
    frame name="top" SRC="top.html"
    frameset cols=20%,60%,20% frameborder=0 framespacing=0>
    frame name="side" SRC="side.html"
    frame name="homepage" SRC="homepage.html"
    frame name="side2" SRC="side2.html"

    you will have to change either the target tags to "homepage" or the frame name to "right"

    ~dodo
  • edited December 2004
    oooooooooooooooo now i get it, thank you sssssooooo much :D !!!!!!!!!!!!
Sign In or Register to comment.