Lib.pm
NAME
Communiware::DE::Lib - Dynamic element Lib
SYNOPSIS
<:Lib filename [option=value ...]:>
DESCRIPTION
Creates reference to the JavaScript, CSS library or favICOn files, stored in the pictures area of some Communiware item.
First parameter of dynamic element is a name of file (with js, css or ico extension).
Optional parameters except uniq, item, altitem and helper are translated into attributes of appropriate <script> or <link> tag.
By default, file is searched in the item, pointed by *pictures virtual item of current site. This can be overriden by providing item=item_id parameter.
If parameter item specified, file searched in given item_id and then, if not found, in the item given by parameter altitem.
Also location of file can be specified with helper=helper_name.
Parameter uniq turns on checking for duplicate libraries on current page.