JQICON{"name" ...} -- render an image
- This renders an icon image as found on an icon search path. The icon search path is configured in
{JQueryPlugin}{IconSearchPath}and defaults to Fam Fam Fam Silk Icons, Fam Fam Fam Silk Companion 1 Icons, Fam Fam Fam Flag Icons, Fam Fam Fam Mini Icons, Fam Fam Fam Mint Icons'. The named icon will be picked found first on this path of topics where icons are attached to. The JQICON leverages the general icon loading mechanism as implemented by the JQueryPlugin and used by BUTTON as well. - Parameters:
Parameter: Description: Default: "name" name of the icon to display class additional css class for the img tag alt alt attribute title title attribute format format string used to render the icon; known variables to be used in the format string are: -
$iconPath: url path -
$iconClass: css class as specified by theclassparameter -
$iconAlt: alt attribute-value; if thealtparameter to JQICON is set, this expands toalt='...' -
$iconTitle: title attribute-value; if thetitleparameter to JQICON is set, this expands totitle='...'
<img src='$iconPath' class='$iconClass' $iconAlt$iconTitle/> -
- Example:
%JQICON{"tick" alt="alternative content" title="this is a tick icon"}% %JQICON{"cross"}% %JQICON{"disk"}% %JQICON{"star"}% %JQICON{"lightbulb"}% %JQICON{"camera"}% %JQICON{"date"}%Produces:
- Related: Var JQICONPATH, Var ICON, JQuery Plugin, Fam Fam Fam Silk Icons