Counter Example

The Counter Tag is defined in the include file cocounter.hei, which is distributed as part of the heitml download package. To use the counter example, insert the following statements near the top of your heitml Web page:

< include name="cocounter.hei" />

<Counter name="CounterName" />

Note: Each page must specify a unique CounterName to avoid conflict with other pages.

Afterwards the Counter can be accessed anywhere on the page, merely by inserting a line similar to the one below in the appropriate location:

input:resulting output:
This page has been called
<b><Counter name="excounter" /></b> times.
This page has been called
8230 times.

(Click on this link to see the counter increment )

home , back


This page was dynamically generated by the web application development tool RADpage of H.E.I.
© 1996-2008 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
  Component Ref.
  Class Library
  User Components
  Tryout Form
  Tutorial
    Basics
      Own Tags
      Own Page Layout
      Page Counters
      Server Information
    Database
    Advanced
  New Features
  heitml 1
User Guide
FAQ
Mailinglist
Discussion Group
Services
Pricing/Register
Download
Frame
 
Contact
 
 
 
Search: