Log In · Register

 
 
Closed TopicStart new topic
Left Mod, Changing "Name" "Birthday"
inhaleme
post Aug 25 2004, 12:14 PM
Post #1


Intensly hued; Rarely serious
***

Group: Member
Posts: 53
Joined: Apr 2004
Member No: 13,755



I was wondering how I can change the color, bold, and maybe change what it says in the left module. Like "Name", "Gender", "Expertise", etc....
 
ToO_BuSY_To_FCUK
post Aug 25 2004, 12:28 PM
Post #2


(0o) CLueLeSS (o0)
**

Group: Member
Posts: 16
Joined: Aug 2004
Member No: 43,538



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


add this in the website stats, and replace the bolded words... if you don wanna change some words delete them (i hope that made sense)
 
inhaleme
post Aug 25 2004, 12:38 PM
Post #3


Intensly hued; Rarely serious
***

Group: Member
Posts: 53
Joined: Apr 2004
Member No: 13,755



I know how to replace the words, heh, forgot you can just use that. But I'm wondering how to change the color and make it bold.
 
Yemmerz
post Aug 25 2004, 01:08 PM
Post #4


old school member
******

Group: Member
Posts: 1,796
Joined: Jan 2004
Member No: 843



<!-- begin code provided by createblog.com -->
<style type="text/css">
.blogbody b, .standard b, p b, strong {
/* edits bolded text in your entry */
font-weight: bold;
color: #ffffff;
}
</style>
<!-- end code provided by createblog.com -->

And with cutom module, to make things bold you do this..

[ B ] [ / B ]

Well without the spaces..
 
inhaleme
post Aug 25 2004, 01:19 PM
Post #5


Intensly hued; Rarely serious
***

Group: Member
Posts: 53
Joined: Apr 2004
Member No: 13,755



It's for another xanga I have. I don't have a custom mod. Do you need one in order to make the "Name", "Birthday", etc...bold?
 
Yemmerz
post Aug 25 2004, 01:53 PM
Post #6


old school member
******

Group: Member
Posts: 1,796
Joined: Jan 2004
Member No: 843



This has the bolded text. Is this what you wanted?
CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display:none}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #000000; width:160px; background-color:f2f2f2; }
table.module th { background-color: #336699;font: bold 11px arial; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- add this below all the CSS -->

<table border=0 width="660"><tr><td valign="top" width="160">
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>About Me</b></th></tr><tr><td valign="top" class="module">
<center><img src="http://p.xanga.com/USERNAME/profile.jpg"></center><p>

<b>name:</b> uhhhh..<br>
<b>gender:</b> errr<br>
<b>hobbies:</b> blah blah<br>

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Subscriptions</b></th></tr><tr><td valign="top" class="module">

<!-- Add your subscriptions here -->

<a href="http://www.xanga.com/SOMEONE">someone</a><br>
<a href="http://www.xanga.com/SOMEONE2">someone 2</a>

</td></tr></table><br>

<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>Bloggies</b></th></tr><tr><td valign="top" class="module">

<!-- Add your blogrings here -->

<a href="http://www.xanga.com/blogrings/blogring.asp?id=200537">Xangans.com</a>

</td></tr></table><br>


<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">

La la la =]

</td></tr></table><br>



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->


THIS IS IN WEBSITE STATS!!!!

CODE
<!-- begin code provided by createblog.com -->
</td></tr></table>
<!-- 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: