Content deleted Content added
add link |
→Scroll position: quote from refdesk computer |
||
Line 43:
* ''[http://stackoverflow.com/questions/9271747/can-i-detect-the-user-viewable-area-on-the-browser Can I detect the user viewable area on the browser?]''
* ''[http://stackoverflow.com/questions/704758/how-do-i-check-if-an-element-is-really-visible-with-javascript How do I check if an element is really visible with JavaScript?]''
From refdesk (computer):
<blockquote>You can get the position of an element, relative to the viewport, with code from http://stackoverflow.com/questions/442404/retrieve-the-position-x-y-of-an-html-element. You can then keep that element on the screen with code from http://kirbysayshi.com/2013/08/19/maintaining-scroll-position-knockoutjs-list.html. The two websearches I used to find these were https://duckduckgo.com/?q=js+get+top-left+object and https://duckduckgo.com/?q=js+scroll+element+to+viewport+position. (quote from [[User:LongHairedFop|LongHairedFop]] ([[User talk:LongHairedFop|talk]]) 13:53, 11 December 2016 (UTC))</blockquote>
== Program on/off switch ==
|