View Full Version : help on xanga.....


brokenhabit06
04-09-2005, 04:42 PM
Okay so..I wanted to change the thing on my profile in my xanga where it says name, state, metro etc. Is there a code that I can fill that out with?

also...my title codes wont work..I've put in a lot at different times each for a title and it still wont work on my xanga and i dont know why. Is there a reaosn this is happening?

*Christiantean*
04-09-2005, 10:06 PM
For your title: Place in header, replace 'YOUR TEXT HERE':
<script language=javascript>
document.title=('YOUR TEXT GOES HERE')
</SCRIPT>

I got this from http://xanga.com/crazy_layouts I don't know exactly how you fill it out, but this is the coding!

<script type="text/javascript">
function replaceWords()
{
// ***add the words or fragments you wish to replace below
var oldWords = new Array(
"Get Involved",
"Posting Calendar",
"Stats",
"Member since",
"Real Name",
"Birthday",
"Gender",
"Female",
"Location",
"California",
"Hobbies",
"Email",
"view entire profile",
"sign my guestbook",
"My Blogrings");
// *** add the replacing words or fragments below
var newWords = new Array(
"Text Here",
"Text Here",
"Text Here",
"Text Here",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ");
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>