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 'href' => $item->flink);
11 switch ($item->browserNav) {
14 $attributes['target'] = '_blank';
18 $attributes['onclick'] = 'window.open(this.href,\'targetWindow\','
19 . '\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes\');return false;';
23 $linktype = $item->menu_image
24 ? ('<img class="art-menu-image" src="' . $item->menu_image . '" alt="' . $item->title . '" />'
25 . ($item->params->get('menu_text', 1) ? $item->title : ''))
28 if ('horizontal' == $menutype || 'vertical' == $menutype) {
29 if ($params->get('startLevel') == $item->level)
30 $linktype = '<span class="l"></span><span class="r"></span><span class="t">' . $linktype . '</span>';
32 echo artxTagBuilder('a', $attributes, $linktype);