HELP!!!, entries... |
HELP!!!, entries... |
![]()
Post
#1
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
hey um do u kno how to alternate the colors fur the entries? i checked all the help post and found 1 with alternatin the entries but alternates the date too...can u guys giv me a code to alternate the entries ONLY???
|
|
|
![]() |
![]()
Post
#2
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 ![]() |
Could you give me the code for the one you found? Including the dates and the whole thing; maybe I could modify it.
|
|
|
![]()
Post
#3
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
err... ok....
this in web stats.... and this in header.... plz help me.... |
|
|
![]()
Post
#4
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 ![]() |
That doesn't even work.
![]() |
|
|
![]()
Post
#5
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
He has them backwards. And you edit the hex codes.... o.O
#40405 is the first color and #383849 is the second. You replace those wherever you see them. |
|
|
![]()
Post
#6
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
huh? o yea i think i hav it backwords....
anyways, i don wanna kno where to put the colors, i wanna kno how to make the DATE not alternate cuz it alternates wit the entries.... |
|
|
![]()
Post
#7
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
...... =/ There's not a apparent way to do that. I don't think you could do that anyways..... Althought setting the color for it with CSS might work.
|
|
|
![]()
Post
#8
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 148 Joined: Jan 2005 Member No: 78,650 ![]() |
if(i % 2 != 0){
if(blogheaders[i].previousSibling.tagName.toLowerCase().indexOf("div")!=-1){ blogheaders[i].previousSibling.style.backgroundColor = "#404051";} /* <--- this for the odd entry's date background */ blogheaders[i].style.backgroundColor = "#404051"; /* <-- this for the odd entry's background */ blogheaders[i].nextSibling.style.backgroundColor = "#404051"; } else{ if(blogheaders[i].previousSibling.tagName.toLowerCase().indexOf("div")!=-1){ blogheaders[i].previousSibling.style.backgroundColor = "#383849";} /*<--- this for the even entry's date background*/ blogheaders[i].style.backgroundColor = "#383849"; /* <--- this for the even entry's background*/ blogheaders[i].nextSibling.style.backgroundColor = "#383849"; } is it better for you ?? anyway, this script work for xanga., test page |
|
|
![]()
Post
#9
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
umm.... it changes the date too though.....
QUOTE ...... =/ There's not a apparent way to do that. I don't think you could do that anyways..... sigh... i think shes right..... |
|
|
![]()
Post
#10
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 148 Joined: Jan 2005 Member No: 78,650 ![]() |
|
|
|
![]()
Post
#11
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
QUOTE(ckling @ Jun 29 2005, 9:17 PM) err.... when i tried both ur examples, just a bunch of code appeared.... i first put it in header, but some code went to the top of the page an when i put it in web states, a bunch of code went to the BOTTOM of the page..... HELP!!! |
|
|
![]()
Post
#12
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
There's no script tags. Try this.
|
|
|
![]()
Post
#13
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
huh? i tried that code wit the script tags, but nothin happend and the caution sign on the status bar appeared.....sigh..... need.... help....
|
|
|
![]()
Post
#14
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
Use the original in the Javascript box. The one ckling provided.
|
|
|
![]()
Post
#15
|
|
![]() yep, that's me. stop staring. :p ![]() ![]() ![]() ![]() Group: Member Posts: 257 Joined: Jun 2005 Member No: 160,969 ![]() |
still no use.....
|
|
|
![]() ![]() |