Thank you Hywel.
I'm not sure what the code would need to be since I have two pages that I am
working with. The parent page is called knowledgebase.aspx and has the
iframe script below. Would I need to put this in the parent page, or the
iFrame below?:
<SCRIPT language=JavaScript>
<!--
function calcHeight()
{
//find the height of the internal page
var the_height =
document.getElementById('the_iframe').contentWindo w.document.body.scrollHeight;
//change the height of the iframe
document.getElementById('the_iframe').height = the_height;
}
//-->
</SCRIPT>
<IFRAME id=the_iframe align=left src="/knowledgebase/default.aspx"
frameBorder=0
width="100%" scrolling=no onload=calcHeight();
height=446>
Houston, we have a problem. We got a bit ahead of ourselves and made this
with iFrame browsers in mind. We're so sorry. Please visit the knowledge
base directly <href="http://www.anydomain.com/knowledgebase/">here.</a>
</IFRAME>
"Hywel" <hy**********@hotmail.com> wrote in message
news:MP************************@news.individual.ne t...
In article <db********************@comcast.com>, Hugh G. Johnson says... I have a knowledgebase (KB) system I installed into my existing dynamicly
driven site. I used iFrame to grab the KB and place it in the content
area
of the page. This works great, but I realize now that I can't reference a
certain article, such as /article.aspx?id=10221. Adding the record number
does nothing since the iFrame references the article.aspx.
The code in article.aspx has to handle the ID.
What can I do to pass a variable to the iFrame?
Just as you are doing. Is there any code in article.aspx to make any
use of the ID you pass it?
--
Hywel
http://sponsorhywel.org.uk/