Help - Search - Members - Calendar
Full Version: help? plz
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
xOxCuTiixOx
hey..does anyone kno wut tha code or how to do... where u want to change tha wrdz..like name,bday... i want to change it to like...dey call me...
shortvi3tlaydee
this has been posted be4 but o well here

CODE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
function replaceWords()
{
  // ***add the words or fragments you wish to replace below
  var oldWords = new Array(
      "Subscriptions",
      "About Me:",
      "Name:",
      "Birthday:",
      "Expertise:",
      "State:",
      "Email:",
      "Virginia",
      "Interests:",
      "Stats",
      "Gender:",
      "Female",
      "Posting Calendar",
      "My Blogrings");

  // *** add the replacing words or fragments below
  var newWords = new Array(
      "BuDDiES//",
      "ME//",
      "NaME",
      "BiRTHDAY//",
      "EXPERTiSE//",
      "STaY AT//",
      "EMAiL//",
      "ViRGiNiA 757~",
      "iNTERESTED iN//",
      "STATZ//",
      "GENDeR//",
      "FEMaLE~",
      "//CALENDAR//",
      "//BLOGRiNGS//");    allTableData = document.getElementsByTagName('td');
  allTableHeaders = document.getElementsByTagName('th');
     
  var collections = new Array(allTableData,allTableHeaders);
 
  for (var k = 0; k < collections.length; ++k )
  {
      for (var i = 0; i < collections[k].length; ++i )
      {  
          if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
          {
              for ( var n = 0; n < oldWords.length; ++n )
              {
                  var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
                  while (indx != -1)
                  {  
                      var replacement = '';
                      indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
                      replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
                      collections[k][i].innerHTML = replacement;


                      break;                    
                  }
              }
          }
      }
  }
}
replaceWords();
</script>
<!-- end code provided by createblog.com -->
xOxCuTiixOx
where u put it?
LatinaLady
website stats. its in the xanga scrpts. should have lookesd back.
shortvi3tlaydee
next time dont be so lazy to look for it wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.