+ 2
How can I resize the height of an image in jquery depanding on a scrolling down menu ?
2 Respuestas
+ 4
Do you want to crop the image?
0
No. What I want: for example, if the height of the menu is 10vh, and when I scroll down, it's 30vh, then I want the height of image would be 90vh and when I scroll down the menu, the image would be 70vh, but about to scroll down the menu, I want a dynamic value (30vh and 70vh it's just an example) because I don't know how many links could be in my menu...