_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

User:Numbermaniac/goToBottom.js

This article will address the topic of User:Numbermaniac/goToBottom.js, which is of great relevance today. User:Numbermaniac/goToBottom.js has captured the attention of many due to its impact on various aspects of society, culture and the world in general. Over the years, there has been growing interest and debate surrounding User:Numbermaniac/goToBottom.js, leading to further study and research on this topic. This article will analyze different perspectives, data and opinions in order to provide a broad and complete overview of User:Numbermaniac/goToBottom.js.
// ]
$(function(){
'use strict';

$('body').append('<span id="to-bottom">▼ Go to bottom</span>');
var $bottomButton = $('#to-bottom');

$bottomButton.css({
	'color': '#000',
	'position': 'fixed',
	'bottom': '-30px',
	'right': '4px',
	'cursor': 'pointer',
	'transition': 'bottom 0.5s',
	'-webkit-transition': 'bottom 0.5s',
	'user-select': 'none',
	'-webkit-user-select': 'none',
	'-moz-user-select': 'none',
	'-ms-user-select': 'none'
}).click(function(){
	$('html, body').animate({scrollTop:$(document).height()},'slow');
});

$(window).scroll(function(){
	if ($(window).scrollTop() / $(document).height() < 0.8) {
		$bottomButton.css('bottom','4px');
	} else{
		$bottomButton.css('bottom','-30px');
	}
});
});