Jump to content

Iframes problem with targets


mindspin311

Recommended Posts

I have a layout like so:

 

-----------------------------

| Header                            |

-----------------------------

| Menu | Content                |

|        |                            |

|        |                            |

|        |                            |

|        |---------------------

|        | Footer                  |

-----------------------------

 

The header, menu, and footer are pretty much static and never change. Content will be scrollable and the target of the links in the 3 previous mentioned frames. I'm having a problem getting the target to work.

 

Here's what I have for the index.htm

 

<table width = "800px" cellspacing = "5" cellpadding = "5">
  <tr>
    <iframe src="header.htm" width="800px" height="100px" frameborder="0" scrolling="no"></iframe>
  </tr>
  <tr>
    <td valign="top" width="192px">
      <iframe src="menu.htm" width="192px" height="700px" frameborder="0" scrolling="no"></iframe>
    </td>
    <td>
      <table valign="top">
      <tr>
        <td class="content">
          <iframe target = "_content" src="test.htm"></iframe>
        </td>
      </tr>
      <tr>
        <td class="footer">
          <iframe src="startpage.htm"></iframe>
        </td>
      </table>
    </td>
  </tr>
</table>

 

And here's what I have for header.htm which should change the content frame

 


<a href="startpage.htm#_content"><img border=0 src="images/title.jpg" /></a>

 

What am I doing wrong here?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.