Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- jQuery(function($) {
- $(window).scroll(function() {
- if($('.logo-container').hasClass('shrinked')) {
- $('#main-logo .navbar-brand img').attr('src','http://www.narwal.shop/wp-content/uploads/2018/03/Logo_Narwal_White.png');
- }else{
- $('#main-logo .navbar-brand img').attr('src','http://www.narwal.shop/wp-content/uploads/2018/03/Logo_Narwal_Black.png');
- }
- });
- });
- </script>
Add Comment
Please, Sign In to add comment