Getting Started
To use the Panther CDN v2.0 stylesheets, add this line to your page's head
tag.
Intranet sites
<link rel="stylesheet" href="[cdn root url]/Styles/v2.0/internal.css" />
Public-facing sites
<link rel="stylesheet" href="[cdn root url]/Styles/v2.0/external.css" />
The CDN root URL can usually be accessed with @System.Configuration.ConfigurationManager.AppSettings["PantherCDN"]
. The values should be:
- Test: //testcdn.pantherpremium.com/
- Staging: //stagingcdn.pantherpremium.com/
- Production: //cdn.pantherpremium.com/
Note: be sure the CDN stylesheet link
tags come before any other stylesheets in the source order.
Configure Panther javascript libraries
Add the following script tag to the end of your head tag to configure the Panther javascript libraries to use the correct version of the CDN.
<script>
setPantherJsSetting('pantherCdnVersion', 'v2.0');
</script>