Jortex Posted January 25, 2009 Share Posted January 25, 2009 Just added one to mine and thought id share it. See screenshot for what it looks like. Open: WHMCSDir/admin/templates/topmenu.tpl At the very end of the file add: <span class="navbutton" onMouseOver="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhidemenu();">[color="red"]Other[/color]</span> Change the red text to whatever you want the menu to be called. Save and close. Open: WHMCSDir/admin/javascript/menu.js Find: (around line 127) var menuwidth='170px' //default menu width ABOVE this add: var menu10=new Array() menu10[0]='<a href="[color="red"]#[/color]" target="_blank">[color="red"]Link Text[/color]</a>' menu10[1]='<a href="[color="red"]#[/color]" target="_blank">[color="red"]Link Text[/color]</a>' Save and close. To edit and/or add more links is easy for those who have experience with javascript menus, for those that dont, below is a few instructions to help you. Change the red parts as described below: # = The actual link/URL for the page Link Text = The name of the link If you want the link to open in the same page remove target="_blank" If you need to add more links then just edit menu.js again and add them below the ones shown above but remembering to change the menu id, i.e: 3rd link would start with - menu10[2]= 4th link would start with - menu10[3]= And so on...... Any problems just reply here and ill see what i can do. Enjoy. 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted January 25, 2009 Share Posted January 25, 2009 Thanks for the simple tutorial Jortex. Easiness personified. 0 Quote Link to comment Share on other sites More sharing options...
gingerol Posted March 17, 2009 Share Posted March 17, 2009 Thanks for this, and as the above poster said, "simplicity personified" 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.