Page 1 of 1

Invert Menu

Posted: Sun Oct 11, 2009 7:43 pm
by theyapps
I need to use a menu like this one:

Code: Select all

{if $count > 0}
{foreach from=$nodelist item=node}<a href="{$node->url}" 
{if $node->target ne ""} target="{$node->target}"{/if}
>{$node->menutext}</a>
{if $count > ($node->index+1)} | 
{/if}
{/foreach}
{/if}
But, I need it to be backwards. So instead of Page 1,2,3 it should be Page 3,2,1 Can anyone help?

Re: Invert Menu

Posted: Sun Oct 18, 2009 7:41 pm
by Stom
Why not just make them into a bulleted list and use something like:

Code: Select all


ul.mylist li {
float:right;
display:inline;
}

<ul class="mylist">
  <li>Third Item</li>
  <li>SecondItem</li>
  <li>FirstItem</li>
</ul>
That would work...