Jump to content

so i am new to js  and i made myself a sticky nav with the help of a guide


but i tried to apply it on to the image in the nav as well to make it  have a opacity of  0 or 1 whenever it hits the top of my browser window 


in chrome it adds the class and removes it but the  img just stays hidden i don't know why 


the sticky nave works fine but the css just wont adjust on the img 


http://pastebin.com/ELNQdwWF


Link to comment
https://linustechtips.com/topic/515823-need-some-js-help/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×