Search in forum:
Search


Author Message
Post05/13/2010 at 12:47pm (UTC)    
Post subject: Scroling Head Title Of Ure Website

First Visit my Site and see hw its look
Code:
www.stifler-mk.page.tl



Ok i wonna to show u how to make a scrolling title of ure website just like mine

Ok thats a SCRIPT i got its iligle :S but i will tell u from where and how Smile

Code:
<SCRIPT language="JavaScript" title="G1SCRIPT">

var message="...:::>>>|W3lc0m3 T0 St1Fl3R-Mk|<<<:::..."
var message=message+"     "
//gives a pause at the end,1 space=1 speed unit, here I used 10 spaces@150 each = 1.5seconds.
i="0"                  
//declares the variable and sets it to start at 0
var temptitle=""                 
//declares the variable and sets it to have no value yet.
var speed="150"                 
//the delay in milliseconds between letters
function titler(){
if (!document.all&&!document.getElementById)
return
document.title=temptitle+message.charAt(i) 
//sets the initial title
temptitle=temptitle+message.charAt(i)       
//increases the title by one letter
i++                  
//increments the counter
if(i==message.length)            
//determines the end of the message
{
i="0"                  
//resets the counter at the end of the message
temptitle=""               
//resets the title to a blank value
}
setTimeout("titler()",speed)          
//Restarts. Remove line for no-repeat.
}
window.onload=titler

</SCRIPT>


Hw i got the script i see it in the scource
from
Code:
http://webmastershop.page.tl/

Thanks to him also visit his site Smile


Last edited by stifler-mk on Thu May 13, 2010 1:00 pm; edited 3 times in total
Post05/31/2010 at 8:21am (UTC)    
Post subject:

Nice

By Kayes Smile

have Fun Wink
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group