Post by Isa The Great on Nov 23, 2009 0:12:24 GMT -5
Global Header
<script language=javascript>
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1];
PMLogoCell.removeChild(PMLogoCell.lastChild)
-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName("td").item(2).style.display = "none";
//-->
</script>
<script type="text/javascript">
<!--
/*
Hi-Tech PM Bar v.1
Created by Naruto
[url]http://hatakeforum.proboards30.com/index.cgi[/url]
*/
// First flash color - Darker color than AfterFlash
var BeforeFlash = "#999999";
// Second flash color - Lighter color than BeforeFlash
var AfterFlash = "#DDDDDD";
function Click(pm) {
var Function = document.getElementById(pm);
if (Function.parentNode.style.display=="none") {
Function.parentNode.style.display="";
}
else {
Function.parentNode.style.display="none";
}
}
function flash(name) {
if (name=="flash0") {
document.getElementById("flashtext").style.color=""+BeforeFlash+"";
document.getElementById("flashtext").name="flash1";
}
else {
document.getElementById("flashtext").style.color=""+AfterFlash+"";
document.getElementById("flashtext").name="flash0";
}
setTimeout("flash(document.getElementById('flashtext').name)",500)
}
var td = document.getElementsByTagName("td");
if(td[2].innerHTML.match(/<\/a>,\s(\d+)\s/i)) {
var NewPM = RegExp.$1
}
if(td[2].innerHTML.match(/action=pm">(\d+)\s/i)) {
var TotalPM = RegExp.$1
}
var PMBar = document.getElementsByTagName("table")[0].insertRow(2).insertCell(0);
var PMBar2 = document.getElementsByTagName("table")[0].insertRow(3).insertCell(0);
PMBar.className="windowbg";
PMBar.style.padding="3";
if(td[2].innerHTML.match(/Welcome Guest/i)) {
PMBar.innerHTML="<center><font size='1'>Welcome Guest Please <a href='index.cgi?action=login'>Login</a> or <a href='index.cgi?action=register'>Register</a></font></center>";
}
else if(td[2].innerHTML.match(/, 0 are new./i)) {
PMBar.innerHTML="<center>» <font color='"+BeforeFlash+"' size='1'></font><font size='1'> <a href=javascript:Click(\"pm\");>Check Private Messages</a> - </font><font color='"+BeforeFlash+"' size='1'>No New Messages</font></center>";
}
else if(td[2].innerHTML.match(/, 1 is new./i)) {
PMBar.innerHTML="<center><div id=\"flashtext\" name=\"flash0\"><font size='1'>» <a href=javascript:Click(\"pm\");>Check Private Messages</a> - <font size='1'>You Have "+NewPM+" New Message</font></font></div></center>";
flash(document.getElementById("flashtext").name);
}
else {
PMBar.innerHTML="<center><div id=\"flashtext\" name=\"flash0\"><font size='1'>» <a href=javascript:Click(\"pm\");>Check Private Messages</a> - <font size='1'>You Have "+NewPM+" New Messages</font></font></div></center>";
flash(document.getElementById("flashtext").name);
}
PMBar2.className="windowbg2";
PMBar2.style.padding="3";
PMBar2.id="pm";
PMBar2.parentNode.style.display="none";
PMBar2.innerHTML="<center><table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td><font size='1'>Total Private Messages: "+TotalPM+" - New Private Messages: "+NewPM+"</font></td><td align='right'><font size='1'>[ <a href='index.cgi?action=pm'>Inbox</a> ] [ <a href='index.cgi?action=pm&view=2'>Outbox</a> ] [ <a href='index.cgi?action=pmsend'>Send Private Message</a> ] [ <a href='index.cgi?action=pmprefs'>Preferences</a> ]</font></td></tr></table></center>";
//-->
</script>
<script>
<!--
/* Border-Around-Forum using Gradients - by Smangii */
var hg = "titlebg"; // Class of the Header Gradient
var mc = "#e4dfc2"; // Color of the middle portion
var bg = "titlebg"; // Class of the Footer Gradient
document.write('<table width="50%" cellspacing="1" cellpadding="0" class="bordercolor" align="center"><tr><td width="100%" class="'+hg+'"></td></tr><tr><td width="100%" bgcolor="'+mc+'">')
//-->
</script>
<style type="text/css">
<!--
a:hover {
border-bottom: 1px dashed #00907a;
border-top: 1px dashed #00907a;
text-decoration: none;
}
//-->
</style>
<script type="text/javascript">
/* Separate Menu From Welcome Table */
/* By Luke */
/* [url]http://support.proboards.com/[/url] */
document.getElementsByTagName("tr")[2].style.display="none";
var td = document.getElementsByTagName("td");
document.write('<table width="92%" cellspacing="1" cellpadding="0" border="0" align="center" class="bordercolor"><tr><td width="100%" align="center">');
document.write('<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center"><tr><td class="menubg" valign="middle" align="center">');
document.write(td[4].innerHTML);
document.write('</td></tr></table></td></tr></table>');
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/Javascript">
<!--
// Resize Forum Width
var newWidth = 695; // New Width
var secondWidth = Math.floor((25/23)*newWidth);
document.write("<div align='center'><div style='width: "+secondWidth+"px; margin-left: auto; margin-right: auto;' align='center'>");
document.body.getElementsByTagName("TABLE")[0].width = newWidth;
// -->
</script>
<script>
document.getElementsByTagName('table')[0].cellSpacing="0"
</script>
<script type="text/javascript">
<!--
/* move "Hey, X"above banner */
var iCell = document.getElementsByTagName("td");
iCell[1].lastChild.innerHTML = iCell[2].getElementsByTagName("font")[0].innerHTML;
iCell[2].style.display="none";
// -->
</script>
<script type="text/javascript">
/*
Simple PM bar above menus
Coded By Xylish/Popojoe/joe
Please do not post this code without permission from the original author!
[url]http://studiozero.proboards44.com[/url]
*/
//Set your classname for the pm bar
classname = "titlebg";
//Edit your welcome message within the double quotes
welcomemsg = "Welcome"
//Edit the postion of the pm bar: above or below
position = "below"
// -->
</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="200px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>
<!-- CUSTOM SIDE BOX #1 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="" target="_blank"><img src="http://i34.tinypic.com/35atyl1.jpg" border="0" alt="WELCOME"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
</td>
</tr>
<tr>
<td width="25%" class="windowbg2" vAlign="top" align="center">
<style="background-color: #FF0000;"><font size=2><div style="overflow:auto; height: 100px;"><font size=1> <font size=4><b>welcome!</b></font size><br>Pixie Dust is a brand new disney-based role playing site! We welcome one and all to come and check us out! Make sure to read our plot and rules, and see what characters are still free!
<form name="dropdown"><a href="" target="_blank"><img src="http://i37.tinypic.com/35bsefd.jpg" border="0" alt="QUICKLINKS!"></a>
<select name="menu">
<option value="URL">PLOT</option>
<option value="URL">RULES</option>
<option value="URL">APPLICATION</option>
<option value="URL">CLAIMS</option>
<option value="URL">CHARACTERS NEEDED</option>
<option value="URL">ADVERTISE</option>
</select>
<input type="button" onClick="location=document.dropdown.menu.options[document.dropdown.menu.selectedIndex].value;" value="GO">
</form>
<font size=2><b> <center><FORM>
<INPUT TYPE="button" VALUE="Add to Favorites" onClick='window.external.AddFavorite(location.href, document.title);'>
</FORM></center> </b></font>
</size>
</div><br></font></font></td>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #2 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"><a href="" target="_blank"><img src="http://i35.tinypic.com/2up91k9.jpg" border="0" alt="POPULATION"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<a href="" target="_blank"><img src="http://i34.tinypic.com/28tvw36.jpg" border="0" alt="THE POPULATION STATS"></a>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #3 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="" target="_blank"><img src="http://i36.tinypic.com/m9uo8y.jpg" border="0" alt="STAFF"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
<a href="" target="_blank"><img src="http://i38.tinypic.com/ziot1i.jpg" border="0" alt="ISA"></a>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #4 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="" target="_blank"><img src="http://i38.tinypic.com/1z6tus9.jpg" border="0" alt="CHATBOX"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="200" height="75" src="http://www7.cbox.ws/box/?boxid=90726&boxtag=r1llh0&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#00907A 1px solid;border-bottom:0px" id="cboxform"></iframe></div>
<div><iframe frameborder="0" width="200" height="245" src="http://www7.cbox.ws/box/?boxid=90726&boxtag=r1llh0&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#00907A 1px solid;" id="cboxmain"></iframe></div>
</div>
<!-- END CBOX --><br>
<a href="http://andwedieyoungtour.cbox.ws" target="_blank"><img src="http://i37.tinypic.com/10ia43b.jpg" border="0" alt="ICCB!"></a>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #5 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"><a href="" target="_blank"><img src="http://i37.tinypic.com/2h66fxf.jpg" border="0" alt="AWARDS"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<a href="" target="_blank"><img src="http://i33.tinypic.com/ru1av8.jpg" border="0" alt="WORKER OF THE MONTH"></a>
<br>
<a href="" target="_blank"><img src="http://i38.tinypic.com/nd4qhy.jpg" border="0" alt="COUPLE OF THE MONTH"></a>
<br>
<a href="" target="_blank"><img src="http://i38.tinypic.com/2eezpcp.jpg" border="0" alt="VILLAIN OF THE MONTH"></a>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #6 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"><a href="" target="_blank"><img src="http://i37.tinypic.com/1zxqsk2.jpg" border="0" alt="CREDITS"></a></td>
</tr>
<tr>
<td class="windowbg" align="center">
<a href="" target="_blank"><img src="http://i33.tinypic.com/23vlwfc.jpg" border="0" alt="THE FINAL CREDITS"></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 //-->
Global Footer
<script type="text/javascript">
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='690';
}
}
// -->
</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 = '690';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script type="text/javascript">
<!--
// Remove all icons from boards, sub-boards, and info center
// By Smangii
if(!location.href.match(/action/) || location.href.match(/action=home/)){
var TD = document.getElementsByTagName("td");
for(var i=0;i<TD.length;i++){
if(TD[i].className=="titlebg" && TD[i].innerHTML.match(/(Forum Name|Sub-Boards)/i)){
TD[i].colSpan="1"
}
if(TD[i].width=="66%" && TD[i].className=="windowbg2"){
TD[i-1].style.display = "none";
}
if(TD[i].width=="20" && TD[i].align=="center" && TD[i].className.match("windowbg")){
TD[i].style.display="none"
}}}
-->
</script>
<script type="text/javascript">
<!--
/* Remove avatar size limits for everyone by california */
var img=document.getElementsByTagName("img");
if(location.href.match(/=(display|viewprofile|search2|pmview|recent)/)){
for(i=0;i<img.length;i++){
if(img[i].alt=="[avatar]"){
var t=img[i].parentNode;
var s=t.innerHTML.replace(/width=.?\d+?.?/i,'');
t.innerHTML=s.replace(/height=.?\d+?.?/i,'');
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
/* avatar size limit by california */
var maxWidth=200;
var maxHeight=150;
var img=document.getElementsByTagName("img");
for(i=0;i<img.length;i++){
if(img[i].width>maxWidth && img[i].alt.match(/\[avatar\]/i)){
img[i].style.height=""+(img[i].height*maxWidth/img[i].width)+"px";
img[i].style.width=""+maxWidth+"px";
}
if(img[i].height>maxHeight && img[i].alt.match(/\[avatar\]/i)){
img[i].style.width=""+(img[i].width*maxHeight/img[i].height)+"px";
img[i].style.height=""+maxHeight+"px";
}
}
// -->
</script>
<script type="text/javascript">
/* Code Tag Modification by hpmad
Do not repost or claim as your own without permission
This header must remain intact */
var table = document.getElementsByTagName('table');
if(location.href.match(/action=(display|recent|pmview|search2)/i)){
for(i=0;i<table.length;i++){
if(table[i].className=='code'){
var codeArea = table[i].firstChild.firstChild.firstChild.firstChild.innerHTML;
codeArea = codeArea.replace(/&nb+sp;/gi,' ');
codeArea = codeArea.replace(/&a+mp;/gi,'&');
codeArea = codeArea.replace(/\t/gi,'&nsb+sp;&nb+sp; ')
codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n');
table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<font size="1"><b>Code:</b></font><br><center><form><textarea class="codeArea" style="font-size: 7pt;" readonly name="codeArea" cols="40" rows="5">'+codeArea+'</textarea><br><input type="button" value="Highlight Code" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</script>