home.php :
<script>
<!--
var content=new Array()
content[0]='<b>Provides access to FI2010 news inckuding lastest project "Hot Topics", new software/documentation release dats, current project status, etc.</b>'
content[1]='<b>Provides access to FI2010 Briefings, Tools, Training documents repository</b>'
content[2]='<b>Provides appropriate contact info (Email addresses) for FI2010, TENA, and Website related questions</b>'
content[3]='<b>Info on attending/holding TENA training courses and AMT (Architecture Management Team) meetings</b>'
content[4]='<b>Access to download area for actual Tena Middleware for all supported operating systems</b>'
content[5]='<b>Link to Helpdesk for asking questions about Middleware, Object Model Development, Website, etc.</b>'
content[6]='<b>Repository of old Helpdesk questions/answers</b>'
content[7]='<b>Join/Parse/Use this forum to pose questions about the TENA Middleware to other users and developers</b>'
content[8]='<b>Submit your Object Model for verification and actual corresponding building of TENA application distribution for your target Operating System(s)</b>'
content[9]='<b>Repository of the TENA Object Model Team\'s Candidate Object Models suitable for reuse in your range-specific object model designs</b>'
content[10]='<b>Search existing database of all previously submitted Object models by those in your group</b>'
content[11]='<b>Same as above except replace Middleware with Object Model</b>'
content[12]='<b>Read White paper on Object Oriented Design and the difference between Inheritance and Compostion - topics critical to TENA OM design</b>'
content[13]='<b>Change your account settings, password, contact, info, etc.</b>'
content[14]='<b>Use to report problems/bugs and suggest improvements.</b>'
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}
function changetext(whichcontent){
if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
}
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
document.d1.document.d2.document.close()
}
}
function appear(){
document.d1.visibility='show'
}
window.onload=regenerate2
//-->
</script>
Also in home.php where the code should display:
<div id="tooltips">
<ilayer id="d1"visibility="hide">
<layer id="d2">
<div id="descriptions" align="left">
</div>
</layer>
</ilayer>
</div>
Then, my links.inc file:
<?
$script = $_SERVER['SCRIPT_FILENAME']; // GETS FILE NAME
?>
<a href="latestinfo.php" <?if ($script == '/home.php') {echo "onMouseover=\"changetext(content[0])\"";}?>> • Latest Information</a><br>