The following code works in IE but not in FireFox.
See:
http://www.patrickwmoore.com/index2.php?c=2
JAVASCRIPT
:
PHP Code:
var titleText=new Array();
var objText=new Array();
titleText[0]="<B>Hervey Bay Homes</B> - Web Site Development";
titleText[1]="<B>Linn Winkle</B> - Web Site Development";
titleText[2]="<B>Mix Tape Hut</B> - Web Site Development";
titleText[3]="<B>PHPfx</B> - Web Site Development";
titleText[4]="<B>Vista Di Duluth</B> - Web Site Development";
objText[0]="<B>Objective:</B> To design a professional and easily updated web site with a relaxed tone.";
objText[1]="<B>Objective:</B> To design a web site showcasing the artists' creative abilities in a new-age manner.";
objText[2]="<B>Objective:</B> To design a web site with a punk/rap appeal in order to sell web site memberships.";
objText[3]="<B>Objective:</B> To design a professional web site catering to clients in need of PHP development.";
objText[4]="<B>Objective:</B> To design and develop an artistic web site with an Italian flavor.";
function show_text(thetext){
document.getElementById("pfTitle").innerHTML=titleText[thetext];
document.getElementById("pfObjective").innerHTML=objText[thetext];
}
ON THE PAGE:
PHP Code:
<span id="pfTitle"><B>Hervey Bay Homes</B> - Web Site Development</span>
<BR><span id="pfObjective"><B>Objective:</B> To design a professional and easily updated web site with a relaxed tone.</span>