Contact | Privacy | Datenschutzerklärung | Impressum

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 &lt; 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
ShowCheckbox Can be true or false. 
NegateCheckbox 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-2021 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
  Application
  Generic
  Programmable
    heitml and HTML
    heitml Programs
    Dynamic Properties
    Control Structures
    Action Methods
    Forms
Programming
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum