How to post a Google Calendar in a web page without using <iframe>?

16,636

Actually you can just make it an object and it will validate. For the Google calendar in particular, all you have to do is change "iframe" to "object" (don't for get to change the iframe break too), change "src" to "data", and remove the frameborder and scrolling tags and all is good. The only drawback is that objects are not supported in IE....

Share:
16,636
Dan Joseph
Author by

Dan Joseph

Principal Software Engineer at Oracle Construction and Engineering GBU doing development with JavaScript including front-end framework development and build tools development with Node JS.

Updated on August 09, 2022

Comments

  • Dan Joseph
    Dan Joseph over 1 year

    Google Calendar provides a way to insert your Google Calendar into a web page using an <iframe>. Is there a way to insert this data into a web page without having to use the <iframe>?

    I know that there are ways to do this using the Google API, but is there any way that I can put that code directly into my page without the need to use the <iframe> or rewrite the entire source code and call the Google API?