$(document).on('click', '.tabs-nav li:not(.active)', function(){ $(this).addClass('active').siblings().removeClass('active'); var group = $(this).parent('ul').data('group'); var box = $(this).data('box'); $('.' + group + ' .box-' + box).addClass('active').siblings().removeClass('active'); });
ShowLoading();
ShowLoading('');
<h2 class="heading">
{custom order="views_top_7" limit="10" template="top"}
preg_match_all("#<h(\d+)>(.*?)</h\\1>#is", $story, $hmenu);
preg_match_all("#<h2>(.*?)</h2>#is", $story, $hmenu);