zpt
Version:
Zenon Page Templates - JS (ZPT-JS)
39 lines (37 loc) • 1.43 kB
HTML
<html lang="en">
<head>
<title>Macro definitions 4</title>
</head>
<body>
<!-- Macro definitions -->
<p data-define-macro="copyright-list1">
<b data-use-macro="'copyright2'">
Macro copyright2 goes here
</b>
<b data-use-macro="'copyright1'">
Macro copyright1 goes here
</b>
</p>
<p data-define-macro="copyright-list2">
<b data-use-macro="'copyright2'">
Macro copyright2 goes here
</b>
<b data-use-macro="'copyright3'">
Macro copyright3 goes here
</b>
</p>
<p data-define-macro="copyright2">
Copyright 2 2022, <em>Foo, Bar, and Associates</em> Inc. (remote)
</p>
<p data-define-macro="copyright3">
Copyright 3 2022, <em>Foo, Bar, and Associates</em> Inc. (remote)
</p>
<p data-define-macro="copyright4"
data-define="inMacroVar 'It works!'">
Copyright 4 2022, <em>Foo, Bar, and Associates</em> Inc. (remote)
<span>inMacroVar: <span data-content="inMacroVar" data-attributes="id 't13-1'">Must be 'It works!'</span></span>
<span>notInMacroVar: <span data-content="notInMacroVar" data-attributes="id 't13-2'">Must be 'It also works!'</span></span>
</p>
</body>
</html>