Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2007
    Posts
    90

    help with framesets!

    hello,

    i'v build a website recently,and i added framesets to make sure that people keep the menu always visible.
    anyway,the linksw only work when you right-click them and select open in new tab or window(both ie and ff)
    could anyone help me please?
    the page containing the code goes like this:

    <html>
    <head>
    <title>
    prepage
    </title>
    </head>
    <frameset rows="15%,*,85%">
    <frame FRAMEBORDER="0" src="menu1.html" noresize name="frame1">
    <frame FRAMEBORDER="0" src="home.html" name=frp>

    <noframes>sorry,your browser does not support frames </noframes>
    </frameset>
    <body>
    <!-- --><script type="text/javascript" src="/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){ _uacct="UA-230305-2";_udn="freewebs.com";urchinTracker();if (typeof(fw_al)!='undefined' && fw_al==2 && fw_np==1){_uacct="UA-230305-18";_uff=null;urchinTracker();}}</script></body>

    </html>


    and the menu goes like this:

    <html>
    <head>
    </head>
    <body>
    <b>right click and open in new tab or window</b>
    <a href="home.html" target=frp><img src="home.png"></a>
    <a href="jobs.html" target=frp><img src="jobs.png"></a>
    <a href="rpp.html" target=frp><img src="rpp.png"></a>
    <a href="jt.html" target=frp><img src="jt.png"></a>
    <a href="hints.html" target=frp><img src="hints.png"></a>
    <!-- --><script type="text/javascript" src="/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){ _uacct="UA-230305-2";_udn="freewebs.com";urchinTracker();if (typeof(fw_al)!='undefined' && fw_al==2 && fw_np==1){_uacct="UA-230305-18";_uff=null;urchinTracker();}}</script></body>
    </html>

    if its any help,here's the link to the site
    <a href="http://www.freewebs.com/thegather/iindex.html">this place</a>

  2. #2
    Join Date
    Feb 2004
    Location
    Toronto, Canada
    Posts
    3,821
    It has been quite some time since I dealt with Framesets.

    But something that caught my eye is this:

    "target=frp"

    I don't see anything named "frp" but I'm also sure you need " " around the frp. No?

    I would highly recommend not using Framesets, but if that's what you have to use, that's what it has to be...
    - Rik

  3. #3
    Join Date
    Feb 2007
    Location
    Riverside, CA
    Posts
    257
    <frame FRAMEBORDER="0" src="home.html" name=frp>
    I'm pretty sure you would need quotes around name="frp" in that line as well.

    I am also a bit rusty with frames myself, but that looks like the problem...
    10 PRINT "The cake is a lie"
    20 GOTO 10

  4. #4
    Join Date
    Jan 2004
    Location
    Amsterdam/Barcelona
    Posts
    427
    wow frame set the horror that's a long time a go
    you better off using css
    i mean frame sets give you alot of restrictions
    as stated before
    its very old school.
    Link to ADP website http://www.muezli.com/Adp
    -------------------------------------------------------------------------------------
    WIP=The invasion of the Dreadnoughts, an other 1 has landed
    -------------------------------------------------------------------------------------
    Yoghurt with www.Muezli.com and lots of fresh fruit

  5. #5
    Join Date
    Feb 2004
    Location
    Toronto, Canada
    Posts
    3,821
    Quote Originally Posted by DanMulvey View Post
    I'm pretty sure you would need quotes around name="frp" in that line as well.

    I am also a bit rusty with frames myself, but that looks like the problem...
    "<frame FRAMEBORDER="0" src="home.html" name=frp>"

    Ah, my bad. Thanks for pointing it out.
    - Rik

  6. #6
    Hi there
    If you really want to use frames, I suggest you use IFRAMES (a.k.a CWINDOWS). They are far more dynamic and are easier to use when using links to target framed content.
    IFraming has helped me many times in finding a solution to HTML FRAME problems.
    Heres a link to get ya started:
    http://www.w3schools.com/tags/tag_iframe.asp

Posting Permissions

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