Good afternoon! I need to have the logo replaced when scrolling through the page on my site by the scroll bar or mouse scroll.
My logo is inserted into the page via a class in bootstrap.css Following:
.logo1{
background: url(../img/logoo.png) no-repeat;
height: 164px;
width: 172px;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
float: left;
position: absolute;
}
.logo2{
background: url(../img/logoclube.png) no-repeat;
height: 78px;
width: 61px;
padding: 15px 15px;
font-size: 18px;
line-height: 20px;
float: left;
position: absolute;
}
What I need is that when the page rolls, the class named .logo1 is replaced by the .logo2 class and therefore the original image of the home page is replaced.