Answers on MegaZine3 related questions
How to use the sidebar?
Sidebar Syntax
Within a SIDEBAR you can use ASUL objects like a BOX or TEXT.
To change the color and size of a text in a sidebar the MZ3 code could look like this:
<sidebar>
<sidebarcontent startpage="0">
<text width="200" height="400" font="_sans" size="24" color="#ffffff" value="this is text1" />
<text y="300" width="200" height="400" font="_sans" size="24"
color="#00ffff" value="this <font color='#ff00ff'>is</font> text2" />
<text y="400" width="200" height="400" font="_sans" size="24"color="#ffffff" value="localize(HN_txt1)" />
</sidebarcontent>
</sidebar>
Explanation:
The text to be output has to be declared as "value" in an ASUL TEXT-object, which is different and much more complex than a MZ3 TEXT-element. ASUL objects cannot contain other elements as MZ3 elements can. Therefor all declarations must be within the < and /> delimiters.
Last update on 21.07.2011 by Hans Nuecke.