mindspin311 Posted February 18, 2008 Share Posted February 18, 2008 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? Quote Link to comment Share on other sites More sharing options...
mindspin311 Posted February 18, 2008 Author Share Posted February 18, 2008 Actually don't know why I posted this: <iframe target = "_content" src="test.htm"></iframe> It's actually this: <iframe name= "_content" src="test.htm"></iframe> Quote Link to comment Share on other sites More sharing options...
mindspin311 Posted February 18, 2008 Author Share Posted February 18, 2008 Nevermind. I don't know what I was originally doing wrong, but it works now for some reason Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.