<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vanipedia.org/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AScrollTo.js</id>
	<title>MediaWiki:ScrollTo.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vanipedia.org/w/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AScrollTo.js"/>
	<link rel="alternate" type="text/html" href="https://vanipedia.org/w/index.php?title=MediaWiki:ScrollTo.js&amp;action=history"/>
	<updated>2026-11-16T12:59:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://vanipedia.org/w/index.php?title=MediaWiki:ScrollTo.js&amp;diff=353&amp;oldid=prev</id>
		<title>Eivind: New page: /**   * jQuery.ScrollTo - Easy element scrolling using jQuery.   * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com   * Licensed under GPL license (http://www.opensource.org/li...</title>
		<link rel="alternate" type="text/html" href="https://vanipedia.org/w/index.php?title=MediaWiki:ScrollTo.js&amp;diff=353&amp;oldid=prev"/>
		<updated>2008-03-17T14:38:49Z</updated>

		<summary type="html">&lt;p&gt;New page: /**   * jQuery.ScrollTo - Easy element scrolling using jQuery.   * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com   * Licensed under GPL license (http://www.opensource.org/li...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
&lt;br /&gt;
 * jQuery.ScrollTo - Easy element scrolling using jQuery.&lt;br /&gt;
&lt;br /&gt;
 * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com&lt;br /&gt;
&lt;br /&gt;
 * Licensed under GPL license (http://www.opensource.org/licenses/gpl-license.php).&lt;br /&gt;
&lt;br /&gt;
 * Date: 1/2/2008&lt;br /&gt;
&lt;br /&gt;
 * @author Ariel Flesler&lt;br /&gt;
&lt;br /&gt;
 * @version 1.3&lt;br /&gt;
&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
;(function($){$.scrollTo=function(a,b,c){$($.browser.safari?&amp;#039;body&amp;#039;:&amp;#039;html&amp;#039;).scrollTo(a,b,c)};$.scrollTo.defaults={axis:&amp;#039;y&amp;#039;,duration:1};$.fn.scrollTo=function(c,d,f){if(typeof d==&amp;#039;object&amp;#039;){f=d;d=0}f=$.extend({},$.scrollTo.defaults,f);if(!d)d=f.speed||f.duration;f.queue=f.queue&amp;amp;&amp;amp;f.axis.length==2;if(f.queue)d=Math.ceil(d/2);if(typeof f.offset==&amp;#039;number&amp;#039;)f.offset={left:f.offset,top:f.offset};return this.each(function(){var e=this,$e=$(e),t=c,toff,j={},w=$e.is(&amp;#039;html,body&amp;#039;);switch(typeof t){case&amp;#039;number&amp;#039;:case&amp;#039;string&amp;#039;:if(/^([+-]=)?\d+(px)?$/.test(t)){t={top:t,left:t};break}t=$(t,this);case&amp;#039;object&amp;#039;:if(t.is||t.style)toff=(t=$(t)).offset()}$.each(f.axis.split(&amp;#039;&amp;#039;),parse);animate(f.onAfter);function parse(i,a){var P=a==&amp;#039;x&amp;#039;?&amp;#039;Left&amp;#039;:&amp;#039;Top&amp;#039;,p=P.toLowerCase(),k=&amp;#039;scroll&amp;#039;+P,u=e[k];if(toff){j[k]=toff[p]+(w?0:u-$e.offset()[p]);if(f.margin){j[k]-=parseInt(t.css(&amp;#039;margin&amp;#039;+P))||0;j[k]-=parseInt(t.css(&amp;#039;border&amp;#039;+P+&amp;#039;Width&amp;#039;))||0}if(f.offset&amp;amp;&amp;amp;f.offset[p])j[k]+=f.offset[p]}else{j[k]=t[p]}if(/^\d+$/.test(j[k]))j[k]=j[k]&amp;lt;=0?0:Math.min(j[k],max(a));if(!i&amp;amp;&amp;amp;f.queue){if(u!=j[k])animate(f.onAfterFirst);delete j[k]}};function animate(a){$e.animate(j,d,f.easing,function(){if(a)a.call(this,$e,j,t)})};function max(a){var b=w?$.browser.opera?document.body:document.documentElement:e,D=a==&amp;#039;x&amp;#039;?&amp;#039;Width&amp;#039;:&amp;#039;Height&amp;#039;;return b[&amp;#039;scroll&amp;#039;+D]-b[&amp;#039;client&amp;#039;+D]}})}})(jQuery);&lt;/div&gt;</summary>
		<author><name>Eivind</name></author>
	</entry>
</feed>