Так правильно?
<div id="d1">
<script language="JavaScript" src="http://domain.net/links/name.js"></script>
</div>
<script language="JavaScript">
var div = document.getElementById('d1')
var iframe = document.createElement('iframe');
iframe.src = div.getElementsByTagName('a')[0];
iframe.style.width = 468;
iframe.style.width = 300;
document.getElementsByTagName('body')[0].appendChild( iframe );
</script>
|