Control Structures
Control structures enable you to dynamically
hide or show certain parts of a heitml
page. You can also show certain parts repeatedly.
Example:
<if SrvTime < 110000000>
Good Morning, you are guest number
<counter name="morning"> this morning.
<else>
Hello
</if> |
shows the text "Good Morning..." when
SrvTime < 110000000
(i.e. before 11 in the morning), otherwise it shows
"Hello".
Note that the "morning"-counter is on the page
only before 11 am. The <if> tag works on all
aspects of a component, so a component
isn't just hidden; it won't perform
any function unless the condition is true.
Therefore, in our example, the counter counts only in the morning.
Reference
Component:condDetails
The content shows up only if show is set to true. Cond is useful
especially when a dynamic condition is used, which is possible
when programming .
Property |
Kind |
Description |
Show | Checkbox | Can be true or false. |
Negate | Checkbox | Negates the condition. |
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
H.E.I. provides support, tools, and services like
Webdesign in Mannheimm,
the HTML/CSS 3D WebGL Animation Library taccgl,
3D Webdesign, and
3D Product ConfiguratorDemo
(3D Produkt Konfigurator Demo in German).
© 1996-2024 H.E.I. All Rights Reserved.
|