Log In · Register

 
 
Closed TopicStart new topic
comment box, bg color....
sylvia115
post Nov 25 2005, 11:05 PM
Post #1


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 101,834



I want to have alterantive bg colours in my eprops. But somehow the code doesn't work.
Is it this code I should use?


<!-- begin code provided by createblog.com -->
<script language="javascript">
function colorComments(){
//Edit your first color below
var blogring="#FFFFFF";
//Edit your second color below
var dotnet="#FCEBFF";
var colorchange=0;
var comments = document.all ? "class"+"Name" : "class";
var backgrounds = document.getElementsByTagName("table");
for (var cn=0; cn < backgrounds.length; cn++){
if (backgrounds[cn].getAttribute(comments) == "blogbody"){
colorchange = colorchange == 1 ? 0 : 1;
backgrounds[cn].style.backgroundColor = colorchange == 1 ? blogring : dotnet;
}}}
if (document.location.href.indexOf("item.aspx") != -1) colorComments();
</script>
<!-- end code provided by createblog.com -->

[B] Well, if this should be the code, it doesn't work in my xanga.
Please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
my xan: www.xanga.com/sylvia115

Thankzzzzzzzzzzzz~~~~~~~
 
Mulder
post Nov 26 2005, 12:41 AM
Post #2


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



did you put it in website stats?
 
sylvia115
post Dec 2 2005, 11:28 PM
Post #3


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 101,834



yeah, I did!
 
gelionie
post Dec 3 2005, 06:33 AM
Post #4


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



I tried and I don't think the code is working anymore.
 
sylvia115
post Dec 6 2005, 04:29 AM
Post #5


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 101,834



But how come my friends' still work..... pinch.gif

Oh anyways, is there any other code which gives a bg or sth to my entries and comments? It's now pretty difficult to read the words with my own horse background up there. ermm.gif



www.xanga.com/sylvia115
 
khraene
post Dec 6 2005, 07:20 AM
Post #6


Senior Member
****

Group: Member
Posts: 150
Joined: May 2005
Member No: 132,977



Are you using this xanga code wizard?

For the entries and comments, add this code to your Header.

CODE
<style type="text/css">
table.blogbody {
border:;
background-color:#HEXCODE;
padding:0px;
}
</style>
 
sylvia115
post Dec 17 2005, 12:40 AM
Post #7


Newbie
*

Group: Member
Posts: 4
Joined: Feb 2005
Member No: 101,834



Yeah, I think I'm using that.
And just now I've added that too.
But it doesn't quite work.
Do you mind fixing it for me? Cos whatever things I've added, it won't work.
I don't mind giving u my pw:
id=sylvia115

please help me with that!!!~~~~ thankz so much!!!

This post has been edited by niez_cho: Dec 17 2005, 06:47 AM
 
gelionie
post Dec 17 2005, 06:48 AM
Post #8


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



^ It is very dangerous to give out your password to anything on the Internet.

There might be hackers lurking around and your xanga could get hacked easily.
 

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