Post by Jack of Bladez on Jul 25, 2005 20:44:52 GMT -8
Browser Type: Cross Browser
Preview: Here
Features:
-Welcome message that changes between a member and a guests [Welcome Guests changes to Welcome USERNAME]
-Current Date And Time
-Menu Bar with PM Included
-Menu Bar changes between Guests and Members [Members can view boards links such as calendar and PM while Guests can not]
-Cell Highlight
-Gradient Included
-Current Location
-VERY little editing, just two hex colors
Post In: Global Headers
Preview: Here
Features:
-Welcome message that changes between a member and a guests [Welcome Guests changes to Welcome USERNAME]
-Current Date And Time
-Menu Bar with PM Included
-Menu Bar changes between Guests and Members [Members can view boards links such as calendar and PM while Guests can not]
-Cell Highlight
-Gradient Included
-Current Location
-VERY little editing, just two hex colors
Post In: Global Headers
<script language="javascript">
//Zeno Info Table v1
//Created by Jack of Bladez and David aka HPmad
//Do not remove, repost, or claim as your own without permission
//http://z102designs.proboards34.com
//Edit settings below
var cellhighlight="#EEEEEE"; //Put your forum cell highlight here
var windowbg="#F6F6F6"; //Put your window background color here
//Do not edit below unless you know what to do
//Welcome message
var daWelcome = 'Welcome to your infomation box, Guest!';
var cell = document.getElementsByTagName("td");
if(cell[2].innerHTML.match(/Hey,\s(.+?),\syou\shave/i)){
daWelcome = 'Welcome to your information box, ' + RegExp.$1 + '!';
}
//Cell highlight
function highlight(cell){
cell.style.backgroundColor=cellhighlight;
}
function highlightOut(cell){
cell.style.backgroundColor=windowbg;
}
//Time
Stamp = new Date();
var Hours; var Mins; var Time;
Hours = Stamp.getHours();
if (Hours >= 12) { Time = " P.M."; }
else{ Time = " A.M."; }
if (Hours > 12) {Hours -= 12;}
if (Hours == 0) {Hours = 12;}
Mins = Stamp.getMinutes();
if (Mins < 10) {Mins = "0" + Mins;}
//URL Locator
var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
var url = location.href.substring(dir.length,location.href.length+1);
</script>
<center>
<table align="center" border="0" width="60%" cellspacing="0" cellpadding="0" class="bordercolor">
<tr><td>
<table cellpadding="0" cellspacing="1" border="0" width="100%"><tr>
<td class="titlebg" align="center" colspan="3">
<font size="2"><b>
<script language="javascript">
document.write(daWelcome);
</script></b>
</font>
</td>
<tr><td class="windowbg2" align="center" colspan="3" onMouseOver="highlight(this)" onMouseOut="highlightOut(this)">
<font size="1">
<script language="javascript">
document.write('<b>Todays Date: </b> ' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + ' <br> ');
document.write('<B>Todays Time:</b> ' + Hours + ":" + Mins + Time + '');
</script>
</font>
</td>
</tr>
<tr>
<td class="windowbg2" align="center" colspan="3" onMouseOver="highlight(this)" onMouseOut="highlightOut(this)">
<font size="1">
<script language="javascript">
if(cell[2].innerHTML.match(/Hey,\s(.+?),\syou\shave/i)){
document.write('<a href="?index.cgi">Home</a> | <a href="?action=pm">PMs</a> | <a href="http://help.proboards.com">Help</a> | <a href="?action=search">Search</a> | <a href="?action=members">Members</a> | <a href="?action=calendar">Calendar</a> | <a href="?action=viewprofile">Profile</a>');
}else{
document.write('<a href="?action=home">Home</a> | <a href="http://help.proboards.com">Help</a> | <a href="?action=search">Search</a> | <a href="?action=login">Login</a> | <a href="?action=register">Register</a>');
}
</script>
<tr>
<td class="windowbg2" align="center" colspan="3" onMouseOver="highlight(this)" onMouseOut="highlightOut(this)">
<script language="javascript">
document.write('You are currently at<b> ' + url + '</b>');
</script>
</td>
</tr>
</table>
</td>
</tr>
</center>