You are not logged in.

  • »imvucodes« is a verified user
  • "imvucodes" started this thread

Posts: 130

Location: Interwebs

Occupation: Serving code snippets non stop.

  • Send private message

1

Monday, July 12th 2010, 2:36pm

Change Avi Name

This one change your avi name every 3 or 4 seconds in something else. Can be placed anywhere.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script type="text/javascript">
var copiedfrom='www.imvucodes.net';
 var forSP_othernames=new Array('anything','anything2','anything3','anything4','anything5','anything6');
 var forSP_nameid;
 function forSP_changeaviname() {
 forSP_nameid_new=Math.round((forSP_othernames.length-1)*(Math.random()));
 if(forSP_nameid==forSP_nameid_new) {
 forSP_changeaviname();
 } else {
 forSP_nameid=forSP_nameid_new;
 document.getElementById('aboutme_panel_body').getElementsByTagName('b')[0].innerHTML=forSP_othernames[forSP_nameid];
 document.title=forSP_othernames[forSP_nameid];
 }
 } 
 window.setInterval('forSP_changeaviname()',3000);
</script>

Similar threads

Rate this thread