Thu Jun 09, 2011 5:37 pm
Chèn vào index_body
- Code:
var txt="Code1k.com ..:|:.. Script làm tiêu đề chuyển động trên thanh Title";
//Tiêu đề của bạn
var espera=200;
//Thời gian dừng là 0,2 giây
var refresco=null;
function rotulo_title()
{
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);
}
rotulo_title();
<script type='text/javascript'>
var txt="::Naruto::kingdom::Vương::Quốc::Ninja";
var espera=200;
var refresco=null;
function rotulo_title()
{
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);
}
rotulo_title();
</script>