Hi,
i try desperately to use the history() for the simple example for your accordion like below, but it does not function at all. is there a other solution to keep the tab status after a side refresch or a form submit in a tab area?:
thanks Ludwig
i try desperately to use the history() for the simple example for your accordion like below, but it does not function at all. is there a other solution to keep the tab status after a side refresch or a form submit in a tab area?:
<div id="accEventSearch">
<h2 class="current"><?=getTmx('HL_EventsSuche')?></h2>
<div class="pane" style="display:block"> <?=$this->FORM_ARTISTEVENTS?> </div>
<h2 id="second"><?=getTmx('HL_EventsESuche')?></h2>
<div class="pane"><?=$this->FORM_ARTISTEVENTS_EXT?></div>
</div>
<!-- activate accordion with JavaScript -->
<script>
$(function()
{
$("#accEventSearch").tabs("#accEventSearch div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null}).history();
});
</script>
thanks Ludwig
