Log In · Register

 
 
Closed TopicStart new topic
ahh the info stuhff, how to change?
stitch132
post Dec 19 2004, 01:46 AM
Post #1


Senior Member
****

Group: Member
Posts: 181
Joined: May 2004
Member No: 15,555



i know how to change the part that says "name, birthdate" and all that good stuhff ... buh how do you change the "answer" to it ... i know how to do it thru xanguh .. but wuh if you want it to say wuh ever you want ... where they dont have it on the way thru xanguh (likke this one )


thankks
 
kellyannie
post Dec 19 2004, 01:50 AM
Post #2


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



you can use the same script to change the answers, or just go where you edit the info on your profile.

on the xanga site you posted she probably just changed the word "Interests" into "ABOUT THE GIRL" and she put her info in that box instead.
 
stitch132
post Dec 19 2004, 01:54 AM
Post #3


Senior Member
****

Group: Member
Posts: 181
Joined: May 2004
Member No: 15,555



i tried to answer it thru the code i have ... i wrote the "answer" after the question and the ":" ... but it doesnt show up ....
 
kellyannie
post Dec 19 2004, 01:55 AM
Post #4


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



can you post your code?
 
stitch132
post Dec 19 2004, 01:57 AM
Post #5


Senior Member
****

Group: Member
Posts: 181
Joined: May 2004
Member No: 15,555



QUOTE
<!-- begin code provided by createblog.com -->
<script type="text/javascript">
//
// &copy; EasterEgg, http://www.xanga.com/easteregg
//
// For use at Xanga only.
//
// This script replaces any given word or text fragment with
// whatever you want: new words and fragments, or even HTML!
//
// Actually it's pretty simple: add the words or fragments you
// wish to replace to the array "oldWords" (each word placed
// between double quotation marks, and separated by colons as you
// can see below) and add their replacements to the array "newWords",
// at the same position as the original words in "oldWords".
// The example is pretty self-explaining.
//
// The script is case sensitive, meaning that if you add "something"
// to "oldWords" array it will not recognize "SOMETHING", or "SoMetHInG".
//
// You can adjust the existing arrays in this code as you see fit,
// as long as both arrays keep the same size (same amount of words
// in both arrays), otherwise a script error will occur.
//
// Copy this entire code and paste in the webstats box at your
// Look and Feel page.
//
// You're free to use this script as long as this comment remains intact,
// and as long you won't use it to cripple the comments of your visitors;
// after all, no one likes his/her words getting twisted...
//
function replaceWords()
{
    // ***add the words or fragments you wish to replace below
    var oldWords = new Array(
        "Subscriptions",
        "Publish Comments",
        "add eProps",
        "eprop",
        "eProps",
        "add comments",
        "comment",
        "comments",
        "email it",
        "view entire profile",
        "sign my guestbook",
        "My Blogrings",
        "Posting Calendar",
        "Get Involved!",
        "sign out",
        "Name:",
        "Birthday:",
        "Gender:",
        "State:",
        "Country:",
        "Interests:",
        "Expertise:",
        "Website",
        "Email",
        "Member since:");

    // *** add the replacing words or fragments below
    var newWords = new Array(
        "lovers",
        "say it",
        "all i want for",
        "all i want for",
        "all i wants for",
        "christmas is you",
        "christmas is you",
        "christmas is you",
        "email it",
        "411",
        "guestbook",
        "bloggin` in...",
        "calendario",
        "get involved!",
        "come bak again!",
        "nombre: kayla bear",
        "livin` since: 10.23.90",
        "1oo%: mami",
        "reppin tha`: 858/619",
        "the whole place:",
        "likin`:",
        "i`m good at...:",
        "site:",
        "email:",
        "bloggin` since: 8.7.`04");

    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]);
                        if(navigator.userAgent.toLowerCase().indexOf('compatible')>0){collections[k][i].innerHTML=replacement;//please use supported code at http://help.xanga.com/codes.htm
}
                        break;                   
                    }
                }
            }
        }
    }
}
replaceWords();
</script>
<!-- end code provided by createblog.com -->
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: