Multiple columns text taglib ver. 1.2


    Custom JSP taglib lets you present text in multiple columns (with CSS3). For example:
 


<%@ taglib uri="taglib.tld" prefix="m" %>

<m:MultiColumn>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
</m:MultiColumn>

and you will get this:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id

Tags are:

MultiColumn

Body tag lets you present text in multiple columns (with CSS3). Parameters are:

1) columns Optional parameter. Describes how many columns in your text. Default values is 2.
2) gap Optional parameter. Describes a gap between columns Default values is 10px.
3) rule Optional parameter. Describes a rule for columns (delimeter) Default values is empty.
4) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (set multiple columns)
 

for downloading:

 Library: multicolumntag.jar     Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

     

Also in Coldtags: