Literal tags which use the syntax {literal}{/literal} can be used to take the code literally within the ‘.tpl’ file, thus, not interpreting it. Two common places where you would use the literal tags are with CSS and Javascript.
CSS
<style type="text/css"> {literal} body, label {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } {/literal} </style>
Javascript
In this example, the literal tags go around the Javascript.
{literal} <script> $(document).ready(function() { $( "#email" ).click(function() { alert("Hey2"); }); }); </script> {/literal}
© 2018 ALL Rights Reserved | Sitemap
Vancouver | North Vancouver | Burnaby | Richmond | Coquitlam | Port Coquitlam | Surrey | Langley | Maple Ridge | Mission | Abbotsford | Kamloops | Kelowna | Victoria | Squamish | Whistler | Pemberton