locked
Frameset & Frame element in CEWP RRS feed

  • Question

  • Hi,

     

    I know Frameset and Frame element can only be there if no BODY tag in HTML. However, I have a peculiar requirement, that requires an HTML file with Frameset and Frame Tag to be rendered via CEWP. Is this possible or some workaround to achieve this?

    Thanks!

    Shell

    Friday, January 20, 2012 8:18 AM

Answers

  • Hi, you can do workaround for displaying the framset in the CQWP as fallows,

    Step-1>  Create a html file for frame set and add into the some document library in the share point site, Add the below code inside the html file,

    <frameset cols="25%,*,25%">

      <frame src="your webpage url" />

    </frameset>

     Step-2> Add the CQWP in the page where you want to display the frame set, and under the source editor of the CQWP webpart add the the

    <iframe> for src attribute call the html file 

    <iframe src="/framePage.html"></iframe>

    And Save it you done..


    Anil
    • Marked as answer by Shalin Parmar Monday, January 23, 2012 2:28 PM
    Friday, January 20, 2012 9:38 AM