{"id":14,"date":"2016-05-17T06:20:50","date_gmt":"2016-05-17T05:20:50","guid":{"rendered":"http:\/\/beta.devon.gov.uk\/styleguide\/?page_id=14"},"modified":"2021-06-29T13:35:59","modified_gmt":"2021-06-29T12:35:59","slug":"gel","status":"publish","type":"page","link":"https:\/\/www.devon.gov.uk\/standards\/digital-design\/gel\/","title":{"rendered":"DCC GEL"},"content":{"rendered":"<h2>When to use<\/h2>\n<p>The DCC GEL (Global Experience Language) has been created to offer continuity across all core services, whilst still maintaining a level of flexibility for a site&#8217;s design. All websites should have the GEL included unless authorised by the Digital Delivery Team<\/p>\n<p>The GEL is designed to appear in the header and footer of a site, offering links to core services and information.<\/p>\n<p>An example or the GEL header and footer can be seen on this page<\/p>\n<h2>How to implement<\/h2>\n<p>To apply the GEL to a site you will need to include or link to the following two files.<\/p>\n<p>CSS (to go in the header): <a href=\"https:\/\/www.devon.gov.uk\/core-gel\/gel.css\">https:\/\/www.devon.gov.uk\/core-gel\/gel.css<\/a><\/p>\n<p>Javascript (ideally in the footer):<a href=\"https:\/\/www.devon.gov.uk\/core-gel\/gel.min.js\"> https:\/\/www.devon.gov.uk\/core-gel\/gel.min.js<\/a><\/p>\n<h3>Activating the GEL<\/h3>\n<p>Add the below function to activate the GEL<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&lt;script type=\"text\/javascript\" &gt;\r\n    jQuery(document).ready(function($){\r\n        $('body').getGEL();\r\n    });\r\n&lt;\/script&gt;\r\n<\/pre>\n<p>Variables to update the links in the black footer bar<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">$('body').getGEL({\r\n \u00a0\/\/\u00a0These\u00a0are\u00a0the\u00a0defaults.\r\n \u00a0email:\u00a0\"test@devon.gov.uk\",\r\n \u00a0number:\u00a0\"01392\u00a0383000\",\r\n  \/\/ Leave the below blank to use default urls\r\n \u00a0accessibility_link: 'https:\/\/www.url.gov.uk\/',\r\n \u00a0cookie_link: 'https:\/\/www.url.gov.uk\/',\r\n \u00a0privacy_link: 'https:\/\/www.url.gov.uk\/',\r\n \u00a0copyright_link: 'https:\/\/www.url.gov.uk\/',\r\n \u00a0security_link: 'https:\/\/www.url.gov.uk\/',\r\n \u00a0disclaimer_link: 'https:\/\/www.url.gov.uk\/',\r\n  \/\/ Other settings\r\n  partial: false,\r\n  \/\/ Defines the max width of the GEL's content - 960, 'full', 1200, 1440\r\n \u00a0width: 1200,\u00a0\r\n  sticky_footer: true, \r\n }\r\n);<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When to use The DCC GEL (Global Experience Language) has been created to offer continuity across all core services, whilst still maintaining a level of flexibility for a site&#8217;s design. All websites should have the GEL included unless authorised by the Digital Delivery Team The GEL is designed to appear in the header and footer [&hellip;]<\/p>\n","protected":false},"author":945,"featured_media":0,"parent":515,"menu_order":100,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-14","page","type-page","status-publish","hentry"],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2026-06-01 08:08:52","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/pages\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/users\/945"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":5,"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/pages\/14\/revisions"}],"predecessor-version":[{"id":628,"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/pages\/14\/revisions\/628"}],"up":[{"embeddable":true,"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/pages\/515"}],"wp:attachment":[{"href":"https:\/\/www.devon.gov.uk\/standards\/wp-json\/wp\/v2\/media?parent=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}