Children Tags Component for Smartphone
The template part to show the list of tags which is a child of this tag. This part is used in the Tag page.
The desktop browser version is Children Tags.
The appearance of children tags part is below.
This template part shows the child tags of the current page's tag. In order to calculate the child tags, it uses Keyword Tag's tree structure.
This template part consists of Html and Style Sheet.
The Html to show the Child Tags is below.
This Html extracts "@cms_tag" array variable. This html is similar to Smartphone Tag of the Page.
The Style Sheet for the Html is below.
This style sheet is define the style for the div tag whose id is "#children-tags" and the inner Html elements.
The server side program to get child tags object from the database is below.
This program does following operations.
- Get tag object of current page by SELECT SQL.
- Get child tags from database by SELECT SQL.
This part is for pages representing a keyword tag's content. This part is not available in pages which is not Tag Page.