+ 2

How can I resize the height of an image in jquery depanding on a scrolling down menu ?

16th Nov 2017, 4:15 PM
Yaacov
Yaacov  - avatar
2 Respostas
+ 4
Do you want to crop the image?
17th Nov 2017, 2:13 PM
Asiri H
Asiri H - avatar
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...
20th Nov 2017, 5:37 PM
Yaacov
Yaacov  - avatar