Location: PHPKode > scripts > Avatar Tools > views/menu.php
<?php
/**
 * @version		$Id: coolfeed.php 100 2012-04-14 17:42:51Z hide@address.com $
 * @copyright	JoomAvatar.com
 * @author		Nguyen Quang Trung
 * @link		http://joomavatar.com
 * @license		License GNU General Public License version 2 or later http://www.gnu.org/licenses/gpl-2.0.html
 * @package		Avatar Dream Framework Template
 * @facebook 	http://www.facebook.com/pages/JoomAvatar/120705031368683
 * @twitter	    https://twitter.com/#!/JoomAvatar
 * @support 	http://joomavatar.com/forum/
 */

// no direct access
defined('_JEXEC') or die;

?>
<script type="text/javascript">
	jQuery.noConflict();
	
	(function($) 
	{ 
			$(document).ready( function()
			{	
				var menus = $('#avatar-toolbar-menu .menu-item');
				menus.each(function()
				{
					var menu = $(this);
					menu.click(function()
					{
						$('.avatar-view').each(function (index){
							$(this).css('margin-left', '-9999px');
							$(this).css('position', 'absolute');
							menus[index].removeClass('selected');
						});
						
						menu.addClass('selected');	
						
						var viewID = 'avatar-view-' + this.id;
						$('#' + viewID).css('display', 'block');
						$('#' + viewID).css('margin-left', 'auto');
						$('#' + viewID).css('position', 'relative');
					});
				});
			});
	})(jQuery);
	
	
</script>
<ul id="avatar-toolbar-menu">
	<li>
		<a id="seo" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_SEO'); ?></a>
	</li>
	<li>
		<a id="articles" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_ARTICLES'); ?></a>
	</li>
	<li>
		<a id="menus" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_MENUS'); ?></a>
	</li>
	<li>
		<a id="modules" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_MODULES'); ?></a>
	</li>
	<li>
		<a id="templates" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_TEMPLATES'); ?></a>
	</li>
	<li>
		<a id="extensions" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_EXTENSIONS'); ?></a>
	</li>
	<?php echo $this->_ATAPP->_view->extensionMenu(); ?>
	<li>
		<a id="about" class="menu-item" href="#" ><?php echo JText::_('AVATAR_TOOL_MENU_ABOUT'); ?></a>
	</li>
</ul>
Return current item: Avatar Tools