admin管理员组文章数量:1415100
It is obviously clear to me after going through outlook documentation that I can generate a html link of my OUTLOOK calendar and embed it to any webpage. This works fine when i create my iframe as below
<iframe width="900" height="500" src=".html"></iframe>
and insert it into my EXISTING page with contents. My problem here is: After the page loads it redirects/navigates the parent window/page and pletely replaces my DOM with a full outlook calendar. My intention is simply to put it in a particular section of my page (precisely a DIV).
I HAVE TRIED
- sandboxing the iframe with the new HTML5 sandbox attribute. On the console, it throws errors.
- I have also tried using ajax to load the iframe seperately. same error and failure.
I'm sure this action is deliberate by microsoft. I need a way to bypass this.
It is obviously clear to me after going through outlook documentation that I can generate a html link of my OUTLOOK calendar and embed it to any webpage. This works fine when i create my iframe as below
<iframe width="900" height="500" src="https://cpgd-ab67acdd3e1c401a.calendar.live./calendar/private/blalaba-balajahhhdh-342d-4cea-ad46-25433581e015/index.html"></iframe>
and insert it into my EXISTING page with contents. My problem here is: After the page loads it redirects/navigates the parent window/page and pletely replaces my DOM with a full outlook calendar. My intention is simply to put it in a particular section of my page (precisely a DIV).
I HAVE TRIED
- sandboxing the iframe with the new HTML5 sandbox attribute. On the console, it throws errors.
- I have also tried using ajax to load the iframe seperately. same error and failure.
I'm sure this action is deliberate by microsoft. I need a way to bypass this.
Share Improve this question asked Dec 3, 2013 at 14:47 Ifeanyi ChukwuIfeanyi Chukwu 3,3373 gold badges30 silver badges33 bronze badges1 Answer
Reset to default 2This might help you a little I used this when I was sharing my calendar on a website, you can configure the CSS as you wish
<style unselectable="on">
#wrap {
width:1000px;
height:900px;
padding:0;
position:relative;
left:0px;
top:0px;
overflow:hidden;
}
#frame {
width:1000px;
height:900px;
position:relative;
left:0px;
top:0px;
}
#frame {
-ms-zoom:0.7;
}
</style>
<div id="wrap" unselectable="on">
<iframe id="frame" src="[paste in here the link that outlook. provides for you ... in between the quotes and without the brackets]"></iframe>
</div>
本文标签: javascriptEmbedding outlook calendar to webpageStack Overflow
版权声明:本文标题:javascript - Embedding outlook calendar to webpage - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745170988a2645970.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论