4 Comments

PADDING LETTER WITH PAGE LOAD SCRIPT (SHARE)

Updated: 27 Nov, 2018 November 26, 2018


PADDING LETTERS WITH PAGE LOAD SCRIPT (BLOG WIDGET)


<marquee behavior="alternate" style="font-family: roboto;color: #f90;text-transform:uppercase;font-size:14px;font-weight:500;"><marquee width="250">WELCOME TO ANH DOGE BLOG</marquee></marquee> <div style='background:#138882;color:#fff;border:1px solid #138882;border-radius:2px;width:100%;height:25px;font-size:15px;text-align:center;line-height:23px'> <script type="text/javascript"> var startTime=new Date();function currentTime(){var a=Math.floor((new Date()-startTime)/100)/10;if (a%1==0) a+=".0";document.getElementById("endTime").innerHTML=a}window.onload=function(){clearTimeout(loopTime)} </script> <script type="text/javascript">document.write('<span id="texttime"><i class="fa fa-clock-o" aria-hidden="true"></i> Total page load is: <span id="endTime">0.0</span> seconds.</span> '); var loopTime=setInterval("currentTime()",100); </script></div>