Re: How to change order of Tabs???
Hi
Thanks, it is 4.4 and i have located the tab.tpl (as below) but which part of the code determines the order? Or may be another way to do it is to alter the default tab to be shown as open on entering page? What we want to achieve is the detailed image to be showing first.
{*
$Id: ui_tabs.tpl,v 1.5 2010/07/29 14:07:41 igoryan Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<script type="text/javascript">
//<![CDATA[
$(function() {ldelim}
var tOpts = {ldelim}
idPrefix: '{$prefix|default:"ui-tabs-"}', cookie: {ldelim} expires: 1 {rdelim}{if $selected}, selected: '{$selected}'{/if}
{rdelim};
$('#{$prefix}container').tabs(tOpts);
{rdelim});
//]]>
</script>
<div id="{$prefix}container">
<ul>
{foreach from=$tabs item=tab key=ind}
{inc value=$ind assign="ti"}
<li><a href="{if $tab.url}{$tab.url|amp}{else}#{$prefix}{$tab.ancho r|default:$ti}{/if}">{$tab.title|escape}</a></li>
{/foreach}
</ul>
{foreach from=$tabs item=tab key=ind}
{if $tab.tpl}
{inc value=$ind assign="ti"}
<div id="{$prefix}{$tab.anchor|default:$ti}">
{include file=$tab.tpl nodialog=true}
</div>
{/if}
{/foreach}
</div>
__________________
4.1.9
X-Magnifier
X-FAQ's Manager
Skin-'Fashion Mosaic'
Links Manager
Meta Tag Pro
A-O-M
RSS Feed
SnS Live Help
Marketing Manager Pro
Banner Manager
|