Bug? - styling list format
When displaying the calendar in list format, the categories get displayed without any possible customization... the script outputs them as follows:
Code:
<td align="left" valign="top" bgcolor="#FFFDF2" class="tableTitle">EVENT TITLE <br>
<span class="tableDescr"><div><strong>CAT_NAME:</strong> CAT_VALUE</div>DESCRIPTION TEXT</span></td>
As is hopefully obvious, the categories can't be styled - the container div has no class or identifier, and since the categories are output "automatically" (using the [categories] tag in the template file), the category listing cannot be styled independently of the event description.
The popup display (e.g. mouseover popups) do allow for proper styling of the category text:
Code:
<div class="popupEventTitle s243">EVENT TITLE </div><div class="categoryDiv"><span class="categoryName">CAT_NAME:</span> <span class="categorySelection">CAT_VALUE</span></div><div class="popupEventTime">X:00 PM</div><div class="popupEventDescription">DESCRIPTION TEXT</div>
It seems like the list format should follow the same display for categories, including giving the divs/spans proper classes so they can be properly styled.
Thus, I propose the following syntax for the list format, which would allow proper styling:
Code:
<td align="left" valign="top" bgcolor="#FFFDF2" class="tableTitle"><div class="tableEventTitle">EVENT TITLE</div> <br>
<div class="tableCategoryDiv"><span class="tableCategoryName">CAT_NAME:</span> <span class="tableCategorySelection">CAT_VALUE</span></div><span class="tableDescr">DESCRIPTION TEXT</span></td>
This proposed format would make the title AND category entries properly style-able in the list format, whereas they currently are not.
Thoughts?
|