1.0.1 • Published 5 years ago

jquery.per-page v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

PerPage

display percentage of vertical position in page

<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script type="text/javascript" src="jquery.per-page.js"></script>
<script>
$('body').perPage();
</script>
  • options
$('body').perPage({
//	'background-image' : 'url("./flower_himawari_mark.png")',
	'background-color' : 'black',
	'color' : 'lightgray',
	'right' : '1.0rem',
	'bottom' : '1.0rem',
	'opacity' : '0.5',
	'scale' : 1.0,
	'text-scale' : 1.0
});