<commit_before>var keyf = 1500
//Posição inicial
window.onbeforeunload = function(){ window.scrollTo(0,0); }

var s = skrollr.init({
	smoothScrolling: true,
	forceHeight: true,
	constants:{
		keyframe:keyf
	}
});

$("#up").click(function (){
	console.log($("#slide1").offset().top);
	$("body").scrollTop($("#slide1").offset().top);
});<commit_msg>Javascript<commit_after>var keyf = 1500
//Posição inicial
window.onbeforeunload = function(){ window.scrollTo(0,0); }

var s = skrollr.init({
	smoothScrolling: true,
	forceHeight: true,
	constants:{
		keyframe:keyf
	}
});

$("#up").click(function (){
	console.log($("#slide1").offset().top);
	$("body").scrollTop(0);
});

$("#down").click(function (){
	$("body").scrollTop(1510);
});
{'fraction_non_alphanumeric': 0.23424657534246576, 'fraction_numerical': 0.0273972602739726, 'mean_word_length': 5.961904761904762, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '766493', 'n_tokens_mistral': 283, 'n_tokens_neox': 272, 'n_words': 42}