Forum Moderators: open
Using document.write is one way.
However, you can also create it using the document object model and the createElement method.
[document.createElement('iframe');]
Or - quicker and simpler than using the DOM - if you want to position the iframe somewhere in particular on the page, you can mark the spot with a div, create the iframe html code using javascript and then change the innerHTML property of the div to the html code for the iframe.
The iframe will then appear in that spot on the page.
I'm assuming you don't want the iframe to take up the whole page. Otherwise why not just link to the source.....
If you'd like a further explanation on any of these other possibilities I'll check this thread later on today.
rich