Roy Sharon
A highly experienced freelance programmer and consultant, specializing in rescue projects with mobile related technologies, including Objective-C (iPhone), Java (Android), Javascript and HTML 5.A keen skipper and a master diver. Sailing around the world, programming on course.-
Recent Posts
Archives
Categories
Meta
Monthly Archives: September 2010
Scrolling The Selection Into View
Scrolling Text Nodes And Ranges Into View In A Cross-Browser Manner Scrolling an HTML element into view can easily be achieved using the scrollIntoView() function. But what about text nodes, ranges and selections? var o = document.getElementById(‘foo’); o.scrollIntoView(); The scrollIntoView() … Continue reading