Schedule iframe widget
Source code for this demo web site is on Github
Schedule in an iframe
This page shows how you can put schedule in an iframe.
Available parameters:
Parameter | Use |
---|---|
station |
Station id, e.g. "wzbc". Mandatory |
view |
One of the supported views:
month ,
basicDay ,
basicWeek ,
agendaDay ,
agendaWeek ,
listDay ,
listWeek ,
listMonth ,
listYear .
Optional. Default: agendaWeek
|
The view
param controls which of the calendar views loads into the
iframe. The list views are good for narrower iframes and viewports. Experiment to find what works best.
Set the styles for the iframe contents in Spinitron. Go to Admin: Station settings: Custom stylesheet.
The example iframe on this page is
<iframe src="//widgets.spinitron.com/widget/schedule?station=wzbc"></iframe>
See also the API demo