Embedding a calendar on your website

  1. Mouse over the calendar name in the left-hand panel and click .
  2. In the Access section, toggle the Open public access switch.
  3. Copy the code from the Code for embedding calendar on site field and insert it in the code of your website or blog.

Choosing a calendar view for your website

Your site's calendar can display the current day, week, or month. To embed a specific calendar view, do the following:

  1. Select the Yandex.Calendar view in the left-hand panel:

    The code will change automatically.

  2. Mouse over the calendar name in the left-hand panel and click .
  3. In the Access section, toggle the Open public access switch.
  4. Copy the code from the Code for embedding calendar on site field and insert it in the code of your website or blog. The calendar will be displayed in the format you chose.

Embedding multiple calendars into one widget

You can embed multiple Yandex.Calendar calendars into one widget on your website:

  1. Copy each calendar's embed code.
  2. Check the value of layer_ids for each calendar's embed code.

    In this example, the value of the layer_ids parameter is 12345:

    <iframe src="https://calendar.yandex.ru/week?embed&layer_ids=12345&tz_id=Asia/Yekaterinburg" width="800" height="450" frameborder="0" style="border: 1px solid #eee"></iframe>
  3. Enter these values into the embed code, separating each by a comma.

    In this example, the values of layer_ids are 12345 and 67890:

    <iframe src="https://calendar.yandex.ru/week?embed&layer_ids=12345,67890&tz_id=Asia/Yekaterinburg" width="800" height="450" frameborder="0" style="border: 1px solid #eee"></iframe>
Note. The same view type is set for both calendars. You can't set different view types for each calendar.