DeSoto Posted January 20, 2009 Share Posted January 20, 2009 Is there a way to set a delay for the mouseover event for the top menu? I find it very annoying to have the menus pop down every time I accidentally mouseover one of them. Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 20, 2009 Share Posted January 20, 2009 yes, just edit the file in admin/templates i believe code was posted to the forum on how to turn off the mouseover event 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted January 20, 2009 Share Posted January 20, 2009 See http://forum.whmcs.com/showpost.php?p=64491&postcount=1 for instructions. 0 Quote Link to comment Share on other sites More sharing options...
DeSoto Posted January 20, 2009 Author Share Posted January 20, 2009 Thanks, I did search but didn't find this... 0 Quote Link to comment Share on other sites More sharing options...
DeSoto Posted January 20, 2009 Author Share Posted January 20, 2009 FYI - I made the top menu onClick instead of onMouseOver with the following code in the admin/templates/topmenu.tpl file. Note I using the enom addon module. You will want to remove that if you are not using it. Enom code is in bold. <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu1, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='index.php'">Home</span><span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu2, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='clients.php'">Clients</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu3, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='orders.php'">Orders</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu4, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='transactions.php'">Transactions</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu5, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='supportcenter.php'">Support</span> <span class="navbutton" onClick="this.className='navbuttonover';" onMouseOut="this.className='navbutton';" onClick="window.location='reports.php'"><a href="reports.php">Reports</a></span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu7, '');" onMouseOut="this.className='navbutton';delayhidemenu();">Utilities</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu8, '');" onMouseOut="this.className='navbutton';delayhidemenu();">Configuration</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu10, '');" onMouseOut="this.className='navbutton';delayhidemenu();" onClick="window.location='addonmodules.php?module=enom_extended'">eNom</span> <span class="navbutton" onClick="this.className='navbuttonover';dropdownmenu(this, event, menu9, '');" onMouseOut="this.className='navbutton';delayhidemenu();">Help</span> 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted January 21, 2009 Share Posted January 21, 2009 Your code to add the eNom menu didn't work (it showed up but nothing happened when clicked). The following works: <span class="navbutton" onMouseOver="this.className='navbuttonover';" onMouseOut="this.className='navbutton';" onClick="window.location='addonmodules.php?module=enom_extended'"><a href="addonmodules.php?module=enom_extended">eNom</a></span> 0 Quote Link to comment Share on other sites More sharing options...
DeSoto Posted January 21, 2009 Author Share Posted January 21, 2009 Your code to add the eNom menu didn't work (it showed up but nothing happened when clicked). The following works: Do you have the enom extended installed? 0 Quote Link to comment Share on other sites More sharing options...
apollo1 Posted January 21, 2009 Share Posted January 21, 2009 Do you have the enom extended installed? yes I do have it installed 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted January 25, 2009 Share Posted January 25, 2009 There are two parts to add the Enom menu, take a look at the config inside the module itself. 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.