I know this has been discussed before, but I can't seem to get it work for me, I would appreciate some help.
I'm trying to change the opacity of a logo after scrolling some pixels with this code:
<script>
$(window).scroll(function() {
if ( $(window).scrollTop() >= 675 ) {
$('.logo_full').css('opacity', '1');
} else {
$('.logo_full').css('opacity', '0');
}
});
</script>
Here is a live version of the things. I believe it's better to check it out live rather than on some pieces of code. link
I'm starting to think that this is some js incompability or some stuff.
Any ideas?