IFrame Embed
To embed a Navigation Web Part with an IFrame into a website, copy and paste the code "IFrame Embed Code" from the section "Code" of the configuration page (Note: The configuration page is not working from the IFrame embeded Web Part).
Code of this sample:
<div id='aea85a745-7fef-4517-854f-992f5f379c9f'></div>
<script src='http://sharepoint2010test.getyournet.ch/websites/navigationsamples/_layouts/modulerixNav/ajaxload.ashx?cmd=core' type='text/javascript'></script>
<script language='JavaScript' type='text/javascript'> 
mrnavembed.createFrame({
    placeid:'aea85a745-7fef-4517-854f-992f5f379c9f',
    frameurl:'http://sharepoint2010test.getyournet.ch/websites/navigationsamples/_layouts/modulerixNav/ajaxload.ashx',
    wpid:'g_42558c7b_29f1_4da7_af91_e0d2b53b2b83',
    width:'100%',
    height:'200px'
});
</script>
Write a Comment
comments powered by Disqus