3 defined('_JEXEC') or die;
5 // Note. It is important to remove spaces between elements.
7 'class' => array($item->params->get('menu-anchor_css', '')),
8 'title' => $item->params->get('menu-anchor_title', ''));
9 switch ($item->browserNav) {
12 $attributes['href'] = $item->flink;
16 $attributes['href'] = $item->flink;
17 $attributes['target'] = '_blank';
21 $attributes['href'] = $item->flink;
22 $attributes['onclick'] = 'window.open(this.href,\'targetWindow\','
23 . '\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes\');return false;';
27 $linktype = $item->menu_image
28 ? ('<img class="art-menu-image" src="' . $item->menu_image . '" alt="' . $item->title . '" />'
29 . ($item->params->get('menu_text', 1) ? $item->title : ''))
32 if ('horizontal' == $menutype || 'vertical' == $menutype) {
33 if (in_array($item->id, $path))
34 $attributes['class'][] = 'active';
35 if ($params->get('startLevel') == $item->level)
36 $linktype = '<span class="l"></span><span class="r"></span><span class="t">' . $linktype . '</span>';
38 echo artxTagBuilder('a', $attributes, $linktype);