hi there,
can anybody tell me why these statement doesn't work? i'm getting mad
- if ($(this).is ('.active, .colore') && $(this).parent().is('.selectedLava')) {
- $('#navigazione ul.nav_secondolivello:visible').fadeOut(0,
- function (){
- $(attivataA+'_sez').fadeIn(400)}
- );
- }
and not even in this way
- var attivataA = $(this).attr('href');
-
- var paragone = $('#navigazione ul.nav_secondolivello:visible').attr('id');
-
- if ($(this).is ('.active, .colore') && $(attivataA != '#'+paragone)) {
- $('#navigazione ul.nav_secondolivello:visible').fadeOut(0,
-
- function (){
-
- $(attivataA+'_sez').fadeIn(400)}
- );
- }
thanks in advice.
theApprentice