left column, how do you change.... |
left column, how do you change.... |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jan 2004 Member No: 232 ![]() |
how do you change the *names, birthdate, occupation * stuffz to whatever you want?
|
|
|
![]() |
![]()
Post
#2
|
|
![]() createblog.com ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,127 Joined: Dec 2003 Member No: 13 ![]() |
Only change the stuff in the second list corresponding to the first list.
CODE <!-- begin code provided by createblog.com -->
<script type="text/javascript"> function replaceWords() { // ***list of original words var oldWords = new Array( "Sites I Read", "Real Name", "Location", "Gender", "California", "Hobbies", "Expertise", "Member since:", "My Blogrings", "Posting Calendar", "Occupation", "Industry", "Birthday", "Email", "3/21/1990", "Get Involved!"); // *** words to reaplce the originals with var newWords = new Array( "Sites I Read", "Real Name", "Location", "Gender", "California", "Hobbies", "Expertise", "Member since:", "My Blogrings", "Posting Calendar", "Occupation", "Industry", "Birthday", "Email", "undifined"); 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 --> |
|
|
![]()
Post
#3
|
|
Newbie ![]() Group: Member Posts: 9 Joined: Jan 2004 Member No: 296 ![]() |
uh, i love you xangans.... what would i do with out you, besides have the ugliest xangaever! haha
i loooove you ![]() |
|
|
![]() ![]() |