Dadparvar
Well-known member
Hi,
My add-on has a push menu, that when you click on something with "baseexpand" id, menu comes out.
I added this tab to navigation:
	
	
	
		
And it works.
But I want to add it using code event listener. This is my php code:
	
	
	
		
It adds the navtab, but when I click on it, push menu doesn't come out.
Any opinion on how to reach that goal will be appreciated
				
			My add-on has a push menu, that when you click on something with "baseexpand" id, menu comes out.
I added this tab to navigation:
		Code:
	
	<li style="cursor: pointer" id="baseexpand" class="navTab PopupClosed"><a class="navLink">TAB LABEL</a></li>But I want to add it using code event listener. This is my php code:
		Code:
	
	$extraTabs['baseexpand'] = array(
            'title' => 'Push Menu',
            'href' => XenForo_Link::buildPublicLink('#XenForo'),
            'selected' => ($selectedTabId == 'baseexpand'),
            'linksTemplate' => 'dad_pushmenu_Navtabs',
      'position' => 'end'
        );Any opinion on how to reach that goal will be appreciated
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		