|
Post by tunescool on Sept 5, 2009 11:08:33 GMT -8
it didnt change, i dont have to have the 2 codes close to each other do i
|
|
|
Post by Wormopolis on Sept 5, 2009 14:26:30 GMT -8
delete this line btw:
alert(lnks.length);
|
|
|
Post by Wormopolis on Sept 5, 2009 14:33:12 GMT -8
this code should be in main footer.. above the code you have renaming the info center to "forum statistics"
|
|
|
Post by tunescool on Sept 5, 2009 15:06:45 GMT -8
which one is that, i have it above all of them
|
|
|
Post by Wormopolis on Sept 5, 2009 15:16:13 GMT -8
guess this matters...
change the css to this:
<style type="text/css"> .itlink, .itlink font {color: #6D6D6D !important; font-weight: bold !important;} </style>
|
|
|
Post by tunescool on Sept 5, 2009 15:42:00 GMT -8
it didnt look any different, but it works now. then just the posted by cell and the member name in the last cell on the thread page. and could bold yesterday and today
|
|
|
Post by Wormopolis on Sept 5, 2009 17:37:43 GMT -8
<script type="text/javascript"> <!-- // lastpost cell remodel on thread lists
if (location.href.match(/board=/)) { var lastPostCell = document.getElementsByTagName('td'); for(l=0; l<lastPostCell.length; l++) { if(lastPostCell[l].className == 'windowbg2' && lastPostCell[l].width.match(/(12|15)%/)) { lastPostCell[l].align = 'center'; for (lnks=lastPostCell[l].getElementsByTagName('a'), w=0; w<lnks.length; w++) lnks[w].className='lastpostlink'; } } } // --> </script>
put this under the other lastpost remodel. I cant rewrite that other code because of all the other stuff it does. so you have to add this one after it. it will use the same CSS.
|
|
|
Post by tunescool on Sept 5, 2009 18:12:42 GMT -8
its rite under it, and it doesnt work. i had it without another css assuming you meant it would just use the other one, should i have to add another one
|
|
|
Post by Wormopolis on Sept 5, 2009 18:24:45 GMT -8
no. just use one. the second one would cancel out the first one anyways. I missed a backslash:
if(lastPostCell[l].className == 'windowbg2' && lastPostCell[l].width.match(/(14|20)\%/)) {
|
|
|
Post by Wormopolis on Sept 5, 2009 18:30:09 GMT -8
you have a lot of codes doing things to column widths it gets confusing. I think 14|20 should work.. if not, try 12|15
|
|
|
Post by tunescool on Sept 5, 2009 18:32:26 GMT -8
it works where you had it, thanks for all the work again
|
|
|
Post by tunescool on Sept 5, 2009 22:46:56 GMT -8
|
|
|
Post by Wormopolis on Sept 5, 2009 23:53:36 GMT -8
change this:
if (location.href.match(/board=/)) {
to this:
if (location.href.match(/board=/) && !location.href.match(/thread=/)) {
that will preserve all the links inside posts. since you wanted all the links on the thread listing and info center to be the same color, individual colored names wouldnt work since this replaces all the classnames with a new class.
|
|
|
Post by tunescool on Sept 6, 2009 0:27:12 GMT -8
they all turned back to black inside the thread
|
|
|
Post by Wormopolis on Sept 6, 2009 0:53:02 GMT -8
which is the color you set links to be in your skin... thats what you were aiming for correct?
|
|