HTML_TagCloud creates HTML and CSS. The HTML is a simple list, decorated by CSS. You are able to output HTML and CSS separately.
Example 44-1. output HTML and CSS separately
|
The HTML output depends on the tag data that have been added via addElement(), but the CSS output is static. You can use this package's CSS output statically.
It is possible to modify the colors used by the CSS. You need to define your own class which extends HTML_TagCloud and override color and size properties.
Example 44-2. Decoration example
|
If you don't want to add timeline information and have the color changing accordingly, just omit the fourth parameter to addElement(). When doing this, the current time is set.
Example 44-3. Omitting the timeline
|