PDA

View Full Version : menu in iFrame that opens a page in the next iFrame



mikersson
03-23-2010, 01:54 AM
Hello I have a "menu" page in a iFrame like:

<div class="navBar"><a href="#l" target="content">First Page</a> | <a href="#">Next page</a> | <a href="#">Back page</a> | <a href="#" target="content">Last page</a> | <a href="pdf/arm001.pdf?print_pages=true" target="content">Print Page</a></div>
How can I write a menu in my top Iframe like:

FIRST PAGE | NEXT PAGE | BACK PAGE | LAST PAGE

that can open the pages in the "content" iFrame?

<body>
<div id="wrapper">
<div id="header">
<iframe name="header" iframe id="header" src="header.html" Scrolling="no"> </iframe>

</div>
<div id="content">
<iframe name="content" iframe id="content" src="arm001.html" Scrolling="no"> </iframe>

</div>
<div id="footer"><iframe name="footer" iframe id="footer" src="footer.html" > </iframe></div>
</div>
</body>