how to find percentage of the height of website code example
Example: how to find percentage of the height of website
var scrollPercent = Math.round(100 * $(window).scrollTop() / ($(document).height() - $(window).height()));
var scrollPercent = Math.round(100 * $(window).scrollTop() / ($(document).height() - $(window).height()));