36 users online (0 members and 36 guests)  

Thread: newbie in need


  Results 1 to 2 of 2

Related

  1. Hello I am newbie here    Forum: Introduce Yourself
    Replies: 0
  2. Newbie    Forum: Search Engine Optimization - SEO - Forum
    Replies: 0
  3. newbie    Forum: General Discussion
    Replies: 0
  4. i'm a newbie    Forum: Web Hosting Forum
    Replies: 2
  1. #1
    nomadic's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2006
    Posts
    5

    newbie in need

    Doses anyone know why I cannot get pages to load into one of my frames.. Of course its the only frame I want to change content in!!
    Its a new frameset and all I have done is save the frameset and the four frames housed in it. One frame along the top, one along the bottom, and a split frame in the middle to make up the whole thing. Oh and I gave each frame a different background colour so I can view more easily during constuction. I want to change the pages in the right middle frame called "contents" but no matter what i try it loads in a new window??
    I can get the pages to load in any of the other 3 frames but I wont be doing this , I need it to load in the targeted frame as laid out as "contents"

    Any idea why it wont load into the specified frame??? below is the code from that page

    <!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=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-color: #FF0000;
    }
    #leftnavigation {
    position:absolute;
    width:256px;
    height:402px;
    z-index:1;
    left: 0;
    top: 0;
    }
    -->
    </style></head>

    <body>
    <div id="leftnavigation"><img src="images/mainnav.gif" alt="Main Navigation" width="256" height="402" border="0" usemap="#Mapone" />
    <map name="Mapone" id="Mapone">
    <area shape="poly" coords="134,48,224,3,250,15,233,48,138,81" href="aboutpage.html" target="contents" />
    <area shape="poly" coords="135,97,225,70,251,84,234,112,138,129" href="header.html" target="bottomFrame" />
    </map></div>

    </body>
    </html>

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: newbie in need

    Could be the doctype:
    Quote Originally Posted by htmldog
    Finally, if you're one of those wacky people who use frames, the XHTML 1.0 Frameset document type declaration looks like this:
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    Also, checking the syntax for <area> I didn't see any reference to the target attribute - doesn't mean it won't work, but it might be worth checking.



Tags for this Thread