|
Post by Wormopolis on Jul 16, 2009 16:29:04 GMT -8
those breaks are what push the 2 things apart....
Im not finding any way to push those apart any more. The more breaks you have in there the farther apart they go and push closer to the top and bottom of the cell. If I can figure out a better way I will let you know.
You will still need to put back in the line you deleted with text-decoration because that line was what set up the drop down. you just needed to change the word "underline" to "none"
|
|
|
Post by tunescool on Jul 16, 2009 20:33:57 GMT -8
with one my forums are the way theyre supposed to be, with 2 they get higher, and the sub boards dont work either way
|
|
|
Post by tunescool on Jul 16, 2009 21:15:32 GMT -8
i did have it in global and main, i took it out of global and subboards disappeared
|
|
|
Post by Wormopolis on Jul 17, 2009 8:23:20 GMT -8
you cant take codes directly from MY page source. I have certain mods done to them that make them work with other codes.
Remove the pagedrop code you currently have, and replace with the one in the database. if you put it below the code you have to reduce the board cell to 50%, then you need to change the 66% in the page drop code to 50%.
to get rid of the underline, just change the word underline to none.
|
|
|
Post by Wormopolis on Jul 17, 2009 11:41:08 GMT -8
heh heh.. ok I can see your source and you have all 3 codes in the main footer. since you have the code that reduces the board cell to 50% running AFTER those 3 codes, you need to change the 50% back to 66% in them.
the third code wont work because of 1 line, but that is ok. I just want to make sure you are happy with the pagedrop code and new thread code first.
|
|
|
Post by tunescool on Jul 17, 2009 11:41:07 GMT -8
alrite ive been drunk for days and havent been paying attention. i have all 3 codes together, i had them in global and main, and new thread or sub boards wont show up. i have them in global now
|
|
|
Post by Wormopolis on Jul 17, 2009 11:43:55 GMT -8
alrite ive been drunk for days and havent been paying attention. i have all 3 codes together, i had them in global and main, and new thread or sub boards wont show up. i have them in global now well hell.. days? I need to party with you!
|
|
|
Post by tunescool on Jul 17, 2009 20:47:12 GMT -8
i have new thread back on the rite, but sub boards isnt underneath it
|
|
|
Post by Wormopolis on Jul 18, 2009 8:18:52 GMT -8
ok good. clean start. find this line in the pagedrop code:
dest.innerHTML='<span onmouseover="load_subboards_PageSpan(this,this.nextSibling);window.clearTimeout(removePageSpan);" onmouseout="hidePageSpan(event,1);" style="cursor: pointer; text-decoration: underline" class="pagejump"> '+dest_stuff +'</span>';
and change to:
dest.innerHTML='<span onmouseover="load_subboards_PageSpan(this,this.nextSibling);window.clearTimeout(removePageSpan);" onmouseout="hidePageSpan(event,1);" style="cursor: pointer; text-decoration: none" class="pagejump"> '+dest_stuff +'</span>';
and then in the combine code find this line:
if (location.href.match(/newtpage/)) {
and change to:
if (true) {
|
|
|
Post by tunescool on Jul 19, 2009 6:16:41 GMT -8
celebnook.proboards.com/index.cgican you change it so i have my two lines in the boards. and the font the same size as new thread. if theres anyone viewing, sub boards and viewing change places
|
|
|
Post by Wormopolis on Jul 19, 2009 7:37:26 GMT -8
replace the combine script with this:
<script type="text/javascript"> <!-- // mod script to merge newthread script with pagedrop script
if (true) {
for (tds=document.getElementsByTagName('td'), e=0; e<tds.length; e++) { if (tds[e].width=='66%' && tds[e].className=='windowbg2' && tds[e].align=='left' && tds[e].firstChild.nodeName.match(/table/i)) { tds[e].parentNode.style.height="40"; if (tds[e].firstChild.getElementsByTagName('span').length) { fel=tds[e].getElementsByTagName('td')[0].firstChild.firstChild.nextSibling; if (fel.innerHTML.match(/viewing/i)) fel=fel.nextSibling; tds[e].firstChild.rows[0].cells[1].appendChild(document.createElement('br')); tds[e].firstChild.rows[0].cells[1].appendChild(document.createElement('br')); fel.style.fontSize='10'; fel.innerHTML=fel.innerHTML.replace(/\(\d+\ssub-board(s?)\)/,'Sub-Boards'); tds[e].firstChild.rows[0].cells[1].appendChild(fel); } } }
} // --> </script>
|
|
|
Post by tunescool on Jul 19, 2009 8:09:02 GMT -8
sub boards are back to normal, do i change the height myself?
|
|
|
Post by Wormopolis on Jul 19, 2009 9:45:39 GMT -8
yah.. I just threw that in to help normalize the board heights. keep in mind that if you make it smaller then the content, they will expand themselves to fit. 40 looked like a good fit when I manipulated the cell size on your board.
|
|
|
Post by tunescool on Jul 19, 2009 10:03:15 GMT -8
i tried 20, 10, 5, 2, nothing changed
|
|
|
Post by Wormopolis on Jul 19, 2009 10:56:19 GMT -8
well that number is in pixels... so 2 definately wouldnt work. try reducing 1 pixel at time. again, keep in mind it wont shrink them if the content stretches it.
|
|