Code:
//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["myframe1", "myframe2"]
and:
Code:
<iframe id="myframe1" src="somepage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
<iframe id="myframe2" src="anotherpage.htm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
Once you have that stuff, you can use:
Code:
<a href="javascript:loadintoIframe('myframe1', 'some.htm')">Link</a>
and:
Code:
<a href="javascript:loadintoIframe('myframe2', 'another.htm')">Link</a>
Bookmarks