Place the Side Tables Global Headers ABOVE your other content in global headers. Place the Side Tables Global Footers BELOW your other content in global footers.
* Some problems might arise from placement depending on what codes you have already. Swap back and forth just to see what works.
If you are using the "Border-Around-Forum" code and want the side tables WITHIN that border, place the Side Table Global Headers BELOW the Border-Around-Forum Global Headers. Then, place the Side Tables Global Footers ABOVE the Border-Around-Forum Global Footers. If you want the side tables OUTSIDE that border, place the Side Tables Global Headers ABOVE the Border-Around-Forum Global Headers. Then, place the Side Tables Global Footers BELOW the Border-Around-Forum Global Footers. (I know that's very wordy, but I'm sure you'll figure it out )
2) Resizing your forum
Remove any codes you currently have that resize the forum's width. If you want your forum to be fluid, ignore this step.
To resize your forum, just find the following line in the side tables code:
Edit the "95%" to a specific width, like "1024px". This is the width of the ENTIRE forum, side tables included. If you resize your forum's width to a specific amount, you may also want to resize the welcome table. Find this section in the side tables code:
<script> // Resize the welcome table - can be % or a number of pixels document.getElementsByTagName('table')[0].style.width='95%'; </script>
And edit the '95%' to any pixel amount, like '1024px'.
3) Adding more boxes
You may add or remove as many boxes as you like. For the codes for LEFT and RIGHT side tables, copy this code:
<! ===== BOX START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
And paste it above the line that says: <! -- ***NOTE*** Place any extra added side tables above this line // -->
For the DOUBLE sided code, also copy the above section but change this variable:
Use "sidetablesright" if you are adding another box on the right (in your global footers), or "sidetablesleft" if you are adding another box on the left (in your global headers).
4) Resizing the side tables
For the LEFT and RIGHT side table codes, find this part of the code:
Paste it right under the Global Headers of your side tables code.
Also, find this portion of the code to resize the welcome table:
<script> // Resize the welcome table - can be % or a number of pixels document.getElementsByTagName('table')[0].style.width='95%'; </script>
Change whatever number you have in the '95%' spot to '100%'. Even if you resized the table in step 1, DO THIS CHANGE. This makes the welcome table and forum the same width.
===============================================
LEFT SIDE
GLOBAL HEADER:
Code:
<! ===== START Smangii's {LEFT} Side Tables *REVISED* Global Header ===== -->
<script> // Resize the welcome table - can be % or a number of pixels document.getElementsByTagName('table')[0].style.width='95%'; </script>
<! ===== BOX #1 START ===== --> <table id="sidetables" cellpadding="4px" class="bordercolor" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #2 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td><td align="center" vAlign="top" width="100%">
GLOBAL FOOTER:
Code:
<! ===== START Smangii's {LEFT} Side Tables *REVISED* Global Footer ===== -->
<! ===== BOX #1 START ===== --> <table id="sidetables" cellpadding="4px" class="bordercolor" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #2 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td></tr></table>
DOUBLE SIDED
GLOBAL HEADER:
Code:
<! ===== START Smangii's {DOUBLE} Side Tables *REVISED* Global Header ===== -->
<script> // Resize the welcome table - can be % or a number of pixels document.getElementsByTagName('table')[0].style.width='95%'; </script>
<! ===== BOX #1 START ===== --> <table id="sidetablesleft" cellpadding="4px" class="bordercolor" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr><tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b>
</td></tr></table>
<! ===== BOX #2 START ===== --> <table id="sidetablesleft" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetablesleft" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td> <td align="center" vAlign="top" width="100%">
GLOBAL FOOTER:
Code:
<! ===== START Smangii's {DOUBLE} Side Tables *REVISED* Global Footer ===== -->
<! ===== BOX #1 START ===== --> <table id="sidetablesright" cellpadding="4px" class="bordercolor" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #2 START ===== --> <table id="sidetablesright" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! ===== BOX #3 START ===== --> <table id="sidetablesright" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> Side Box Title </td></tr> <tr><td class="windowbg"> Replace this text with anything you want to appear in this box.<br /> <b>To add images, links, and styles, you must use HTML, not UBBC.</b> </td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td></tr></table>
Unfortunately, not really. The closest thing you can do is set headers to load above the welcome table and work with that. HOWEVER, that -can- cause issues with any code that is supposed to go in the header.
Contrary to what my mom says, I don't lack ambition. I've already made plans to be buried with a sho
Joined: May 2010 Gender: Female Posts: 29 Karma: 0
Re: Smangii's Side Tables « Reply #10 on Aug 13, 2010, 1:24am »
Wish I wouldve see this before making a request for this code lol I want to post images in the boxes but i'm absolutely clueless in regards to the image coding itself and how to post it to each box.
Wish I wouldve see this before making a request for this code lol I want to post images in the boxes but i'm absolutely clueless in regards to the image coding itself and how to post it to each box.