![]() |
|
|
+ Search |
![]()
|
Apr 6th, 2008 19:55
ha mo, Mark Griffin,
I am trying to come up through an IFRAME to access an item on the
parent document so that I can write another IFRAME and position it in
the correct place.
When I try this however I get an error that the document cannot be
found.
My code for writing the new IFRAME:
var posi = parent.document.body.clientWidth/2-150;
function addIframe () {
if (document.all)
parent.document.body.insertAdjacentHTML('beforeEnd',
'<iframe style="position:relative; top:-850px; left:'+ posi +'px;
width: 468px; height: 360; zindex:0;" id=thisIframeName
src="myiframecontents.html"></iframe>');
}
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com