javascript - How to detect current width and height of monitor it's displayed on for 100vh -


i want create element containing video responsively changes height , width based on current height , width of monitor displayed on. should equal 100vh (both width , height). problem said element lies under navigation bar position: relative set. script i'm looking week should change width , height of element , video fit in 100vh , width under navbar end of viewed screen. when scrolling down element (or better said section) should behave every other, normal section: supposed scroll , giving next section opportunity catch daylight.

i appreciate concepts of realizing in javascript, jquery or other script based language feel familiar with. thank in advance!


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -