Hi,
I applied below CSS on my nav_bar home button
[dsid=nav_bar_home]:after {
background: url('../image/Home.gif')no-repeat;
background-size: 25px 25px;
height: 25px;
margin-left: -15px !important;
width: 25px;
}
i want change home button image on my Home Page Load event.
I have tried below Jquery on page load but it did not work
Apperyio("nav_bar_home").find('after').addClass('HomeActive');
CSS
.HomeActive {
background: url('../image/HomeActive.gif')no-repeat;
background-size: 25px 25px;
height: 25px;
margin-left: -15px !important;
width: 25px;
}