try $('#breadcumb, #nKnapper, #Navigation') instead
On Sep 27, 7:48 am, Geir <gso...@frisurf.no> wrote: > Hi! > I want an div#breadcrumb to animate when some other divs are hovered. > This is my code: > > var BrHo = $('#breadcumb') + $('#nKnapper') + $('#Navigation'); > BrHo.hover(function(){ > $('#Breadcumb').animate({ > opacity: '1', > fontSize: '14px', > }, 2000) > }, function(){ > $('#Breadcumb').animate({ > opacity: '0.1', > fontSize: '10px', > }, 2000) > }); > > It's not working. > It seems like I have to convert BrHo variable to an Array? Is that > right?