The duration
parameter is an optional parameter that can be:
url
argument in the $Trumba.addSpud() method.trumbaEmbed
parameter in a URL-encoded query string.For the main calendar map view, specifies a date range within which an event must occur to be displayed.
Must be accompanied by the start date (date
) URL parameter.
Unless Map is the default view for the main calendar spud you're customizing, must be accompanied by the template (template
) URL parameter to set the view to map.
Tip Events must be mapped to display in map view.
#d
. For example, 55d specifies a duration of fifty-five days.Tip If a visitor to a calendar with the duration parameter applied switches from map to another view, the date parameter still controls the starting date for which events are displayed. However, the new view ignores the duration parameter and displays all subsequent events.
url
argument, $Trumba.addSpud() method, Main calendar spudSets the main calendar view to map and displays only events that take place within 55 days of January 6, 2014.
In the main calendar displayed at the base URL, sets the view to map and displays only events that take place within 55 days of January 6, 2014.
http://www.yoursite.com/calendar.html?trumbaEmbed=template%3Dmap%26date%3D20140106%26duration%3D55d
Tip %3D is the URL-encoded equals sign (=). %26 is the URL encoded ampersand (&).