|
Post by tunescool on Oct 17, 2009 16:45:35 GMT -8
i already have this, can you just change the line between the mini profile and post
<style> .hr {color:FF66FF;} </style>
wait and maybe extend the .hr lines to meet the opposing lines
|
|
|
Post by Wormopolis on Oct 17, 2009 19:32:38 GMT -8
I think I have that code running on WC already...
|
|
|
Post by Wormopolis on Oct 17, 2009 19:48:07 GMT -8
wait you meant the vertical line....
ummmm... it might be weird looking but I will see what I can cook up.
|
|
|
Post by Wormopolis on Oct 19, 2009 3:14:50 GMT -8
that is about the best I can do for that vertical line. the "line" you normally see is actually the 1 px space between cells that the table has. the color is from bordercolor. you cant really get rid of it without removing the border color cell itself (not easily anyways).
the hr line is a different story. I cannot figure out a way to extend it. I can move it left to meet up with the green line.. but I cant seem to make it extend correctly with different resolutions
|
|
|
Post by tunescool on Oct 19, 2009 4:13:45 GMT -8
the hr line is fine where it is then. the green just looks like a regular line to me
|
|
|
Post by tunescool on Oct 19, 2009 21:46:46 GMT -8
<script> var nCell=document.getElementsByTagName('td'); for(i=0;i<nCell.length;i++){ if(nCell.width=='20%'&&nCell.innerHTML.match(/posts/i)){ nCell.innerHTML=nCell.innerHTML.replace('Joined','<b>Joined</b>'); nCell.innerHTML=nCell.innerHTML.replace('Gender','<b>Gender</b>'); nCell.innerHTML=nCell.innerHTML.replace('Posts','<b>Posts</b>'); nCell.innerHTML=nCell.innerHTML.replace('Location','<b>Location</b>'); nCell.innerHTML=nCell.innerHTML.replace('Karma','<b>Karma</b>'); }} </script>
|
|
|
Post by Wormopolis on Oct 19, 2009 23:36:35 GMT -8
that code looks like its supposed to bold a bunch of things in the MP..
|
|
|
Post by Wormopolis on Oct 19, 2009 23:38:19 GMT -8
<script type="text/javascript"> // border between MP and post color
if (location.href.match(/action=display/) && location.href.match(/thread=311/)) { for (tds=document.getElementsByTagName('td'), m=0; m<tds.length; m++) { if (tds[m].width=='20%' && tds[m].align=='left' && tds[m].vAlign=='top') {
tds[m].nextSibling.style.borderLeftWidth='1px'; tds[m].nextSibling.style.borderLeftStyle='solid'; tds[m].nextSibling.style.borderLeftColor='00FF00';
} } } </script>
|
|
|
Post by tunescool on Oct 19, 2009 23:56:42 GMT -8
i wrote all this stuff and i copied wrong after the page wouldnt load after i hit modify. exalt/smite came back after i put that in. it bolds the text. i have like 3 codes for karma, ive been organizing my footers and before i started moving 3 codes around i wanted to see if you could easily tell where the problem was. and that hr wasnt working in safari. would i still need to use that with the code for the lines? i just put it in and everything is still black. organizing my codes made a hell of a difference in the way the pages load. not really faster, but it looks alot nicer
|
|
|
Post by Wormopolis on Oct 20, 2009 18:10:52 GMT -8
Durr... delete this part:
&& location.href.match(/thread=311/)
I forgot to take that out, its for making it work in this thread only.
|
|
|
Post by Wormopolis on Oct 20, 2009 18:17:37 GMT -8
if you have one code looking for one thing, and you have another code changing it first, then the second code WONT work.
|
|
|
Post by tunescool on Oct 21, 2009 1:30:26 GMT -8
i took it out and its still black. so are you saying i cant use the bold code for the mini profile
|
|
|
Post by Wormopolis on Oct 21, 2009 1:36:33 GMT -8
you took out 1 ")" too much:
if (location.href.match(/action=display/)) {
Im saying if your bold code isnt working, it might be because the other code is stopping it. change the order of the codes.
|
|
|
Post by tunescool on Oct 21, 2009 2:06:14 GMT -8
its still black
<script type="text/javascript"> // border between MP and post color
if (location.href.match(/action=display/)) { for (tds=document.getElementsByTagName('td'), m=0; m<tds.length; m++) { if (tds[m].width=='20%' && tds[m].align=='left' && tds[m].vAlign=='top') {
tds[m].nextSibling.style.borderLeftWidth='1px'; tds[m].nextSibling.style.borderLeftStyle='solid'; tds[m].nextSibling.style.borderLeftColor='FF66FF';
} } } </script>
|
|
|
Post by Wormopolis on Oct 21, 2009 8:17:54 GMT -8
another example of a previous code making a later code not work.
change this line:
if (tds[m].width=='20%' && tds[m].align=='left' && tds[m].vAlign=='top') {
to this:
if (tds[m].width=='20%' && tds[m].align=='center' && tds[m].vAlign=='top') {
|
|