|
Post by Wormopolis on Dec 7, 2009 3:44:43 GMT -8
textareas fall under a different element which is why you see them working already.
we CANT just do a style sheet because then it will affect all of the inputs all of the time. unless you are ok with that.
the windowbg elements we can do, but will require getting correct percentages.
|
|
|
Post by tunescool on Dec 7, 2009 3:56:09 GMT -8
i dont want to have every input
|
|
|
Post by Wormopolis on Dec 9, 2009 12:48:18 GMT -8
<script type="text/javascript"> if (location.href.match(/board=|action=(pmsend|calendarpost)/)) { document.write('<sty' + 'le type="text/css"> INPUT {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg); border:none;} </sty' + 'le>'); } </script>
|
|
|
Post by tunescool on Dec 10, 2009 7:22:17 GMT -8
i didnt even notice this thread, usually i just just hit the link in the last post cell. the inputs are there without a border only in the specified areas. then just the windowbgs in the pmsend|calendarpost to the same darker gray background i have in posting page do you have any idea what is with wednesday and thursday here
|
|
|
Post by Wormopolis on Dec 10, 2009 7:48:50 GMT -8
do you want them grey or do you want the other days yello? its pickign that up from the info center reclass script because the cells match the attributes oif the ones in the info center.
|
|
|
Post by tunescool on Dec 10, 2009 8:10:37 GMT -8
the gray
|
|
|
Post by Wormopolis on Dec 10, 2009 11:03:17 GMT -8
in the ic/thread/board reclass code, find this:
if (tds.className.match(/windowbg/) && tds.width.match(/^(4|14|20)%/)) {
change to:
if (tds.className.match(/windowbg/) && tds.width.match(/^(4|14|15|20)%/)) {
|
|
|
Post by tunescool on Dec 10, 2009 12:05:03 GMT -8
its all the other color not the gray
|
|
|
Post by Wormopolis on Dec 10, 2009 12:18:44 GMT -8
look at the word "if" at the beginning of that line again.
|
|
|
Post by tunescool on Dec 10, 2009 12:22:46 GMT -8
and the bg from the ic disappeared
|
|
|
Post by tunescool on Dec 10, 2009 12:28:02 GMT -8
i replaced the same line, all i did was double click it, well it works now
|
|
|
Post by Wormopolis on Dec 10, 2009 12:38:29 GMT -8
and the calander?
you had it as "iif" instead of "if" when I looked.
|
|
|
Post by tunescool on Dec 10, 2009 13:15:26 GMT -8
they both work, then just the windowbgs in the pmsend|calendarpost to the same darker gray background i have in posting page. i keep saying things over and over again cause i say or ask you, or any other coder, 2 or 3 things, you answer 1, then everything else is forgotten
|
|
|
Post by Wormopolis on Dec 10, 2009 14:15:47 GMT -8
oh I know. I answer 1 thing at a time usually because if I put too many answers in there things get mixed up... AND you have a tendency to introduce NEW things into the fray.
the threads start out as:
I have problem A
question/possible solution for problem A
what happened with that, and I also have problem B and problem C
question about A again, possible solution for C
that fixed A, what about B? C looks like this (screenshot). I also Have problem D and problem E.
solution to B, question about C
B looks ok now, answer to question about C, nevermind about E but what about D, oh and I also am bringing problem F from another thread...
see what I mean? it gets confusing sometimes when new and unrelated issues are added to the mixing bowl. if a new problem arises as a result of a solution to the current problem that is ok. bringing in a new problem because you subsequently created/added something new adds chaos.
its a workload thing. if you dump too many TPS reports on my desk and come back later asking if I used the new coversheet, Im going to have to take it out on the laser printer.
I have to get the cell widths for pmsend and calendarpost and I believe we can just modify the code that affects the posting page cells.
|
|
|
Post by Wormopolis on Dec 18, 2009 19:11:37 GMT -8
in this code:
<script type="text/javascript"> for (ta=document.getElementsByTagName('textarea'),t=0;t<ta.length; t++) { if (ta[t].name=='message' ) ta[t].className+=' TArestyle'; } if (location.href.match(/action=(post|modifypost)/)) { for (tds=document.postForm.parentNode.getElementsByTagName('td'),s=0;s<tds.length; s++) { if (tds[s].className.match(/windowbg/)) tds[s].className+=' PostWindBGrestyle'; } } </script>
change it to:
<script type="text/javascript"> for (ta=document.getElementsByTagName('textarea'),t=0;t<ta.length; t++) { if (ta[t].name=='message' ) ta[t].className+=' TArestyle'; } if (location.href.match(/action=(post|modifypost|pmsend|calendarpost)/)) { for (tds=document.postForm.parentNode.getElementsByTagName('td'),s=0;s<tds.length; s++) { if (tds[s].className.match(/windowbg/)) tds[s].className+=' PostWindBGrestyle'; } } </script>
|
|