<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.larnitech.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-BackToTop.js</id>
	<title>MediaWiki:Gadget-BackToTop.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.larnitech.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-BackToTop.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.larnitech.com/index.php?title=MediaWiki:Gadget-BackToTop.js&amp;action=history"/>
	<updated>2026-05-27T04:42:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://wiki.larnitech.com/index.php?title=MediaWiki:Gadget-BackToTop.js&amp;diff=2100&amp;oldid=prev</id>
		<title>Erich: Created page with &quot;$('body').prepend('&lt;a href=&quot;#&quot; class=&quot;back-to-top&quot;&gt;Back to Top&lt;/a&gt;');  var amountScrolled = 300;  $(window).scroll(function () {   if ($(window).scrollTop() &gt; amountScrolled)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.larnitech.com/index.php?title=MediaWiki:Gadget-BackToTop.js&amp;diff=2100&amp;oldid=prev"/>
		<updated>2021-11-05T14:42:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;$(&amp;#039;body&amp;#039;).prepend(&amp;#039;&amp;lt;a href=&amp;quot;#&amp;quot; class=&amp;quot;back-to-top&amp;quot;&amp;gt;Back to Top&amp;lt;/a&amp;gt;&amp;#039;);  var amountScrolled = 300;  $(window).scroll(function () {   if ($(window).scrollTop() &amp;gt; amountScrolled)...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$('body').prepend('&amp;lt;a href=&amp;quot;#&amp;quot; class=&amp;quot;back-to-top&amp;quot;&amp;gt;Back to Top&amp;lt;/a&amp;gt;');&lt;br /&gt;
&lt;br /&gt;
var amountScrolled = 300;&lt;br /&gt;
&lt;br /&gt;
$(window).scroll(function () {&lt;br /&gt;
  if ($(window).scrollTop() &amp;gt; amountScrolled) {&lt;br /&gt;
    $('a.back-to-top').fadeIn('slow');&lt;br /&gt;
  } else {&lt;br /&gt;
    $('a.back-to-top').fadeOut('slow');&lt;br /&gt;
  }&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
$('a.back-to-top, a.simple-back-to-top').click(function () {&lt;br /&gt;
  $('html, body').animate({&lt;br /&gt;
    scrollTop: 0&lt;br /&gt;
  }, 'fast');&lt;br /&gt;
  return false;&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Erich</name></author>
	</entry>
</feed>