Site Map Page Template

Pages Display Function

The ‘avp_get_pages()’ function recursively displays the current level of pages based on the parent page ID, starting from the first (parent) page level.

The jQuery functionality does two things in this routine.

First it toggles both of the <span> statements, which, since both are defined as being in an alternating display situation, always displays the opposite statement in alignment with whether the succeeding subpage list is displayed or hidden.

Second, it toggles the succeeding <ul> structure, being the subpage listing structure, hiding or displaying it upon command. The structure is originally displayed based on the depth of the subpages listed.

This is the same functionality as used for the Post display.

Style Sheet Functionality

The indicator icons are styled so that they better reflect the list bullets they are replacing.

This is the same functionality as used for the Post display.

Share
The short URL of the present article is: http://www.terryobrien.me/1i3n4

Page 3 of 5
First | Prev | 1 | 2 | 3 | 4 | 5 | Next | Last
View All