Footer
As of v4.0.47, CDTS is implementing the latest version of the site footer provided by WET.
For more infomation, please visit the WET footer documentation here.
Contextual Footer
The contextual footer is hidden by default. Making the contextual footer visible is done via the contextualFooter
parameter.
This is configured in the footer section of your page.
"title"
: the title of the contextual footer."text"
: the text of the link that is displayed."href"
: the url of the link."newWindow"
: open the link in a new window
defFooter.outerHTML = wet.builder.footer({ ... "contextualFooter":{ "title": "Title", "links": [{ "text": "Link 1", "href":"#" }, { "text": "Link 2", "href":"#" }, { "text": "Link 3", "href":"#", "newWindow": true }, { "text": "Link 4", "href":"#" }] } ... });
Main Footer
The main footer is visible by default. You have the ability to hide the main footer via the hideFooterMain
parameter.
This is configured in the footer section of your page.
defFooter.outerHTML = wet.builder.footer({ ... "hideFooterMain": true ... });
Sub Footer
The sub footer is visible by default. You have the option of hiding the first three links via the hideFooterCorporate
parameter.
You also have the option of overwriting the href attribute of the Terms and conditions link via the termsLink
parameter.
You also have the option of overwriting the href attribute of the Privacy link via the privacyLink
parameter.
You can open the custom Terms and Conditions/Privacy links in a new window via the newWindow
parameter.
This is configured in the footer section of your page.
defFooter.outerHTML = wet.builder.footer({ ... "hideFooterCorporate": true, "termsLink": { "href": "custom.html" }, "privacyLink": { "href": "custom.html", "newWindow": true } ... });