I don't know exactly what you want, but the following may be of help.
If you put this script in the head:
Code:
<script type="text/javascript">
function create_external(the_id,url,object_style)
{
var inserted=document.getElementById(the_id);
if(/*@cc_on!@*/false)
{
inserted.innerHTML='<iframe src="' + url + '", style="'+ object_style +'"><\/iframe>'
}
else
{
inserted.innerHTML='<object type="text/html" data="' + url + '", style="'+ object_style +'"><\/object>'
}
}
</script>
and this div in the body:
Code:
<div id="some_id" style="display:inline"></div>
then you can have any external content in the div with:
href="#" onclick="create_external('some_id','some_file.html', 'position:absolute; width:190px; height:250px; background-color:yellow; left:0px; border:1px solid red;margin-top:9px'); return false; " (the styles are just illustrations).
===
Arie Molendijk.
Bookmarks