Animated Title Javascript

Animated Title Javascript allows you to give a catchy title on your webpage.

Features

  • Animation script makes your web page more attractive.
  • This animated code supports all browsers.
  • View the title of this page to see the animation.
  • Just download this code and enhance your web page.

Preview

View title of this page

Downloads

Javascript
<!-- Script by hscripts.com -->
<script type="text/javascript">
var data="0123456789";
var text="Animated title";//Your Text Here
var done=1;
statusIn(text);
function statusIn(text){
var max=4;
var delay=0;
if (done){
done = 0;

decrypt_helper(text, max, delay,
0, max);
}
}
function decrypt_helper(text, runs_left, delay, charvar, max){
if (!done){
runs_left = runs_left - 1;
//alert(
runs_left);
var status = text.substring(0,charvar);
for(var current_char = charvar; current_char < text.length; current_char++){
status += data.charAt(Math.round(Math.random()*data.length));

}
document.title = status;
var rerun = "decrypt_helper('" + text + "'," + runs_left + "," + delay + "," + charvar + "," + max + ");"
var new_char = charvar + 1;
var next_char = "decrypt_helper('" + text + "'," + max + "," + delay + "," + new_char + "," + max + ");"
if(runs_left > 0){
setTimeout(rerun, delay);
}
else{
if (charvar < text.length){
setTimeout(next_char, Math.round(delay*(charvar+3)/(charvar+1)));
}
else
{
done = 1;
}
}
}
statusIn(text);
}
function ctck()
{
var sds = document.getElementById("dum");
if(sds == null){
alert("You are using a free package.\n You are not allowed to remove the tag.\n");
}
var sdss = document.getElementById("dumdiv");
if(sdss == null){
alert("You are using a free package.\n You are not allowed to remove the tag.\n");
}
}
document.onload ="ctck()";
document.write("<center><h4>View title of this page</h4><br><div style=\"padding-left:50px; font-size: 12px;color: #dadada;\" id=\"dumdiv\"><a href=\"https://www.hscripts.com\" id=\"dum\" style=\"text-decoration:none;color: #dadada;\">©h</a></div></center>");
</script>
<!-- Script by hscripts.com -->

  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to support@hscripts.com

Usage

  • Copy and paste this animation code into your file.
  • Run the code in your browser.
  • Use this simple animated title script on your page.

License

Related Scripts

Free Javascript Scripts


Ask Questions

Ask Question