|
Post by Kay on Sept 11, 2010 19:44:48 GMT
Global Headers, directly ABOVE the Smangii side table code:
<script> <!-- /* Border-Around-Forum using Gradients - by Smangii */ var hg = "titlebg"; // Class of the Header Gradient var mc = "#d8d8d8"; // Color of the middle portion var bg = "titlebg"; // Class of the Footer Gradient document.write('<table width="920px" cellspacing="1" cellpadding="4" class="windowbg" align="center"><tr><td width="100%" class="'+hg+'"></td></tr><tr><td width="100%" bgcolor="'+mc+'">') //--> </script>
RED: the 6-digit color code, which you can change to match your skin.
GREEN: the width of the background bit. on this site, I made it 20px bigger on either side, but it's up to you.
Global Footers, directly BELOW the end of the Smangii side banner code. No changes here as far as I know.
<script> <!-- document.write('</td></tr><tr><td width="100%" class="'+bg+'"></td></tr></table>') //--> </script>
|
|
|
Post by Kay on Sept 17, 2010 21:20:08 GMT
PM Bar Thingie:
<script type="text/javascript"> <!-- /* PM Bar v2 This code was created by Animus of RPGC */ var td=document.getElementsByTagName('td'); var insertTable = document.getElementsByTagName("table")[0].insertRow(2); var insertCell = insertTable.insertCell(0);
var alrt="yes"; insertCell.className = "windowbg"; insertCell.height = "18px" insertCell.align = "center";
var cellC = " | <a href='/index.cgi?action=pm&view=2'>Outbox</a> | <a href='/index.cgi?action=pmprefs'> Prefs </a> | <a href='/index.cgi?action=pmsend'> Send Message </a> </font>";
if(td[2].innerHTML.match(/, (\d+)\ (are|is) new./i)){ var newPM = RegExp.$1; } if(pb_username=='Guest'){ insertCell.innerHTML="<font size=1> Welcome Guest! [ <a href='/index.cgi?action=login'>Login</a> | <a href='/index.cgi?action=register'>Register</a> ]"; } else if(newPM<1){ insertCell.innerHTML="<font size =1> <a href='/index.cgi?action=pm'>No New Messages</a>" + cellC; } else if(newPM>1){ insertCell.innerHTML="<font size=1> <a href='/index.cgi?action=pm'>" + newPM + " New PMs!</a>" + cellC; if(!location.href.match(/action=pm/) && alrt=="yes"){ alert("You have "+ newPM +" New PMs!"); }} else if(newPM==1){ insertCell.innerHTML="<font size=1> <a href='/index.cgi?action=pm'>1 New Private Message!</a>" + cellC; if(!location.href.match(/action=pm/) && alrt=="yes"){ alert("You Have 1 New PM!"); }} //--> <!-- document.getElementsByTagName("font")[1].style.display='none'; document.getElementsByTagName("td")[2].style.display='none'; //--> </script>
|
|
|
Post by Kay on Mar 5, 2011 22:14:58 GMT
Global Header (at the very top):
<style> body { text-align: center; } .secondBackground { margin: 0 auto; background-color: #;
width: 92%; } </style> <div class="secondBackground">
Global Footer (at the very bottm):
</div>
|
|