|
coding
May 26, 2010 16:42:30 GMT
Post by anna on May 26, 2010 16:42:30 GMT
<!-- border around forum by california --> <center style="width: 700px; margin: auto;"> <br />
<div style="width: 100%; background: #474646 url(URL OF BORDER IMAGE) repeat-y fixed top center;">
<script type="text/javascript"> <!-- document.getElementsByTagName('table')[0].cellSpacing = 0; //--> </script> <script type="text/javascript"> <!-- document.getElementsByTagName('td').item(2).style.display="none"; //--> </script> <script type="text/javascript"> <!-- document.getElementsByTagName('td').item(2).innerHTML = document.getElementsByTagName('td').item(2).innerHTML.split(/<br\s?\/?>/)[0]; //--> </script>
<!-- ===== 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='100%'; </script>
<style type="text/css"> #sidetables { width: 235px; margin-bottom: 20px; margin-right: 20px; } </style>
<table width="935px" align="center" cellpadding="0px" cellspacing="0px"> <tr> <td vAlign="top">
<!-- ===== WELCOME ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i39.tinypic.com/978zsx.png" /> </td></tr> <tr><td class="windowbg"><center> <form><select name="select" size="1" class="forminput" name="menu"onchange="location.href=(form.select.options[form.select.selectedIndex].value)"> <option value=''>save me from this nothing ive become.</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=3'>| P L O T |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=2'>| R U L E S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=claims'>| C L A I M S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=canon'>| C A N O N S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=advet'>| ADVERTISING |</option> </select></form></center>
</td></tr></table>
<!-- ===== SETTING ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i41.tinypic.com/iejwue.png" /> </td></tr> <tr><td class="windowbg"><center> <img src="http://i40.tinypic.com/33nungw.png" /> </center> </td></tr></table>
<!-- ===== CBOX ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i39.tinypic.com/10xaxl3.png" /> </td></tr> <tr><td class="windowbg"><center> <!-- BEGIN CBOX - www.cbox.ws - v001 --> <div id="cboxdiv" style="text-align: center; line-height: 0"> <div><iframe frameborder="0" width="230" height="425" src="http://www5.cbox.ws/box/?boxid=554028&boxtag=p6fpcr&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe></div> <div><iframe frameborder="0" width="230" height="75" src="http://www5.cbox.ws/box/?boxid=554028&boxtag=p6fpcr&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe></div> </div> <!-- END CBOX --> <BR> <a href="http://blcboxyeah.cbox.ws/">CLICK FOR THE IC-CBOX </a> </center> </td></tr></table>
<!-- ===== STAFF ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i40.tinypic.com/2qa1lyv.png" /> </td></tr> <tr><td class="windowbg"><center> <img src="http://i43.tinypic.com/2pyup2d.png" /> <form><select name="select" size="1" class="forminput" name="menu"onchange="location.href=(form.select.options[form.select.selectedIndex].value)"> <option value=''>*- take a dirty picture for me -* .</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=3'>*- COREY LEE VAISEY -*</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=2'>| RTBA|</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=claims'>| C L A I M S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=canon'>| C A N O N S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=advet'>| ADVERTISING |</option> </select></form>
<img src="http://i43.tinypic.com/dbts81.png" /> <form><select name="select" size="1" class="forminput" name="menu"onchange="location.href=(form.select.options[form.select.selectedIndex].value)"> <option value=''>*- creepin on the low low -* .</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=3'>*- UNITY LOLA GORMEZ -*</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=2'>| RTBA|</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=claims'>| C L A I M S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=canon'>| C A N O N S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=advet'>| ADVERTISING |</option> </select></form>
<img src="http://i44.tinypic.com/kcigpc.png" /> <form><select name="select" size="1" class="forminput" name="menu"onchange="location.href=(form.select.options[form.select.selectedIndex].value)"> <option value=''>*- lyrics lyrics lyrics lyrics -* .</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=3'>*- ELENA SOPHIA MCLAGGEN -*</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=2'>| RTBA|</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=claims'>| C L A I M S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=canon'>| C A N O N S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=advet'>| ADVERTISING |</option> </select></form>
<img src="http://i43.tinypic.com/11ajp1z.png" /> <form><select name="select" size="1" class="forminput" name="menu"onchange="location.href=(form.select.options[form.select.selectedIndex].value)"> <option value=''>*- just roaming for the moment-* .</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=3'>*- ELENA SOPHIA MCLAGGEN -*</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=general&action=display&thread=2'>| RTBA|</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=claims'>| C L A I M S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=canon'>| C A N O N S |</option> <option value='http://beautifulxliespp.proboards.com/index.cgi?board=advet'>| ADVERTISING |</option> </select></form> </center>
</td></tr></table>
<!-- ===== SPOTLIGHT ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i44.tinypic.com/14cxled.png" /> </td></tr> <tr><td class="windowbg"><center> <img src="http://i42.tinypic.com/27zae8h.png" /> <img src="http://i43.tinypic.com/5pmkux.png" /> <img src="http://i42.tinypic.com/11udij7.png" /> <img src="http://i39.tinypic.com/106ykk8.png" /> <img src="http://i41.tinypic.com/99om.png" />
</td></tr></table>
<!-- ===== AFFILIATES ===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i41.tinypic.com/rutxmw.png" /> </td></tr> <tr><td class="windowbg"><align="center">
</td></tr></table> <!-- ===== STAMP===== --> <table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1"> <tr><td align="center" class="titlebg"> <img src="http://i44.tinypic.com/11uvihl.png" /> </td></tr> <tr><td class="windowbg"><align="center">
</td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // --> </td><td align="center" vAlign="top" width="100%">
<div id="wel"></div> <script type="text/javascript"> <!-- var welcomeTable = document.getElementsByTagName("table").item(0); document.getElementById("wel").appendChild(welcomeTable); //--> </script>
<style type="text/css"> /* Set Size For Code Textarea */ .codeArea,.code{ width:300px; height:200px; } </style>
HEADER
|
|
|
coding
May 26, 2010 16:42:53 GMT
Post by anna on May 26, 2010 16:42:53 GMT
foooter
<!-- ===== START Smangii's {LEFT} Side Tables *REVISED* Global Footer ===== -->
<script type="text/javascript"> <!-- table = document.getElementsByTagName('table'); for(i = 0; i < table.length; i ++) { with(table[i]) { if(width == '92%') { width = '100%'; }}} //--> </script>
</td></tr></table>
<script type="text/javascript"> <!-- // Justify text in posts..
var jButton = 'http://i42.tinypic.com/beilvk.gif';
// Add button to posting page..
if(document.postForm) { var buttons = document.images; for(b=0; b<buttons.length; b++) { if(buttons[b].src.match('/right.gif')) { buttons = buttons[b+1].parentNode; break; }} var justifyButton = document.createElement('A'); justifyButton.setAttribute('href','javascript:add("[justify]","[/justify]")'); justifyButton.innerHTML = '<img src="'+jButton+'" border="0" alt="Justify">'; buttons.parentNode.insertBefore(justifyButton,buttons); }
// Find and justify text in posts...
if(!document.location.href.match(/action=headersfooters/)) { var posts = document.getElementsByTagName('td');
for(p=0; p<posts.length; p++) { if(((posts[p].vAlign == 'top' && posts[p].colSpan == '3') || (document.postForm && posts[p].width == '100%' && posts[p].className == 'windowbg2')) && posts[p].innerHTML.match(/\[justify\]/i)) { posts[p].innerHTML = posts[p].innerHTML.replace(/\[justify\]/ig,'<div align="justify">'); posts[p].innerHTML = posts[p].innerHTML.replace(/\[\/justify\]/ig,'</div>'); }}} // --> </script> <script type="text/javascript"> <!-- /* Posting/PM Word Count - created by Eton Bones */
//set to minimum word count needed in order to make a post //or set to 0 to disable word count enforcement. var wordCountLimit=0;
if(document.getElementsByName('message').length){ var __submitBtn,__wc,__msg __msg=document.getElementsByName('message')[0]; __submitBtn=document.getElementsByTagName('input'); for(var count=0;count<__submitBtn.length;count++){ if(__submitBtn[count].accessKey && __submitBtn[count].accessKey=='s'){__submitBtn=__submitBtn[count];break;} } if(typeof(__submitBtn.length)=="undefined"){ __btnText=__submitBtn.value; __wc=document.createElement('div'); __wc.id="wordcount"; __wc.appendChild(document.createTextNode('Word Count: ')); __wc.appendChild(document.createElement('span')); __submitBtn.parentNode.appendChild(__wc); count=__msg.value.match(/\b\w+\b/g); count=(count)?count.length:0; __wc.lastChild.innerHTML=count; if(count<wordCountLimit && !location.href.match(/ion=pmsend/)){__submitBtn.disabled=true;} if(document.addEventListener){ __msg.addEventListener("keyup",wordUp,false); __msg.addEventListener("input",wordUp,false); __msg.addEventListener("change",wordUp,false); }else if(document.attachEvent){ __msg.attachEvent("onpropertychange",wordUp); }else{ __msg.onkeyup=wordUp; __msg.onmouseup=wordUp; __msg.onchange=wordUp; } } }
function wordUp(event){ if(this.document){var thiss=event.srcElement;}else{var thiss=this;} var count=thiss.value.match(/\b\w+\b/g); count=(count)?count.length:0; if(count>=wordCountLimit && wordCountLimit >0 && __submitBtn.disabled){ __submitBtn.disabled=false; } __wc.lastChild.innerHTML=count;
} //--> </script>
<script type="text/javascript"> <!-- /* Color Bar (V2) by Todge Copyright © 2005 Please keep this header intact */
var newTR=document.createElement('TR'); var newTD=document.createElement('TD'); newTD.width='30%'; newTD.className='windowbg2'; newTD.innerHTML='<font size=2>Add Color:</font>'; newTR.appendChild(newTD); newTD=document.createElement('TD') newTD.width='70%'; newTD.className='windowbg2'; newTD.setAttribute('id','colorCell'); newTR.appendChild(newTD);
var TD = document.getElementsByTagName('TD');
for(nr=0; nr<TD.length; nr++) { var newRow=TD[nr].parentNode; if(TD[nr].width == '30%' && TD[nr].className == 'windowbg2' && TD[nr].innerHTML.match('Message:')) { newRow.parentNode.insertBefore(newTR,newRow); } }
function addHex(bgCol) { if(bgCol.match('#')) { hex=bgCol.split('#')[1]; } else { hexCode=new Array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'); bgCol=bgCol.split('(')[1].split(')')[0].split(',') var hex=hexCode[parseInt(bgCol[0]/16)]; hex+=hexCode[bgCol[0]-(parseInt(bgCol[0]/16)*16)]; hex+=hexCode[parseInt(bgCol[1]/16)]; hex+=hexCode[bgCol[1]-(parseInt(bgCol[1]/16)*16)]; hex+=hexCode[parseInt(bgCol[2]/16)]; hex+=hexCode[bgCol[2]-(parseInt(bgCol[2]/16)*16)]; } return hex; }
function createColorBar(red,green,blue) { var newMix=document.createElement('TD'); newMix.width="2"; newMix.height="20"; newMix.style.backgroundColor='rgb('+red+','+green+','+blue+')'; newMix.onmouseover=function(){document.getElementById('colornow').style.backgroundColor=this.style.backgroundColor;} newMix.onclick=function(){document.getElementById('colorchosen').style.backgroundColor=this.style.backgroundColor;} colorMix.appendChild(newMix) }
var hexColor; var Colors=document.getElementsByTagName('select'); for(c=0; c<Colors.length; c++) { if(Colors[c].name=='color') { var colorBar='<table cellpadding="0" cellspacing="0"><tr><td><table><tr><td id="colornow" width="20" height="20"></td></tr></table></td>'; colorBar+='<td><table><tr><td id="colorchosen" style="background-color: rgb(255,255,255); width="20" height="20"></td></tr></table></td>'; colorBar+='<td><table cellpadding="0" cellspacing="0" border="0"><tr id="colormix">'; colorBar+='</tr></table></td></tr></table>';
document.getElementById('colorCell').innerHTML = colorBar;
Colors[c].parentNode.removeChild(Colors[c]);
document.getElementById('colorchosen').onmouseover=function(){hexColor=addHex(this.style.backgroundColor);}
document.getElementById('colorchosen').innerHTML='<a href=javascript:add("[color="+hexColor+"]","[/color]")><img src="http://proboards8.com/boardimages/avatars/blank.gif" width="18" height="18" border="0" alt="[color]"></a>';
var colorMix=document.getElementById('colormix'); var mix=256; while(mix>-1) { createColorBar(mix,mix,mix); mix=mix-16; } while(mix<257) { createColorBar(mix,0,0) mix=mix+16; } mix=0; while(mix<257) { createColorBar(255,mix,0); mix=mix+16; } while(mix>-1) { createColorBar(mix,255,0); mix=mix-16; } while(mix<257) { createColorBar(0,255,mix); mix=mix+16; } while(mix>-1) { createColorBar(0,mix,255); mix=mix-16; } while(mix<257) { createColorBar(mix,0,255); mix=mix+16; } var mix=0; while(mix<257) { createColorBar(255,mix,255); mix=mix+16; } } } // --> </script>
<script type='text/javascript'> /* Go to your post after posting. created by CrAzY_J do not redistribute this code*/ if( this.location.href.match(/display&board=/) && document.referrer.match(/post/) ) { var Font = document.body.getElementsByTagName('font'); for( var f = Font.length-1 ; f > 0 ; f -- ) { if( Font[f].size == '1' && Font[f].firstChild && Font[f].firstChild.href && Font[f].firstChild.href.match(/action=gotopost/) && Font[f].firstChild.firstChild.data.match(/^Link\sto\sPost$/) ) { this.location = Font[f].firstChild.href; break; } }
} </script> <script type="text/javascript"> <!-- /* Align mini-profile */
var ialign="center";
var td=document.getElementsByTagName('td') for (m=0;m<td.length;m++) { if (td[m].className.match(/windowbg/i) && td[m].width=="20%"){ td[m].align=ialign; } } //--> </script> <script type="text/javascript"> <!-- /* change "karma" words by california */
var karmaReplace="Reputation"; var exaltReplace="Charm"; var smiteReplace="Curse";
var td=document.getElementsByTagName("td"); if(location.href.match(/action=(display|goto|viewprofile|search2|recent|pmview)/) || document.title.match(/\s-\sPreview/)){ for(i=0;i<td.length;i++){ if(td[i].width=="20%" && td[i].className.match(/windowbg/) && td[i].innerHTML.match(/Karma:/i) && !td[i].innerHTML.match(/\<input/i)){ var tempA=td[i].innerHTML.replace('Karma:',karmaReplace+':'); var tempB=tempA.replace('Exalt',exaltReplace); var tempC=tempB.replace('Smite',smiteReplace); td[i].innerHTML=tempC; } } } // --> </script> <script> /*Reflected Avatars Hosted by Wrighty Do Not Repost, Rip or Claim*/
document.write("<script src=http://iycatacombs.com/codes/wrightys/ref.js>"+"</"+"script>"); var av=document.getElementsByTagName('img'); for(i = 0 ; i < av.length ; i++){ if(av[i].alt == '[avatar]'){ av[i].className="reflect"; } } </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"> <!--
/*Profile Editable Karma and Post Money - By iAlex - Open Source*/
var iPerPost=5; //Money Per Post var iPerKarma=50; //Money Per Karma var iMoneySign="£"; //Money Symbol var iMoneyName="Galleons"; //Name of Money
if(document.modifyForm && document.modifyForm.customtitle){ var iCustom=document.modifyForm.customtitle; iCustomTr=iCustom.parentNode.parentNode.parentNode; var iPosts=document.modifyForm.posts.value; var iKarma=document.modifyForm.karma.value; var iMoney=iCustomTr.cloneNode(true); iMoney.childNodes[0].firstChild.innerHTML=iMoneyName; iMoney.childNodes[1].innerHTML='<input type="text" size="35" maxlength="30" id="iMonInp" disabled="true" value="'+((parseInt(iPosts)*parseInt(iPerPost))+(parseInt(iKarma)*parseInt(iPerKarma)))+'" /><b'+'r /><b'+'r /><div style="float: left;"><input type="text" size="5" maxlength="25" id="iAddInp" /><a onclick="javascript: iAddMoney(this)" style="cursor: pointer;">Add</a></div><div style="float: right;"><input type="text" size="5" maxlength="25" id="iMinusInp" /><a onclick="javascript: iAddMoney(this)" style="cursor: pointer;">Minus</a> &nb'+'sp; &nb'+'sp; </div>'; iMoney.childNodes[2].firstChild.innerHTML='This is the user\'s amount of '+iMoneyName+' that will be displayed in their mini profile. Use the functions on the left to alter the amount.'; iCustomTr.parentNode.insertBefore(iMoney, iCustomTr.nextSibling); var iMonInp=document.getElementById('iMonInp'); iHoldChange=0; if(iCustom.value.match(/\[M0n:NaN\]/)){ iCustom.value=iCustom.value.replace(/\[M0n:NaN\]/g, ''); } if(iCustom.value.match(/\[M0n:(.+?)\]/)){ iHoldChange=RegExp.$1; iMonInp.value=parseInt(RegExp.$1)+parseInt(iMonInp.value); iCustom.value=iCustom.value.replace(/\[M0n:(.+?)\]/g, ''); } if(document.addEventListener){ document.modifyForm.addEventListener('submit', iSaveMoney, false); document.modifyForm.posts.addEventListener('keyup', function(){ iMonInp.value= (parseInt(iHoldChange) + (this.value*iPerPost) + (parseInt(document.modifyForm.karma.value*iPerKarma))); }, false); document.modifyForm.karma.addEventListener('keyup', function(){ iMonInp.value = (parseInt(iHoldChange) + (this.value*iPerKarma) + (parseInt(document.modifyForm.posts.value*iPerPost))); }, false); } else{ document.modifyForm.attachEvent('onsubmit', iSaveMoney); document.modifyForm.posts.attachEvent('onkeyup', function(){ iMonInp.value = parseInt(iHoldChange) + (document.modifyForm.posts.value*iPerPost) + (parseInt(document.modifyForm.karma.value*iPerKarma)); }); document.modifyForm.karma.attachEvent('onkeyup', function(){ iMonInp.value = parseInt(iHoldChange) + (document.modifyForm.posts.value*iPerPost) + (parseInt(document.modifyForm.karma.value*iPerKarma)); }); } } function iSaveMoney(){ var iCustom=document.modifyForm.customtitle; var iMonInp=document.getElementById('iMonInp').value; var iPosts=document.modifyForm.posts.value; var iKarma=document.modifyForm.karma.value; var iKDefault=iPerKarma*iKarma; var iPDefault=iPerPost*iPosts; var iDefault=parseInt(iKDefault)+parseInt(iPDefault); if(iDefault!=iMonInp && !iMonInp.match(/NaN/)){ iAddition=parseInt(iMonInp)-parseInt(iDefault); iCustom.value=iCustom.value+'[M0n:'+iAddition+']'; } } function iAddMoney(iLink){ var iMonInp=document.getElementById('iMonInp'); iSum=iMonInp.value; var iPrev=iLink.previousSibling; if(!iPrev.value.match(/^(\d+)$/)){ alert('Please only insert numerals.'); } else if(iLink.innerHTML=="Add" && iPrev.value.match(/^(\d+)$/)){ iSum=parseInt(iMonInp.value)+parseInt(RegExp.$1); iHoldChange=parseInt(iHoldChange)+parseInt(RegExp.$1); } else if(iLink.innerHTML=="Minus" && iPrev.value.match(/^(\d+)$/)){ iSum=parseInt(iMonInp.value)-parseInt(RegExp.$1); iHoldChange=parseInt(iHoldChange)-parseInt(RegExp.$1); } iPrev.value=''; iMonInp.value=iSum; } if(location.href.match(/action=(display|viewprofile|(user)?recent|(calendar|pm)view|search2)/) || location.href.match(/index.cgi$/) && document.title.match(/Preview/) && document.postForm){ var iTd=document.getElementsByTagName('td'); var i=iTd.length; while(--i){ if(iTd.item(i).width=="20%" && iTd.item(i).className.match(/windowbg(2)?/) && iTd.item(i).vAlign=="top" && iTd.item(i).innerHTML.match(/Posts:\s(.+?)<br\s?\/?>/i)){ var iAddIt=(iTd.item(i).innerHTML.match(/\[M0n:(.+?)\]/))? RegExp.$1 : '0'; var iPost=(iTd.item(i).innerHTML.match(/Posts:\s(.+?)<br\s?\/?>/i))? RegExp.$1.replace(/,/g, '')*iPerPost : ''; var iKarma=(iTd.item(i).innerHTML.match(/Karma:\s(.+?)(<br\s?\/?>|$)/i))? RegExp.$1.replace(/,/g, '')*iPerKarma: ''; var iMonSpan=document.createElement('span'); iMonSpan.innerHTML='<b'+'r />'+iMoneyName+': '+iMoneySign+(parseInt(iAddIt)+(iPost)+(iKarma)); iTd.item(i).appendChild(iMonSpan); iTd.item(i).innerHTML=iTd.item(i).innerHTML.replace(/(<br\s?\/?>)?\[M0n:(.+?)\]/gi, ''); } } }
//--> </script>
</div>
</center>
<script type="text/javascript"> <!-- /* inner table width resize */
var innerTableWidth = "650";
var iTable = document.getElementsByTagName("table"); for(t=4; t<iTable.length; t++){ if(iTable[t].width == "92%"){ iTable[t].width = innerTableWidth; } }
// --> </script>
<script type="text/javascript"> <!-- var i = document.getElementsByTagName('i'); for(t=0; t<i.length; t++) if(i[t].innerHTML == 'Last Edit:') i[t].parentNode.style.display = 'none'; //--> </script> <style type="text/css"> .codeArea { border: 1px solid black; } </style>
<script type="text/javascript"> /* Code Tag Modification by hpmad Do not repost or claim without permission from creator For more codes like this one go to: http://talkpark.proboards.com */
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,'&nb+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: 8pt;" readonly name="codeArea" cols="70" rows="10">'+codeArea+'</textarea><br><input type="button" value="Highlight Code" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>'; i--; } } } </script>
|
|
|
coding
May 26, 2010 16:44:04 GMT
Post by anna on May 26, 2010 16:44:04 GMT
MAIN FOOT
<script type="text/javascript"> <!--
/* ProBattles User Legend by hpmad Do not repost or claim without permission from creator For more codes like this one go to: http:// */
var tehName = 'User Legend'; //text displayed under legend var borderCol = '000000'; //button border color var space = '1px'; //space between each button var tehWidth = '10px'; //button width var tehHeight = '10px'; //button height var ulWidth = '20%'; //users legend area width
//['Rank Name','Rank Color'], omit comma on last line var tehRanks = [ ['ADMIN','D223A9'], ['CO-ADMIN','4B46CF'], ['GRYFFINDOR','D2234C'], ['HUFFLEPUFF','CCD223'], ['SLYTHERIN','23D252'], ['RAVENCLAW','238CD2'], ['ADULT','CCCC99'], ['HOGWARTS STAFF','D29723'], ['DEATH EATER','D25D23'], ['INACTIVE','000000'], ['NEW MEMBER','a5adaf'] ];
//no need to edit anymore function userLegend(rank){ document.getElementById('userL').innerHTML = '<b>'+rank+'</b>'; } function removeLegend(){ document.getElementById('userL').innerHTML = '<br />'; }
var td = document.getElementsByTagName('td'); for(i=0;i<td.length;i++){ if(td[i].className=='catbg' && td[i].colSpan=='2' && td[i].innerHTML.match(/>Users Online</i)){ var x = '<table align="center" cellpadding="3" width="98%"><tr><td align="left" valign="top">'+td[i+4].firstChild.firstChild.firstChild.firstChild.innerHTML+'</td><td width="'+ulWidth+'"><div align="right" id="userL"><br /></div><table width="auto" cellspacing="0" cellpadding="'+space+'"><tr>'; for(t=0;t<tehRanks.length;t++) x += '<td><div style="width: '+tehWidth+'; height: '+tehHeight+'; border: 1px solid #'+borderCol+'; float: left; background-color: #'+tehRanks[t][1]+';" onmouseover="userLegend(\''+tehRanks[t][0]+'\');" onmouseout="removeLegend()"></div></td>'; x += '</tr></table><b>'+tehName+'</b></td></tr></table>'; td[i+4].innerHTML = x; } }
//--> </script>
<script type="text/javascript"> <!--
/*Alphabetize Active Users in the past 24 Hour - By iAlex - Open Source*/
var iAlpha_Object={ iAlpha_Locate: function(){ if(window.location.href.match(/action=home/) || !window.location.href.match(/action/) && !document.postForm && !document.modifyForm && !document.title.match(/\s-\sLogin/)){ this.iAlpha_Execute(); } }, iAlpha_Execute: function(){ var iTd=document.getElementsByTagName('td'); var i=iTd.length-1; do{ if(iTd.item(i).className=="catbg" && iTd.item(i).colSpan=="2" && iTd.item(i).innerHTML.match(/>Active Users In The Past 24 Hours</) && !iTd.item(i).parentNode.nextSibling.firstChild.nextSibling.innerHTML.match(/<br\s?\/?>Hidden<\/fo/i)){ var iActive_Font = iTd.item(i).parentNode.nextSibling.firstChild.nextSibling.getElementsByTagName('font').item(0); var iUser_Link=iActive_Font.getElementsByTagName('a'); var iStart_Loop=(iUser_Link.item(0).className)? 0 : 1; iUser_Array=[]; var a=iUser_Link.length-1; do{ var iSpan_Hold=document.createElement('span'); iSpan_Hold.appendChild(iUser_Link.item(a).cloneNode(true)); iUser_Array.push(iSpan_Hold.innerHTML); a--; } while(a>=iStart_Loop); iUser_Array=iUser_Array.sort(function(iCheck, iCheck2){ var iFirst=((iCheck.toLowerCase()).toString()).replace(/^<a(.+?)>/i, '').replace(/<\/a>$/i, ''); var iSecond=((iCheck2.toLowerCase()).toString()).replace(/^<a(.+?)>/i, '').replace(/<\/a>$/i, ''); if(iFirst>iSecond){ return 1; } if(iFirst<iSecond){ return -1; } return 0; }); iActive_Font.innerHTML=iActive_Font.innerHTML.replace(/^(.+?)<br\s?\/?>(.+?)$/i, '$1<b'+'r/>'+iUser_Array.join(', ')); break; } i--; } while(i>10); } }; iAlpha_Object.iAlpha_Locate();
//--> </script>
|
|