Search Suggest

Reading progress bar / scroll bar in blogger

Reading progress bar / scroll bar in blogger



Here you will know How to Add Reading progress bar / scroll bar in blogger website so that you can see the remaining % of the post you are reading_



Go To Blogger Dashboard and click on Edit HTML then Follow below instruction and paste the codes accordingly:



Find </body>  and above it paste below code_



<script>window.onscroll = function() {myFunction()};function myFunction(){var winScroll = document.body.scrollTop || document.documentElement.scrollTop;var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;var scrolled = (winScroll / height) * 100;document.getElementById(&quot;myBar&quot;).style.width = scrolled + &quot;%&quot;;}</script>



Find  ]]></b:skin>  and above it paste below code_


.progress-container{width:100%;position:fixed;z-index:99}.progress-bar{height:5px;background:#F86152}


(You can cha change the height and background colofr code)



Find <body>  and below it paste below code_


<div class='progress-container'><div class='progress-bar' id='myBar'/></div>




Now save and you are all done.





Item Reviewed: Reading progress bar / scroll bar in blogger Description: Rating: 4.7 Reviewed By:

Post a Comment

Leave a comment as a well wisher ( Please advise if you have any query or suggestions ) We (Eneede.com) respect your opinions.......

Blog Archive / Click to See All Posts

As a professional and having near about two decades of experience in products and services selection we are going to share about the best with you. Eneede.com# Everyone Need Everything- About best product and service- List of Best

Featured Post

another word for needs and wants- needs synonym

another word for needs and wants- needs synonym  Before keeping eyes on another word for needs and wants let's know the meaning of both ...

Everyone Need Everything- About best product and service- List of Best