Ämne: CSS meny
Visa ett inlägg
Oläst 2009-06-03, 16:31 #3
taz76 taz76 är inte uppkopplad
Flitig postare
 
Reg.datum: Jan 2008
Inlägg: 388
taz76 taz76 är inte uppkopplad
Flitig postare
 
Reg.datum: Jan 2008
Inlägg: 388
Det är inte så svårt att göra.. vid hover så gömmer man den gamla divven och visar den nya. Borde funka finfint

Exempelvis jQuery har väldigt smidiga funktioner för detta:

$('#div_menu1').hover(function{
/* hover */
$(this).show(); $(/* id för gamla menyn */).hide();
}, function() {
/* hover utanför */
$(this).hide(); $(/* id för gamla menyn */).show();
});

Nått sånt där

Finns mer här: http://docs.jquery.com/Events/hover#overout
taz76 är inte uppkopplad   Svara med citatSvara med citat