Blog Title run in Browser Tab - Ash Princess Kawaii
Breaking News
Loading...
27 Maret 2014

Blog Title run in Browser Tab

Judul Blog berjalan di Tab Browser
I would like to share about title blog runs in the browser tab. Demo as shown above.

1. template
2. edit html
3. put the code under the code <head>  and save the template.

<script type='text/javascript'>
//<![CDATA[
msg = "✿Ash✿Princess✿Kawaii✿";
msg = " ....." + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
//]]>
</script>
Change variable messages as you wish.

0 Comments:

Posting Komentar