Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 351
Dan Joseph Avatar asked May 19 '09 19:05

Dan Joseph


1 Answers

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....

like image 104
Ormis Avatar answered Nov 08 '22 05:11

Ormis