Added trasparent menu dropdown script
This commit is contained in:
parent
f8dfe1b00a
commit
524b9c8090
1 changed files with 4 additions and 0 deletions
|
@ -71,9 +71,13 @@
|
||||||
if($(window).scrollTop() > 10 ){
|
if($(window).scrollTop() > 10 ){
|
||||||
$(".navbar").removeClass("navbar-transparent");
|
$(".navbar").removeClass("navbar-transparent");
|
||||||
$(".navbar-default .btn-link").css("color", "#777");
|
$(".navbar-default .btn-link").css("color", "#777");
|
||||||
|
$(".dropdown-menu").removeClass("navbar-transparent");
|
||||||
|
$(".dropdown-menu > li > a").css("color", "#777");
|
||||||
}else{
|
}else{
|
||||||
$(".navbar").addClass("navbar-transparent");
|
$(".navbar").addClass("navbar-transparent");
|
||||||
$(".navbar-default .btn-link").css("color", "#fff");
|
$(".navbar-default .btn-link").css("color", "#fff");
|
||||||
|
$(".dropdown-menu").addClass("navbar-transparent");
|
||||||
|
$(".dropdown-menu > li > a").css("color", "#fff");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function _initNavUrl(){
|
function _initNavUrl(){
|
||||||
|
|
Loading…
Reference in a new issue