View Single Post
  #3  
Old 03-11-2015, 04:13 AM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: Flyout Menus CSS Dropdown Delay

Yeah that's what we were afraid of, we used the tables to make it easier to organize things from left to right.

We do have a javascript code that we used before, but it delays everything (delays on hover, and mouseout):

Code:
{literal} <script> $(document).ready(function() { $('li').hover(function(){ var timer = $(this).data('timer'); if(timer) clearTimeout(timer); $(this).addClass('over'); },function(){ var li = $(this); li.data('timer', setTimeout(function(){ li.removeClass('over'); }, 110)); //this is delay in ms }); }); </script> {/literal}
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote