<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/scroll</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 12:20:23 GMT</pubDate>
<item>
<title>(JavaScript) Preventing elastic scrolling on iDevice - timothypwalter</title>
<link>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</link>
<description><![CDATA[ <p>If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode).

This behavior is another giveaway that your app isn't native, and it's rarely the behavior you want in a native app.

To stop this behavior, capture touchmove events on the document in JavaScript and cancel them. You can do this by adding a handler to the body tag, and invoking the preventDefault method on the event object:</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 22:52:08 GMT</pubDate>
<guid>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</guid>
</item>
<item>
<title>(JavaScript) Disbable UIWebView scroll (Javascript) - rabc</title>
<link>http://snipplr.com/view/54859/disbable-uiwebview-scroll-javascript/</link>
<description><![CDATA[ <p>Disable using Javascript.</p> ]]></description>
<pubDate>Sat, 04 Jun 2011 05:15:04 GMT</pubDate>
<guid>http://snipplr.com/view/54859/disbable-uiwebview-scroll-javascript/</guid>
</item>
<item>
<title>(JavaScript) Slide to top of page - BFTrick</title>
<link>http://snipplr.com/view/43515/slide-to-top-of-page/</link>
<description><![CDATA[ <p>Slide / scroll to the top of the page.</p> ]]></description>
<pubDate>Thu, 04 Nov 2010 03:13:38 GMT</pubDate>
<guid>http://snipplr.com/view/43515/slide-to-top-of-page/</guid>
</item>
<item>
<title>(JavaScript) Scroll down and top - goo</title>
<link>http://snipplr.com/view/43383/scroll-down-and-top/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Nov 2010 19:31:39 GMT</pubDate>
<guid>http://snipplr.com/view/43383/scroll-down-and-top/</guid>
</item>
<item>
<title>(JavaScript) Scroll top - javifr</title>
<link>http://snipplr.com/view/43200/scroll-top/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Oct 2010 05:09:45 GMT</pubDate>
<guid>http://snipplr.com/view/43200/scroll-top/</guid>
</item>
<item>
<title>(JavaScript) Scroll div by mouse - Piotrek290</title>
<link>http://snipplr.com/view/41968/scroll-div-by-mouse/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 10 Oct 2010 05:54:57 GMT</pubDate>
<guid>http://snipplr.com/view/41968/scroll-div-by-mouse/</guid>
</item>
<item>
<title>(JavaScript) Remember div scroll position using javascript and ASP.Net - lance</title>
<link>http://snipplr.com/view/38463/remember-div-scroll-position-using-javascript-and-aspnet/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 05 Aug 2010 00:57:00 GMT</pubDate>
<guid>http://snipplr.com/view/38463/remember-div-scroll-position-using-javascript-and-aspnet/</guid>
</item>
<item>
<title>(JavaScript) Next element when wheel is scrolling - Piotrek290</title>
<link>http://snipplr.com/view/36958/next-element-when-wheel-is-scrolling/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 08 Jul 2010 23:20:21 GMT</pubDate>
<guid>http://snipplr.com/view/36958/next-element-when-wheel-is-scrolling/</guid>
</item>
<item>
<title>(JavaScript) Scroll top - wbednarski</title>
<link>http://snipplr.com/view/27640/scroll-top/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 03 Feb 2010 19:01:46 GMT</pubDate>
<guid>http://snipplr.com/view/27640/scroll-top/</guid>
</item>
<item>
<title>(JavaScript) jQuery - Smooth anchor scrolling - LuckyShot</title>
<link>http://snipplr.com/view/24267/jquery--smooth-anchor-scrolling/</link>
<description><![CDATA[ <p>Detects all anchor links in a page and makes them go to the place smoothly.</p> ]]></description>
<pubDate>Fri, 04 Dec 2009 09:22:51 GMT</pubDate>
<guid>http://snipplr.com/view/24267/jquery--smooth-anchor-scrolling/</guid>
</item>
<item>
<title>(JavaScript) Automatic "Back to Top" link when scrolling down - blackthorne</title>
<link>http://snipplr.com/view/17166/automatic-back-to-top-link-when-scrolling-down/</link>
<description><![CDATA[ <p>this script brings you a "back to top" when you cross the vertical threshold defined as argument on the body tag (e.g.: 200px)

Requires JQuery but can easily be adapted to other JS framework</p> ]]></description>
<pubDate>Sat, 18 Jul 2009 22:01:58 GMT</pubDate>
<guid>http://snipplr.com/view/17166/automatic-back-to-top-link-when-scrolling-down/</guid>
</item>
<item>
<title>(JavaScript) [MooTools] Easy scroll to bottom - esquareda</title>
<link>http://snipplr.com/view/10741/mootools-easy-scroll-to-bottom/</link>
<description><![CDATA[ <p>This clean little script assumes you have a simple "A-name" style jump to some cool stuff at the bottom of the page that you want people to see.  ID your link "browse" and your good.  Certainly you could scroll to another ID on the page if you are so inclined.</p> ]]></description>
<pubDate>Mon, 29 Dec 2008 12:22:31 GMT</pubDate>
<guid>http://snipplr.com/view/10741/mootools-easy-scroll-to-bottom/</guid>
</item>
<item>
<title>(JavaScript) Smooth Scroll without any heavy javascript framework - jamesming</title>
<link>http://snipplr.com/view/9080/smooth-scroll-without-any-heavy-javascript-framework/</link>
<description><![CDATA[ <p>/*--------------------------------------------------------------------------
 *  Smooth Scroller Script, version 1.0.1
 *  (c) 2007 Dezinerfolio Inc. 
 *
 *  For details, please check the website : http://dezinerfolio.com/
 *
/*--------------------------------------------------------------------------*/</p> ]]></description>
<pubDate>Fri, 17 Oct 2008 10:56:58 GMT</pubDate>
<guid>http://snipplr.com/view/9080/smooth-scroll-without-any-heavy-javascript-framework/</guid>
</item>
<item>
<title>(JavaScript) Scrolling functions - wizard04</title>
<link>http://snipplr.com/view/8039/scrolling-functions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Aug 2008 13:26:16 GMT</pubDate>
<guid>http://snipplr.com/view/8039/scrolling-functions/</guid>
</item>
<item>
<title>(JavaScript) Element Dimensions - wizard04</title>
<link>http://snipplr.com/view/7911/element-dimensions/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 18 Aug 2008 16:19:11 GMT</pubDate>
<guid>http://snipplr.com/view/7911/element-dimensions/</guid>
</item>
<item>
<title>(JavaScript) Custom Mootools Scroll - fredaudet</title>
<link>http://snipplr.com/view/7391/custom-mootools-scroll/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 18 Jul 2008 15:59:04 GMT</pubDate>
<guid>http://snipplr.com/view/7391/custom-mootools-scroll/</guid>
</item>
<item>
<title>(JavaScript) scroll to top - JavaScript - multani</title>
<link>http://snipplr.com/view/4603/scroll-to-top--javascript/</link>
<description><![CDATA[ <p>This script can help you control the scroll of div by a simple function.
Set thr property 'scrollTop' then the scoll can be controlled.</p> ]]></description>
<pubDate>Tue, 15 Jan 2008 22:38:18 GMT</pubDate>
<guid>http://snipplr.com/view/4603/scroll-to-top--javascript/</guid>
</item>
<item>
<title>(JavaScript) Mouse wheel event - dertimbo</title>
<link>http://snipplr.com/view/570/mouse-wheel-event/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 24 Jul 2006 10:53:55 GMT</pubDate>
<guid>http://snipplr.com/view/570/mouse-wheel-event/</guid>
</item>
</channel>
</rss>