Onload image height
-
On my start page I have a slider with 100% width.
The page is allready loaded before slider is loaded. After the slider is loaded everything after the slide will move down. This I want to stop.My thought:
1. detect the screen width and multiplicate this with the slider ratio to calculate the slider height.
2. reserve the calculated height till the slider is loadedThats the first part. The second part is, that I have defined a min height of the slider (210px), so the calculated height must be also min 210px in height.
Any idea how to get this solved?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Onload image height’ is closed to new replies.