javascript - Overlay div does'nt appear on scroll down + IOS + cordova app development -


i creating mobile app cordova framework in ios. in html of index.html, have div has style attribute overflow:auto because of div scrolls down when space exceeds. have div(divoverlay) comes above div , has following style attributes:

style='width:100%;top:0%;background-color:#484848;opacity:.9;display:none;z-index:5;height:100%; 

but when underlying div scrolled down, overlay div does'nt appear ie. appears top screen. have tried giving overflow:auto overlay div,but does'nt work.

the underlying div has following attributes:-

position:absolute !important;  z-index:1 !important; top:48px; left:0; width:100%; overflow:auto !important; 

how can make overlay div appear when scrolling down. appreciated.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -