First, you would create the iframe page, call it newsarchive.htm (or whatever). In this page, you could bring up the iframe by putting in your html:
Code:
header stuff
<iframe name="archive" id="archive" src="archive.htm" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; height:100%;"></iframe>
footer stuff
Then use javascript to open that page in a new smaller window:
Code:
<A HREF="#" onClick="window.open('newsarchive.htm','archive','resizable,height=500,width=650,scrollbars=no'); return false;">News archive</a>
You can set the height and width to whatever you want. Since it's an iframe, you would probably set scrollable to no. However, the iframe within this smaller page would still scroll.
Make sure you iframe page will work in the smaller dimensions.
One other thing, you might want to add copy for people who turn javascript off to just open the archive in a new window. People with javascript turned on won't see this:
<noscript>Please enable javascript or go <a href="newsarchive.htm" target="_blank">here</a></noscript>
Bookmarks