| Author | Topic: change page title to type writer style (moving) (Read 7,196 times) |
itxcc New Member
 member is offline
Joined: Oct 2007 Posts: 2 Karma: 0 |  | change page title to type writer style (moving) « Thread Started on Oct 9, 2007, 11:00pm » | |
Source of Code: Unkown Code Description: It changes your page title to anything you want EXCEPT it types it letter by letter.. See thats the difrence between this one and the other one..lol Any way hope u like the code Code Placement: ANY Preview: avatar.imvu.com/itxcc Additional Info: You must put the text you want where it says YOUR TEXT GOES HERE .
NOTE: SET TO true TO REPEAT, false TO "TYPE" OUT TITLE ONLY ONCE. The Code: <script language="javascript">
var titletext=" YOUR TEXT GOES HERE "; // TITLEBAR TEXT var repeat=true; // <---This is what you should change if you want it to type it out only one put "false" if u want it to repeat over and over put "true" (true is already on there but if u want to change it fine)
var index=0;
function scrolltitle(){ if(index<=titletext.length){ document.title=titletext.substring(0, index); index++; setTimeout('scrolltitle()', 200); }else{ index=0; if(repeat)setTimeout('scrolltitle()', 1000); }}
window.onload=function(){ if(!document.layers)setTimeout('scrolltitle()', 1000); }
</script>
| |
|
CheesecakeGuru Administrator
     CollageGal/XxVidaxX/CheesecakeGuru member is offline
![[avatar]](http://i140.photobucket.com/albums/r33/CollageGal06/FB%20Icons/ththaya-talk.gif)
Some are nerds, some are popular, I think I'm a popular nerd ^_^
Joined: Sept 2007 Gender: Female  Posts: 36 Location: London, UK Karma: 2 |  | Re: change page title to type writer style (moving « Reply #1 on Jan 1, 2008, 8:42pm » | |
Very cool thanks! I will move this to the proper code page!
| [YmP:http://i140.photobucket.com/albums/r33/CollageGal06/Random%20Anime%20Pix/dark.jpg] [s=http://i140.photobucket.com/albums/r33/CollageGal06/Random%20Anime%20Pix/dark.jpg] |
| |
|