Advertisement
Jousway

ZetaBoards Gradient Colour N Display Name

Aug 6th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script type="text/javascript"> //HEHU SUGOI KAWAII SCRIPT DESUUUUUUUU
  2. function Change_Display_Name(){
  3. $(function(){
  4. var DisplayName = new Array()
  5. DisplayName[DisplayName.length] = ["Acount name","Display Name","Gradient Colour 1","Gradient Colour 2","Other"]
  6.  
  7. for(f=0;f<DisplayName.length;f++){
  8. $("a").each(function() {
  9. if(this.innerHTML == DisplayName[f][0] && this.href.match(/profile/i)){this.innerHTML = this.innerHTML.replace(DisplayName[f][0],"<font style='filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#"+vfour[f][2]+"', endColorstr='#"+vfour[f][3]+"');background: -webkit-gradient(linear, left top, left bottom, from(#"+vfour[f][2]+"), to(#"+vfour[f][3]+"));background: -moz-linear-gradient(top,  #"+vfour[f][2]+",  #"+vfour[f][3]+");'>"+DisplayName[f][4]+DisplayName[f][(DisplayName[f][1] != "" ? 1 : 0)]+"</font>");};
  10. });};});}
  11. Change_Display_Name();
  12. <script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement