function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
apex_keenapex_keen 

public calendar on homepage

I've a requirement that as soon as home page load, it should automatically display  public calendar, without needing to click anywhere. 

 

For this, I'm trying to use Iframes. But problem is , I'm not able to find any link which just display 'just' calendar. Currently, what I do is.. I change the calendar type at home page to public calendar and grab the link from browser address bar. But  this link displays many things with public calendar( banner, all tabs, side bar etc). 

 

As a result, when Iframe loads, it also displays all those stuffs which I dont want;  Any idea, what I can do 

My link is this: 

 

https://ap1.salesforce.com/00U/c?cType=1&cal=MyPublicCalendar&cal_lkid=02390000000CPdb&cal_lkold=MyPublicCalendar&cal_lspf=1&md0=2012&md1=3

Best Answer chosen by Admin (Salesforce Developers) 
apex_keenapex_keen

I was able to achieve achieve this using simple javascript code. 

All Answers

apex_keenapex_keen

I was able to achieve achieve this using simple javascript code. 

This was selected as the best answer
clouduserclouduser

any idea to find the solution?