Templates: Juneindex: sortimage

This documentation was updated on Wednesday, April 15, 2009 at 6:36 AM

Inserts an image to indicate the direction the files are currently sorted in. Generally used next to a <juneindex:sortlink> tag with the same type attribute.

Attributes

type: name, size, or date. The default is name.
up: the image to display if the field is sorted in descending order. The default is “/code/images/sort_up.gif”.
down: the image to display if the field is sorted in ascending order. The default is “/code/images/sort_down.gif”.
width: the width of the image in pixels. The default is 5.
height: the height of the image in pixels. The default is 5.
class: a CSS class name to apply to the image. The default is none.

Example

<a href="{juneindex:sortlink type=‘name’}" class="sort">Name</a> <juneindex:sortimage type=‘name’ />

You are here: Junecode: about: design templates: juneindex: sortimage
This site was created with Junecode. Copyright © 2010–2023 Junecloud LLC.