Post by slimthug on Jul 4, 2006 18:59:19 GMT
this is my first code.
Board Headers
board footers
Board Headers
<style type="text/css">
.staff {
position:absolute;
left:0px;
top:300px;
width:100%;
height:500px;
visibility: hidden;
}
.Application1 {
visibility: hidden;
}
</style>
<!--
Concept by SlimThug
Created by SlimThug
http://extremegraphic.proboards107.com/index.cgi
-->
<div class="Application" width="100%" align="center" id="Application">
<div style="valign: middle; padding:5px; width:92%; height: 100%; ;" width="92%" height="100%" align="center" valign="middle"><br />
<table class="bordercolor" align="center" valign="middle" cellspacing="1" cellpadding="4">
<tr>
<td class="titlebg">
<b>Staff Application:</b>
</td>
</tr>
<tr>
<td class="windowbg">
<b>Make sure you have read the following before applying:</b><br />
<li>once finished i will decide if you get the spot.</li><br /><br />
</td>
</tr>
<tr>
<td class="catbg">
<b>Staff Application</b>
</td>
</tr>
<tr>
<td class="windowbg">
<form name="Application">
Please fill out the entire form:<br />
<b>What position would you like to be?</b><br />
<input type="checkbox" name="Co-admin" value="1" /> Co-admin<br />
<input type="checkbox" name="Global Moderator" value="1" /> Global Moderator<br />
<input type="checkbox" name="Moderator" value="1" /> Moderator<br />
<input type="checkbox" name="GFX Designer" value="1" /> GFX Designer<br />
Why should you get the staff spot?:<br />
<input name="subject" value="" size="30"/><br /><br />
if you would like to have a custom staff spot, please tell us what name you would like it to be:<br />
<input name="subject" value="" size="30"/><br /><br />
<input type="button" value="Apply" onclick="javascript:doit();" width="20" />
</form>
</td>
</tr>
</table>
</div>
</div>
<script>
if (location.href.indexOf("action=post") != -1 && location.href.indexOf("thread=") == -1)
{
document.getElementById('Application').style.visibility="visible";
document.getElementById('Application').style.display = "";
document.write('<div class="Application1" width="100%" align="center" id="Application1">');
}
</script>
board footers
<script type="text/javascript">
// Concept by SlimThug
// Created by SlimThug
// http://extremegraphic.proboards107.com/index.cgi
function stoperror(){
return true
}
window.onerror=stoperror
if(document.postForm && location.href.match(/action=post$/))
document.postForm.message.value = '[b]What board would you like to moderate? (in pixels please):[/b] \n\n[b]Colors:[/b] \n\n[b]Font:[/b] \n\n[b]Text:[/b] \n\n[b]Would you like a custome title as well?:[/b] \n\n';
if (location.href.indexOf("action=post") != -1 && location.href.indexOf("thread=") == -1)
{
document.write('</div>');
document.getElementById('Application').style.visibility="visible";
document.getElementById('Application').style.display = "";
} else {
document.getElementById('Application1').style.visibility="visible";
document.getElementById('Application1').style.display = "";
}
function doit()
{
document.getElementById('Application').style.visibility="hidden";
document.getElementById('Application').style.display = "none";
document.getElementById('Application1').style.visibility="visible";
document.getElementById('Application1').style.display = "";
if (document.Staffform.Moderator.checked)
{
document.Staffform.subject.value = "Moderator - " + document.Staffform.subject.value;
}
if (document.Staffform.Global Moderator.checked)
{
document.Staffform.subject.value = "Global Moderator - " + document.Staffform.subject.value;
}
if (document.Staffform.Co-admin.checked)
{
document.Staffform.subject.value = "Co-admin - " + document.staffform.subject.value;
}
if (document.Staffform.GFX Designer.checked)
{
document.Staffform.subject.value = "GFX Designer - " + document.Staffform.subject.value;
}
document.StaffForm.subject.value = document.Staffform.subject.value;
}
</script>