Difference between revisions of "Template:CCU Taiwan"

Line 40: Line 40:
 
}
 
}
 
}
 
}
    $(window).on('scroll',function() {
+
 
  if($(window).scrollTop())
+
{
+
    $('.container').css('background', '#808080');
+
$('nav ul li ul').css('background', '#808080');
+
$('nav').css('opacity','1');
+
    }
+
    else
+
{
+
$('.container').css('background', '#000000');
+
$('nav ul li ul').css('background', '#000000');
+
$('nav').css('opacity','1');
+
    }
+
  });
+
  
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Revision as of 02:55, 11 July 2018