html - Drop Down Menu That Opens All Drop Downs at Once -


is there navigational drop down menu out there when hover on 1 item, every drop down comes down? know might bit busy, project essential. can use jquery, css or whatever, long works.

if give of menus class can select them jquery. assuming display:none; other show/hide attribute work same way. issue when move mouse away 1 go away.

$("#specialdropdown").live('mouseover',function(){            $('.dropdown').css('display', 'block'); });   $(".drowdown").live('mouseout', function(){           $('.dropdown').css('display','none'); }); 

the issue when move mouse away 1 go away. solve suggest having button shows them all.

$("#specialdropdown").live('click', function(){          if($(this).hasclass('activebutton')             {                $(this).removeclass('activebutton');                    $('.dropdown').css('display', 'none');             }         else            {                $(this).addclass('activebutton');                    $('.dropdown').css('display', 'block');              }  }); 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -