Log In · Register

 
 
Closed TopicStart new topic
replacing codez
bogalgirl
post Sep 2 2004, 06:53 AM
Post #1


work hard. play hard.
****

Group: Member
Posts: 266
Joined: Jul 2004
Member No: 32,940



i've used all da code createblog gave me or those that ppl helped me wif but myreplacing words still dun seem to work. my xanga is - www.xanga.com/bogalgirl plz sumone chek it out n c if therez any error. thxx tunz
 
lookitskim
post Sep 2 2004, 10:33 AM
Post #2


I HEART NICHOLAS TSE
******

Group: Official Member
Posts: 2,726
Joined: Apr 2004
Member No: 14,116



Replacing words on the eprops? Cause if it is.. then it works fine for me wink.gif
 
juliar
post Sep 2 2004, 12:44 PM
Post #3


3,565, you n00bs ain't got nothin' on me.
*******

Group: Official Member
Posts: 3,761
Joined: Feb 2004
Member No: 3,565



What words are you trying to replace? And can you give us the code that you put on your xanga?
 
LiDdLe_TaSh
post Sep 2 2004, 01:29 PM
Post #4


i rock c[ =
*****

Group: Member
Posts: 520
Joined: Jun 2004
Member No: 22,226



i know xanga has one
 
TrannieL
post Sep 2 2004, 02:03 PM
Post #5


I never give 4/10
*****

Group: Member
Posts: 627
Joined: Aug 2004
Member No: 45,375



What words you want to replace? Tell us so we can help you.

- Tran -
 
shortvi3tlaydee
post Sep 2 2004, 04:54 PM
Post #6


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



like comments n eprops?? tell us which words plz happy.gif
 
sherryvu
post Sep 2 2004, 04:56 PM
Post #7


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



try using this one: http://help.xanga.com/replacelinks.htm

edit:// i checked out your page and everything seems to be working fine... try letting your page load completely. if you're still seeing an error at the bottom.. put in your scripts one at a time to see which script has an error in it
 
C.Lime.Jello.
post Sep 2 2004, 06:18 PM
Post #8


The voices talk too much... -.-u
******

Group: Member
Posts: 2,099
Joined: Aug 2004
Member No: 39,078



Other than the fact that it takes FOREVER to load, your Xanga looks fine.
o.O But the links at the bottom look funny.
 
bogalgirl
post Sep 3 2004, 06:02 AM
Post #9


work hard. play hard.
****

Group: Member
Posts: 266
Joined: Jul 2004
Member No: 32,940



o sorry. umm.. i dunno whats the problem but i'm tryin to replace the words above my xanga like in between my header n xanga like the words - review, log in, n xanga etc....
my code
CODE
<!-- begin code provided by createblog.com -->

<script language="javascript">
<!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/\d+:\d+ (am|pm)/i)) links[l]
else if (str.match (/reviews/i)) links[l].innerHTML = str.replace
(/USER NAME/i, "letz start da scribblez");
}//-->
</script>

<!-- end code provided by createblog.com -->


n dis is da code this gurl gave me on createblog, to like make da words go left.
CODE
<!-- begin code provided by createblog.com -->
<style type="text/css">
table.left th, table.module th{
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
              text-align: right;
background-image: url(http://);
text-transform:uppercase;
}
.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p{
/* edits main text */
text-align:justify;
}
<!-- end code provided by createblog.com -->
 
C.Lime.Jello.
post Sep 3 2004, 09:42 AM
Post #10


The voices talk too much... -.-u
******

Group: Member
Posts: 2,099
Joined: Aug 2004
Member No: 39,078



CODE
<!-- begin code provided by createblog.com -->

/USER NAME/

<!-- end code provided by createblog.com -->


Change that also.

CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
table.left th, table.module th{
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
text-align: right;
background-image: url(None);
text-transform:uppercase;
}
.left, .blogbody, table.footer, .standard, .leftmodulefontcolor, td, p{
/* edits main text */
text-align:justify;
}

<!-- end code provided by createblog.com -->


Don't really need that.

CODE
<!-- begin code provided by createblog.com -->

<style type="text/css">
.leftmoduletitlebar, .leftmoduleborder, .leftmoduleinterior, table.left, table.left TH, table.left TD, table.navigation, table.footer
/* edits alignment */
text align: left;
}
</style>

<!-- end code provided by createblog.com -->


Try that instead. o.O Hope it works...
Oh yeah. CLAF ~> Page Alignment: Left
 
bogalgirl
post Sep 3 2004, 08:33 PM
Post #11


work hard. play hard.
****

Group: Member
Posts: 266
Joined: Jul 2004
Member No: 32,940



i dun get da part for replacing da words. watz - <!-- begin code provided by createblog.com -->

/USER NAME/

<!-- end code provided by createblog.com -->
?? lolx. plz help. i need to change da words like sign in, reviews etc... n duz anyone noe how to only make one of ur module aligned to the left, instead of every single module?? thxx
 
TrannieL
post Sep 3 2004, 10:26 PM
Post #12


I never give 4/10
*****

Group: Member
Posts: 627
Joined: Aug 2004
Member No: 45,375



Try this code.

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(
        "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:");

    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 -->


- Tran -
 

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