Get OccasionWise
If you would like to know all the upcoming occasions, events and observances on your own website or blog, then it is possible to embed the OccasionWise Calendar into your pages by making use of our OccasionWise API.
There are several ways you can achieve this and the simplest is just to copy and paste the following code into your page where you would like the OccasionWise Calendar to appear:
Using the OccasionWise API
The OccasionWise Calendar comes complete with an easy to use API interface controlled by simply adjusting a few JavaScript variables.
To start using the OccasionWise Calendar API, then simply copy and paste the following code into your page where you would like the OccasionWise Calendar to appear:
- OccasionWiseAPI_KEY (Default: none)
If you insert your OccasionWise API key here, you can add entries from your own blog by logging into our OccasionWise Key management page. - OccasionWiseTimeZone (Default: UTC)
You can set the OccasionWise Calendar to work on your time zone by entering a valid time zone here. Follow this link for a list of currently supported time zones. - OccasionWiseDialogOpacity (Default: 99)
This sets the final Opacity of the OccasionWise dialog popover in percent where0 = 100% transparentand99 = no transparency(we use 99 for maximum opacity for compatibility with other web browsers - a setting of 100 can have undesirable effects). - OccasionWiseDialogTop (Default: 50)
This sets how far down the page you would like the OccasionWise popover dialog start in pixels. This allows you to tweak depending on if you would like the dialog to popover below your main page header. - OccasionWiseDialogWidth (Default: 500)
This sets how wide you would like the OccasionWise dialog popover to be on your site in pixels. - OccasionWiseDialogFade (Default: 2000)
This sets the fade in and fade out times of the OccasionWise dialog popover in milliseconds where thedefault of 2000 milliseconds = 2 seconds. - OccasionWiseloadHTML (Default: )

