Reputation: 437
I'm trying to add HTML from an external file into a .htm file that is being added to SharePoint using a 'Page Viewer' Web Part.
It needs to support IE7 - The best way I could think of was to use an iFrame... but the page viewer Web Part is an iFrame itself; I'm guessing nested iFrames can't be done as I cant find a way to make this work. I tired using the 'object' tag too but that didn't work, PHP isn't an option either :(
Are there any alternative ways to achieve this?
Upvotes: 1
Views: 14274
Reputation: 544
Yes you can use Content Editor Webpart
.
Steps to add Content Editor Webpart
Media and Content
Inside content editor webpart paste your contents like this
<iframe id="iframe1" height="900" width="800" frameborder="0" marginheight="0" marginwidth="0" src="paste your url here"></iframe>
Hope this will help?
Upvotes: 2