Devin
Junior Member
Posts: 430
inherit
48305
0
May 3, 2012 6:18:38 GMT -8
Devin
430
June 2005
emphy
|
Post by Devin on Dec 9, 2005 16:35:21 GMT -8
Global Headers <script type="text/javascript"> /* Scripting done by Tex (R) AKA .FoCuS Copyright (C) Emphy Designs All Rights Reserved */
// Variables
var myName="Message Board"; // Place your Board Title here
// First Status
controlBar = document.getElementsByTagName('table')[0].insertRow(1).insertCell(0); controlBar.className='windowbg2'
text = document.getElementsByTagName('td')[2].getElementsByTagName('font')[0].innerHTML text=text.replace(/Hey (.+?), you have (.+?) message/gi,'hey (.+?)') imdate = text.split(/<br>/i) controlBar.innerHTML='<table width="100%"><tr><td>'+imdate[0]+'</td><td align="right">'+imdate[1]+'</td></tr></table>'
document.getElementsByTagName('tr')[1].getElementsByTagName('td')[1].style.display='none' document.getElementsByTagName('font')[1].style.display='none'
// Second Status
controlBar2 = document.getElementsByTagName('table')[1].insertRow(1).insertCell(0); controlBar2.className='windowbg2'
text = document.getElementsByTagName('td')[2].getElementsByTagName('font')[0].innerHTML controlBar2.innerHTML='<table width="100%"><tr><td>Welcome to '+myName+'... Please enjoy your stay</td><td align="right"><a href="/index.cgi?action=calendar">View All Events</a></td></tr></table>'
</script>
Preview: hprpgorder.proboards76.com/index.cgiThis code adds 2 bars above your menu. To edit just look at the variables. All Support Questions should go to the Support board or HereEnjoy!
|
|