comment box, bg color.... |
comment box, bg color.... |
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~~~~~~~ |
|
|
|
![]() |
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 comment box Nov 25 2005, 11:05 PM
sylvia115 yeah, I did! Dec 2 2005, 11:28 PM
niez_cho I tried and I don't think the code is working ... Dec 3 2005, 06:33 AM
sylvia115 But how come my friends' still work.....
O... Dec 6 2005, 04:29 AM
khraene Are you using this xanga code wizard?
For the ent... Dec 6 2005, 07:20 AM
sylvia115 Yeah, I think I'm using that.
And just now I... Dec 17 2005, 12:40 AM
niez_cho ^ It is very dangerous to give out your password t... Dec 17 2005, 06:48 AM![]() ![]() |