View Full Version: [S] Font Size

RPG-Directory > Solved Support Topics > [S] Font Size



Title: [S] Font Size
Description: ...it won't change


Benjiboy180 - August 11, 2008 03:28 AM (GMT)
The font size on my forum wont change when I use the posting codes. I looked through my codes and it didn't appear as though I had one that changed the font permanently. This isn't a huge problem, it just makes it harder to make things look all nice and neat. Any ideas?

My link is: here.

~Benji

Rièle - August 11, 2008 03:48 AM (GMT)
There are loads of places within the CSS code where you can edit font size. Can you be specific about which part of the board you're trying to change the font size for?

Benjiboy180 - August 11, 2008 04:53 AM (GMT)
Everywhere. No matter where it is on the board, if I use blah blah blah I get nothing. I can tell when the page is loading for a brief period that it changes the size, but then it all switches to the font it has now. Almost as though some code I have is making sure the font stays a certain way. This goes for anything in the side bar, category and board names, posts, sigs. Everything.

~Benji

SpazzyMal - August 11, 2008 05:07 AM (GMT)
Could you post your CSS?

Benjiboy180 - August 11, 2008 06:33 AM (GMT)
Do you mean post all of the code in my headers and footers? I am rather new to this whole thing and don't know all of the different terms.

SpazzyMal - August 11, 2008 06:54 AM (GMT)
I don't know what they call it on a ProBoards board... but it will have a lot of things like this:

form { display:inline; }
img { vertical-align:middle; border:0px }
BODY { font-family:georgia, serif; font-size:10px; color:#333333; margin:0px 10px 0px 10px; background-color:#5E2323; }
TABLE, TR, TD { font-family:georgia, serif; font-size:10px; color:#333333; }
a:link, a:visited, a:active { text-decoration:none; color:#333333; }
a:hover { color:#333333; text-decoration:none; }

And such.

Benjiboy180 - August 11, 2008 09:57 AM (GMT)
Ok. Well, I think I may know what you are talking about.

CODE
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>

   <style type="text/css">
   <!--

   background-position:center top;
   background-repeat:repeat-y;

   -->

   </style>



<script type="text/javascript">
<!--
/* transparent welcome table */

var td = document.getElementsByTagName("td");
var tt = document.getElementsByTagName("table")[0];
tt.style.backgroundColor = "transparent";
tt.cellSpacing = "0";
for(i=0; i<td.length; i++)
   td[i].style.backgroundColor = "transparent";

// -->
</script>




<script language="javascript">
document.getElementsByTagName('font')[1].style.display="none";
document.getElementsByTagName('td')[2].style.display="none";
</script>





<div id="wel"></div>

<script type="text/javascript">
//Moves ads above welcome table
<!--

var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);

//-->
</script>





<script type="text/javascript">
<!--
/* PM System Above Banner (iKon Style)
By {XF}Äs$@§sîñ™, [URL=http://exdat.proboards44.com]http://exdat.proboards44.com[/URL]
Do NOT RIP nor REPOST nor CLAIM AS YOUR OWN */

var pmCClass = "winbg"; // ClassName of the cell
var pmCHeight = "30"; // Height of the cell
var pmCAlign = "center"; // Alignment ot the text inside of the cell

var table = document.getElementsByTagName("table");
var td = document.getElementsByTagName("td");

var iFont = document.createElement("font");
iFont.style.fontSize = "12px";
if (pb_username.match(/Guest/)) {
iFont.appendChild(document.createTextNode("Welcome " + pb_displayname + " to " + document.title.split(" - ")[0] + "."));
}
else if (td.item(2).innerHTML.match(/,\s(\d+)\s(is|are)\snew./i)) {
iFont.appendChild(document.createTextNode("Welcome " + pb_displayname + "! "));
var pmLink = document.createElement("a");
pmLink.setAttribute("href", "/index.cgi?action=pm");
pmLink.appendChild(document.createTextNode(RegExp.$1));
iFont.appendChild(pmLink);
iFont.appendChild(document.createTextNode(" new private message" + ((RegExp.$1 == 1)? "." : "s." )));
}
td.item(2).style.display = "none";

with (table.item(0).insertRow(0).insertCell(0)) {
className = pmCClass;
height = pmCHeight;
align = pmCAlign;
appendChild(iFont);
}
//-->
</script>


<script src="http://www.webpost.net/sh/shinx05/CrossFury/CFHeader.js">
<!--
/*
Project: CrossFury Version 1.0 © Shin, 2005
This code may be used provided that you do not edit or repost this code without my prior permission, and that you do NOT remove this header. This script's coding is my official property, so please do not attempt to claim any of it as your own. This header must always remain intact.

This part of the code goes in your Global Header ONLY.
Both parts of the code must be properly installed to work.
*/
//-->
</script>

<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->

<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="5">
<tr>
<td align="center" width="225px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>

<!-- WELCOME //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Welcome.jpg" border="0" alt="Welcome"></td>
</tr>
<tr>
<td class="windowbg" align="center">
<font size=1>Welcome to Kennington, a rather small town in southern Ohio. On the outside, this rural town appears to be a calm, uninteresting place, which it is, for the most part. That is, until the bell rings at the local high school, thus unleashing the local teens on the town. Kennington, just like anywhere else, has its own struggles when it comes to the teenage life. Students here are like any other. They must decide who their real friends are. They must decide to love or lose, to live or die, to be real or hide. Sadly, so many choose to seal themselves behind masks. Just like many schools about the country, the hallways of Kennington High are filled with...<br> <font color=898e3c face=Wingdings>wwwwwwwwwwwwwwwwwwwwwwwwwwww</font><br> <font color="458B00">Fake Plastic Trees</font>.</font>
<br>
</td>
</tr>
</table>
</br>

<!-- LINKS//-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Links.jpg" border="0" alt="Links"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<a href="http://fakeptrees.proboards89.com/index.cgi?board=general&action=display&thread=1205609823">Rules</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=general&action=display&thread=1205609916">Plot</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=create&action=display&thread=1205609514">Application</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=create&action=display&thread=232">Cannons</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=subplots">Sub-Plots</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=relationships">Character Relationships</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=claims">Claims</a><br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=ad">Advertising and Affiliating</a><br>



</td>
</tr>
</table>
</br>

<!-- FORECAST //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Forecast.jpg" border="0" alt="Forecast"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<b>Month:</b> June<br>
<b>Season:</b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/Seasons/ICONATOR_b20b30e959eb3165ebced34c78.png" border="0" alt="Early Summer"><br>
It's sunny with a high of 85 and a few scattered clouds.

</td>
</tr>
</table>
</br>


<!-- SPOTLIGHT //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Spotlight.jpg" border="0" alt="Spotlight"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<u><b>Member Of The Month</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/ICONATOR_0f3407cfe8016ba812c2d04fed.jpg" border="0" alt="MotM"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Male Character</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/People/ICONATOR_c92d27bc07679dcc0c4239fdf8.jpg" border="0" alt="Top Male"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Female Character</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/People/ICONATOR_e2e037bed5419e6f440d6bbea0.jpg" border="0" alt="Top Female"><br>
<b>To Be Announced</b><br>

<br>

<u><b>Top Couple</u></b><br>
<img src="http://i93.photobucket.com/albums/l48/benjiboy180/Forum%20Pics/love_icon.png" border="0" alt="Top Couple"><br>
<b>To Be Announced</b>

</td>
</tr>
</table>
</br>

<!--OTHER INFO //-->
<table align="center" width="100%" class="bordercolor" cellpadding="0" cellspacing="1">
<tr>
<td align="center" class="titlebg"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/Other.jpg" border="0" alt="Other Info"></td>
</tr>
<tr>
<td class="windowbg" align="center">

<font size="-2">Layout format © Benjiboy180 <br>
Codes © the respective coders <br>
Skin © Wicked <br>
Icons © www.iconator.com <br>
Fake Plastic Trees © Radiohead <br>
The town of Kennington © Benjiboy180 <br>
All posts © their creators <br>
Nothing is to be ripped or stolen. <br>
~Benjiboy180</font><br>
<hr color=664b67>
<font size=3><b><u>Affiliates</u></b></font>
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left" scrollamount="3">

<a href="http://s15.invisionfree.com/RPG_Directory" target="_blank"><img src="http://img.photobucket.com/albums/v231/ShinLi/RPG%20Life/RPGDirectoryMiniBanner2.gif" alt="RPG-D" /></a>

<a href="http://the-fantasm.com/rpg/" target="_blank"><img src="http://www.the-fantasm.com/images/button-what-yellow.jpg" alt="WHAT" /></a>

<a href="http://rpgcollection.proboards27.com/" target="_blank"><img src="http://dravu.com/RPGC3/Main/minibanner1.gif" width="88" height="31" border="0" alt="RPGCollection"></a>

<a href="http://z9.invisionfree.com/Harbor_High"><img src="http://i175.photobucket.com/albums/w133/krystalisqueen/button.png"></a>

<a href="http://wgav3.proboards98.com/index.cgi" target="_blank"><img src="http://i17.tinypic.com/5066c8m.png" alt="Woodgate Academy v3" /></a>

<a href="http://cliftonacademy.proboards80.com" Target="_blank">
<img src="http://i208.photobucket.com/albums/bb175/anjewl619/CAB1.gif" width=88 height=31 border=0 alt="Clifton Academy"></a>

<a href="http://newyorkhigh.proboards49.com" target="_blank"><img src="http://i26.photobucket.com/albums/c136/chexdex/nyh/nyhminimh3.jpg" border="0" /></a>

<a href=http://z4.invisionfree.com/Waverly_High/ target=_blank><img src=http://i38.photobucket.com/albums/e104/obscurespirit/waverlytwo.gif border=0 alt="Waverly High"></a>

</marquee>

<hr color=664b67>
<a href="http://fakeptrees.proboards89.com/index.cgi" target="_blank"><img src="http://i93.photobucket.com/albums/l48/benjiboy180/Vanity%20Fair/AffIcon.jpg" border="0" alt="Fake Plastic Trees"></a>
<br>
<a href="http://fakeptrees.proboards89.com/index.cgi?board=ad">Click to Affiliate!</a>

</td>
</tr>
</table>
</br>

<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<td vAlign="top">
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>

<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
<script type="text/javascript">
<!--
AddOns[0]=new ProfileAddOn("blood","true","select","all","Blood Status","","Select your character's blood status.","Pureblood","Halfblood","Muggleborn","Squib","Muggle");
//-->
</script>
<script type="text/javascript">
<!--
AddOns[1]=new ProfileAddOn("relations","true","select","all","Relationship Status","","Select your character's relationship status.","Single","Dating","Engaged","Married","Divorced","Widowed");
//-->
</script>



<script type="text/javascript">
<!--
/* Post as Alias - Eton Bones */
function saveLogin(event){
var minutes=document.getElementsByName('minutes');
var now=new Date();
try{
minutes=parseInt(minutes[0].options[minutes[0].options.selectedIndex].value);
minutes=(minutes==-1)?35788933-now.getTime()/1000/60:minutes;
var expires=minutes*1000*60+now.getTime();
if(Boolean(document.getElementById('saveLogin').checked)==true||(user.value.length && user.value in logins))
document.cookie="litmp="+expires+";"
else
document.cookie="litemp="+expires+";"
}catch(err){
alert(err);
}finally{
return true;
}
}
function setAlias(){
document.getElementById('saveLogin').checked= (user.value.length && user.value in logins)?true:false;
}

function LoginInfo(){
this.li_past=new Date(document.lastModified).toGMTString()+";";
this.li_noAlias={count:0};
this.clearAllUsers=function(){
this.li_count=0;
document.cookie="liuser=;expires="+this.li_past;
document.cookie="litime=;expires="+this.li_past;
document.cookie="lipass=;expires="+this.li_past;
document.cookie="lidn=;expires="+this.li_past;
}
this.save=function(){
if(this.li_userCount || this.li_noAlias.count){
var users,expires,passwords,dnames;
users=expires=passwords=dnames="";
var cookieExpire=0; var session=(document.cookie.match(/\blisession=1/))?true:false
for(var k in this){
if((k.substr(0,3)!="li_" || k.match(/li_noAlias/)) && typeof(this[k])!="function"){
var na=k.match(/li_noAlias/)
if(na){
for(var j in this.li_noAlias){
if(j!="count" && !(j in this)){
users+="\n\x07"+j;
expires+="\n"+this.li_noAlias[j].expire;
if(parseInt(this.li_noAlias[j].expire)>cookieExpire)cookieExpire= parseInt(this.li_noAlias[j].expire);
passwords+="\n"+this.li_noAlias[j].password;
dnames+="\n"+this.li_noAlias[j].displayname;
}
}
}else{
users+="\n"+k;
expires+="\n"+this[k].expire;
if(parseInt(this[k].expire)>cookieExpire)cookieExpire= parseInt(this[k].expire);
passwords+="\n"+this[k].password;
dnames+="\n"+this[k].displayname;
}
}
}
cookieExpiry=new Date();cookieExpiry.setTime(cookieExpire);
document.cookie="liuser="+escape(users.replace(/^\n/,""))+((!session)?'; expires='+cookieExpiry.toGMTString():"")+";";
document.cookie="litime="+escape(expires.replace(/^\n/,""))+((!session)?'; expires='+cookieExpiry.toGMTString():"")+";";
document.cookie="lipass="+escape(passwords.replace(/^\n/,""))+((!session)?'; expires='+cookieExpiry.toGMTString():"")+";";
document.cookie="lidn="+escape(dnames.replace(/^\n/,""))+((!session)?'; expires='+cookieExpiry.toGMTString():"")+";";
}else{
this.clearAllUsers();
}
}

var usertmp=document.cookie.match(/litmp=\d+/);
var usertemp=document.cookie.match(/litemp=\d+/);
var usersdn=document.cookie.match(/lidn=[^;]+/);
var users=document.cookie.match(/liuser=[^;]+/);
var userstime=document.cookie.match(/litime=[^;]+/);
var userspass=document.cookie.match(/lipass=[^;]+/);
var now=new Date();
this.li_userCount=0;

if(users){
users=unescape(users[0]).split('=')[1].split('\n');
userstime=unescape(userstime[0]).split('=')[1].split('\n');
userspass=unescape(userspass[0]).split('=')[1].split('\n');
usersdn=unescape(usersdn[0]).split('=')[1].split('\n');

for(count=0;count<users.length;count++){
if(now.getTime() < userstime[count]){
if(users[count].indexOf("\x07")==0){
this.li_noAlias[users[count].substr(1)]= {expire:userstime[count],password:userspass[count],displayname:usersdn[count]}
this.li_noAlias.count++;
}else{
this[users[count]]= {expire:userstime[count],password:userspass[count],displayname:usersdn[count]}
this.li_userCount++;
}
}else if(pb_username!="Guest" && pb_username!=users[count]){
alert('The logon for account '+users[count]+' has expired.\nIf you wish to have that account available for posting\nyou must log back into that account');
}
}
}

if(pb_username!="Guest"){
if(usertmp){
this[pb_username]= {expire:usertmp[0].split('=')[1],password:unescape(document.cookie.match(/\bpass=[^;]+/)[0]).split('=')[1],displayname:pb_displayname}
this.li_userCount++;
document.cookie="litmp=; expires="+this.li_past;
}else if(usertemp){
this.li_noAlias[pb_username]= {expire:usertemp[0].split('=')[1],password:unescape(document.cookie.match(/\bpass=[^;]+/)[0]).split('=')[1],displayname:pb_displayname}
this.li_noAlias.count++;
document.cookie="litemp=; expires="+this.li_past;
}
}else if(pb_username=="Guest" ){
document.cookie="li_prev=;expires="+this.li_past;
}
this.save();
this.setUser=function(username,isAlias){
if(username==pb_username)return;
var pass,exp;
isAlias=("undefined"==typeof isAlias)?true:false;
if(!(username in this)){
if(!(username in this.li_noAlias)){
alert("Error!\nCould not find login credentials for "+username+".\nUnable to set requested login");
if(document.cookie.match("li_prev="+username)) document.cookie="li_prev=;expires="+this.li_past;
return
}else{
pass=this.li_noAlias[username].password
exp=this.li_noAlias[username].expire
}
}else{
pass=this[username].password
exp=this[username].expire
}
var xdate=new Date(); xdate.setTime(exp);
document.cookie="user="+username+"; expires="+xdate.toGMTString()+";";
document.cookie="pass="+pass+"; expires="+xdate.toGMTString()+";";
window.location.href=window.location.href.replace(/\?/,"?"+((isAlias)?"alias="+username+"&":""))
}


}
try{
var logins=new LoginInfo(); var pa_popWin=null;

var xWin=null;

if(document.loginform){
var minutes=document.getElementsByName('minutes')[0];
var user=document.getElementsByName('username')[0];
var tr=minutes.parentNode.parentNode.parentNode.parentNode.insertRow(minutes.parentNode.parentNode.rowIndex+1);
user.onchange=function(){
if((this.value in logins) && document.getElementById('saveLogin'))
document.getElementById('saveLogin').checked=true;
else
document.getElementById('saveLogin').checked=false;
}
while(tr.cells.length<3){tr.insertCell(-1);tr.lastChild.width=tr.previousSibling.cells[tr.cells.length-1].width;}
var chk=document.createElement('input');chk.type="checkbox";
chk.value=false;chk.checked=false;chk.id="saveLogin";
chk.title='Include this login in my list of aliases';chk.alt=chk.title;
chk.onclick=function(){
if(Boolean(this.checked)==false && (user.value.length && user.value in logins)){
delete logins[user.value];logins.li_userCount--;logins.save();
this.parentNode.nextSibling.firstChild.innerHTML = 'Clear aliases now['+logins.li_userCount+']';
this.parentNode.nextSibling.firstChild.style.display.style=(logins.li_userCount)?'':'none';
this.parentNode.nextSibling.firstChild.title= "Aliases: "+unescape(document.cookie.match(/\bliuser=[^;]+/)[0]).split('=')[1].split('\n').join();
}
}
tr.firstChild.nextSibling.appendChild(chk);
tr.firstChild.nextSibling.appendChild(document.createElement('span'));
tr.firstChild.nextSibling.lastChild.appendChild(document.createTextNode('Include as alias'));
chk.nextSibling.title=chk.title;chk.nextSibling.alt=chk.alt;
var cl=document.createElement('a');
cl.href="javascript:void(0)";cl.onclick=function(){logins.clearAllUsers();this.style.display='none';}
cl.appendChild(document.createTextNode('Clear aliases now['+logins.li_userCount+']'))
tr.lastChild.appendChild(cl);
tr.firstChild.nextSibling.appendChild(document.createElement('br'));
chk=document.createElement('input');chk.type="checkbox";
chk.value=false;chk.checked=(document.cookie.match(/\lisession=[^;]+/)!=null); chk.id="sessionOnly";
tr.firstChild.nextSibling.appendChild(chk);
chk.parentNode.appendChild(document.createElement('span'));
chk.parentNode.lastChild.appendChild(document.createTextNode('Clear aliases on close'));
chk.title='Clear all aliases when browser closes'; chk.alt=chk.title;
chk.nextSibling.title=chk.title;chk.nextSibling.alt=chk.alt;
chk.onclick=function(){
if(this.checked)
document.cookie="lisession=1;";
else
document.cookie="lisession=; expires="+logins.li_past;
}
if(logins.li_userCount<1){
cl.style.display="none";
}else{
cl.title="Aliases: "+unescape(document.cookie.match(/\bliuser=[^;]+/)[0]).split('=')[1].split('\n').join();
cl.title=cl.title.replace(/\07[^,]+,?/g,"")
}
addEvent(document.loginform,"submit",saveLogin)
addEvent(user,"change",setAlias)
}
if((logins.li_userCount>1 || (logins.li_userCount==1 && (pb_username in logins.li_noAlias)))){
if(document.postForm ){
var row=document.postForm.subject.parentNode.parentNode;
var newrow=row.cloneNode(true);
if(!document.postForm.guestname){
row.parentNode.insertBefore(newrow,row);
newrow.cells[0].innerHTML="<b>Post as...<\/b>";
newrow.cells[1].innerHTML="<\!-- -\->";
showAccounts(newrow.cells[1],0,document.postForm);
}
}else if(document.getElementsByName('message').length ){
var qrmsg=document.getElementsByName('message')[0];
var acct=qrmsg.form.parentNode.parentNode.parentNode;
acct=acct.parentNode.insertRow(1);
acct=acct.insertCell(-1); acct.className="windowbg";
acct.innerHTML="<b>Post as...<\/b>";
showAccounts(acct,1,qrmsg.form);

var userprevious=document.cookie.match(/li_prev=[^;]+/);
if(userprevious){
document.getElementById('accounts').focus();
}

}
}
if("undefined"==typeof(document.postForm) && !location.href.match(/\?alias=/)){
var userprevious=document.cookie.match(/li_prev=[^;]+/);
if(userprevious){
userprevious=unescape(userprevious[0].split('=')[1]);
document.cookie="li_prev=;expires="+new Date(document.lastModified).toGMTString()+";";
if(pb_username!="Guest" && pb_username!=userprevious)
doConfirm('You will now be returned to the '+userprevious+' account.\n Select OK to continue or CANCEL to remain logged in as '+pb_username,"javascript:logins.setUser(userprevious,false)");

}
}

}catch(e){
alert('Post as..'+e+'\n'+e.message);
}

function protectPost(){
document.getElementById('accounts').disabled=true;
for(var inp in document.getElementById('accounts').frm){
if(inp.tagName && ((inp.tagName.match(/input/i) && !inp.type.match(/hidden|submit/i))||inp.tagName.match(/textarea/i))){
if(inp.detachEvent){
inp.detachEvent("onpropertychange",protectPost);
}else if(inp.removeEventListener){
inp.removeEventListener("input",protectPost,false);
}
}
}
}
function showAccounts(cell,pos,frm){
var opts=document.createElement('select');
opts.id="accounts";opts.setAttribute('frm',frm);
opts.onchange=function(){
if(pb_username!="Guest")document.cookie="li_prev="+pb_username+";";
logins.setUser(this.options[this.selectedIndex].value);
}
if(!(pb_username in logins)){
opts.options[opts.options.length]=new Option("Current User",pb_username);
opts.options[opts.options.length-1].selected=true;
}
for(key in logins){
if(key.substr(0,3)!="li_" && typeof(logins[key])!="function"){
opts.options[opts.options.length]=new Option(logins[key].displayname+" (username:"+key+")",key);
if(key==pb_username) opts.options[opts.options.length-1].selected=true;
}
}
var accountInfo=document.createElement('a');
accountInfo.appendChild(document.createTextNode('more details...'));
var f=document.createElement('sub');
accountInfo.href="javascript:void(0)";accountInfo.onclick=accountDetails;

cell.appendChild(opts);
f.appendChild(document.createTextNode(' available accounts:'+logins.li_userCount+' ('));
f.appendChild(accountInfo);f.appendChild(document.createTextNode(')'));
cell.appendChild(f);

for(var count=0;count< frm.childNodes.length;count++){
var inp=frm.childNodes[count];
if(inp.tagName && ((inp.tagName.match(/input/i) && !inp.type.match(/hidden|submit/i))||inp.tagName.match(/textarea/i))){
addEvent(inp,"propertychange",protectPost,false);
addEvent(inp,"input",protectPost,false);
}
}
}

function accountDetails(){
if(pa_popWin && pa_popWin.closed) {pa_popWin=null;}
if(pa_popWin && pa_popWin.document.getElementsByTagName('table').length>2) {
pa_popWin.close();
pa_popWin=null;
}
if(pa_popWin==null ){
pa_popWin=window.open("/index.cgi?action=viewthreadposts","popWindow","directories=0,location=0,menubar=0,resizable=1, scrollbars=1,status=1,toolbar=0,top=100,left=100,width=400,height=275");
if(pa_popWin==null){
alert("This feature won't function correctly with a popup blocker active. Try disabling any popup blockers or try holding CTRL key while clicking link to bypass blocker");
return false;
}
if(document.attachEvent){
var bool=false;
do{
try{pa_popWin.document.body.getElementsByTagName('table');bool=true;}catch(e){}
}while(!bool)
}else{
pa_popWin.onload=arguments.callee;
return true;
}
}
var y="";var d=new Date();
try{
var source=pa_popWin.document.body.getElementsByTagName('table');
}catch(e){
alert('Unable to display available accounts info');
pa_popWin.close(); pa_popWin=null;
return false;
}
pa_popWin.opener.name="paaccounts"; pa_popWin.document.title="Available Accounts";
source[1].getElementsByTagName('b')[0].innerHTML="Available Accounts";
source=source[1].rows[1].cells[0];
var tdS1=document.createElement('td');
var tdS2=document.createElement('td');
for(key in logins){
if(key.substr(0,3)!="li_" && typeof(logins[key])!="function"){
d.setTime(logins[key].expire);var dname;
dname=document.createElement('a');dname.href='index.cgi?action=viewprofile&user='+key;
dname.appendChild(document.createTextNode(logins[key].displayname));
dname.setAttribute("target","paaccounts");dname.onClick='opener.focus();setTimeout("self.close()",1);';
tdS1.appendChild(document.createElement('br'));tdS2.appendChild(document.createElement('br'));
tdS1.appendChild(dname);tdS2.appendChild(document.createTextNode(timeLeft(logins[key].expire)));
}
}
var w1=tdS1.innerHTML.replace(/target=/gim,"onClick='opener.focus(); setTimeout(\042self.close()\042,1);' target=").split(/<br\/?>/i);
var w2=tdS2.innerHTML.split(/<br\/?>/i);
for(var count=0;count<w1.length;count++){
if(w1[count].match(/href=/i))
y+="<tr><td width='40%' align='right'>"+w1[count]+"</td><td width='60%' align='center'>"+w2[count]+"</td></tr>";
}
if(y.length){
z="<span align='center'><br/><br/><a href='javascript:opener.logins.clearAllUsers();";
z+="opener.location.href=opener.location.href;opener.focus();setTimeout(\042self.close()\042,1);' >Clear all saved account(s)</a></span>";
}else{
z="";
}
source.innerHTML='<center><font size="2">Total accounts:'+logins.li_userCount+'<br><table width="70%" cellspacing="0" cellpadding="3" border="0" _base_target="paaccounts"><tbody ><tr _base_target="paaccounts"><td width="40%" align="right" _base_target="paaccounts"><font size="2"><u><i>User</i></u></font></td><td width="60%" align="center" _base_target="paaccounts"><font size="2"><u><i>Account Expiration</i></u></font></td></tr>'+y+'</tbody></table></font>'+z+'</center>';
setTimeout('pa_popWin.focus()',1);
addEvent(window,"unload",cleanScreen,true);
}

function cleanScreen(){if(pa_popWin!=null)pa_popWin.close();pa_popWin=null;}
function timeLeft(m){
var years,months,weeks,days,hours,minutes,tmp3;
years=months=weeks=days=hours=minutes=0; tmp3="";
var Now=new Date();var date=new Date(); date.setTime(m);
var hour=1000*60*60; var day=hour*24;
var ms=date-Now;
if(ms<0){ms=Math.abs(ms); tmp3+="-";}
years=Math.floor(ms/(day*365)); ms-=day*365*years;
months=Math.floor(ms/(day*30)); ms-=day*30*months;
if(months==12){months=0;years++}
weeks=Math.floor(ms/(day*7)); ms-=day*7*weeks;
days=Math.floor(ms/day); ms=ms-day*days;
if(years==0 && months==0 && weeks==0 && days==0){
hours=Math.floor(ms/hour); ms=ms-hour*hours;
minutes=Math.ceil(ms/(hour/60)); ms=ms-minutes*hour/60;
if(minutes==60){minutes=0;hours++}
if(hours==24){hours=0;days++}
}
years=(years)?years+" year"+((years!=1)?"s ":' '):'';
months=(months)?months+" month"+((months!=1)?"s ":' '):'';
weeks=(weeks)?weeks+" week"+((weeks!=1)?"s ":' '):'';
days=(days)?days+" day"+((days!=1)?"s ":' '):'';
hours=(hours)?hours+" hour"+((hours!=1)?"s ":' '):'';
minutes=(minutes)?minutes+" minute"+((minutes!=1)?"s ":' '):'';
if(String(minutes+hours+days+weeks+months+years).length==0)
minutes="less than 1 minute ";
if(years.length)weeks=days=hours=minutes="";
return tmp3+years+months+weeks+days+hours+minutes;
}
function addEvent(node,evName,func,capture,remove){
capture=(capture)?capture:false;
remove=(remove)?remove:false
if(node.attachEvent){
if(remove)
node.detachEvent("on"+evName,func);
else
node.attachEvent("on"+evName,func);
}else if(node.addEventListener){
if(remove)
node.removeEventListener(evName,func,capture);
else
node.addEventListener(evName,func,capture);
}else{
if(remove)
eval("node.on"+evName+"=null");
else
eval("node.on"+evName+"=func");
}
}
//-->
</script>

<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '700';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->

<!-- CBox table created by Seija of RPGC //-->
<table width="92%" cellpadding="4" cellspacing="1" align="center" class="bordercolor">
<tr><td class="titlebg" width="100%" colspan="2" height="25" align="center">
<font size="2"> Chat Box </font>
</td></tr>
<tr><td width="50%" class="windowbg" vAlign="top">

<!-- BEGIN CBOX - www.cbox.ws -->
<div align="Center" id="cboxdiv">
<iframe frameborder="0" width="438" height="156" src="http://www5.cbox.ws/box/?boxid=63315&boxtag=mxk1kg&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#B3B29F 1px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="438" height="82" src="http://www5.cbox.ws/box/?boxid=63315&boxtag=mxk1kg&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#B3B29F 1px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->

</td><td width="50%" class="windowbg" vAlign="center">
<font size="1">
<CENTER><b><u>Rules</b></u></CENTER>
1) No flaming what so ever.<br>
2) Keep chat speak to a bare minimum, not only does it annoy me, but it clutters.<br>
3) <b><u>No advertising in the C-Box!</u></b><br>
4) Keep discussion here to a low. You can talk, but use PM if you are going to have lengthy discussions. <br>
5) If rules are broken the C-box will be <u>taken away</u>. It is only here for your convenience.<br>
6) Use a single alias when talking in the chat box.<br>
7) Do not impersonate other people, especially staff. That is blatant disregard for others and will be deal with <b><u>very</b></u> severely.

</font>
</td>
</tr>
</table>



<script type="text/javascript" src="http://www.iycatacombs.com/socal/resources/scripts/hfskinsgf.js">
<!--
/* Different Headers/Footers for Different Skins
©2005, SoCal Codes, http://socal.proboards26.com
Do not redistribute or rehost without permission
Place this portion in the bottom of the Global Footer */
// -->
</script>




Hosted for free by InvisionFree