I came across this resource where the .js file pulls out the iframe.
Source
The js file:
window.document.write("<iframe src=\"somedomain.com/page.htm\"/>");
However i’m not sure how to add attributes such as width/height/scrolling. Further more i would also like to add an image and link it as well, at the end of the iframe
Since this started with document.write, just continue it:
Note that HTML doesn’t actually require quotes for attributes in certain cases (see
width), but they could be added just as withsrc. Also'can be used in place of"and it simplifies the escaping (seescrolling). Please be consistent, the above notes are just informational.Happy coding.