If I put this code into a Layout
Then the variable doesn't display on the Design Preview (all you see is []). The Content Preview is OK.
If I use
Then all is well.
Solution - don't comment out the JavaScript code. However that may have some issues for ancient browsers.
Code:
<script type="text/javascript"> <!-- document.write('[' + '<actinic:variable name="ACTCSSFONTFAMILY" />' + ']'); // --> </script>
If I use
Code:
<script type="text/javascript"> document.write('[' + '<actinic:variable name="ACTCSSFONTFAMILY" />' + ']'); </script>
Solution - don't comment out the JavaScript code. However that may have some issues for ancient browsers.
Comment