I faced a problem during working with sidebar which was made in jQuery hence getting the window height first. I got a problem when height was fixed on safari iPod because of safari address bar hides and shows when we scroll. On alerting the window height Safari address bar resized but showing the same height? How can I fix this.

1. First thing that came into my mind to detect the browser and add 60px in it.

2. If its false resize it to its primary height.

Below is the code to help you working with safari address bar hide and show problem.

 

Leave a Reply