Create Iframe Using Computed Text


<xp:text escape="true" id="cmpIframe" tagName="iframe">
	<xp:this.attrs>
		<xp:attr name="frameborder" value="0"></xp:attr>
		<xp:attr name="height" value="600"></xp:attr>
		<xp:attr name="marginheight" value="5"></xp:attr>
		<xp:attr name="marginwidth" value="5"></xp:attr>
		<xp:attr name="scrolling" value="auto"></xp:attr>
		<xp:attr name="src" value="http://www.openntf.org"></xp:attr>
		<xp:attr name="width" value="100%"></xp:attr>
	</xp:this.attrs>
</xp:text>
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...