jrmg
10-09-2002, 11:41 AM
I have this script for the page link buttons (home, about us etc) for a number of 'template' websites - I use CSS changes to the colour combinations. Unfortunately, the code is returning the following error:
Line: 5
Char: 2
Error: 'target manager' is null or not an object
It used to work, so I think it may be a simple error brought about by playing with the code.
Any thoughts on what the error is - I have tried every option I know (full code attached). Thanks.
<html>
<head>
<script language="Javascript" src="../includes/domlib.js"></script>
<script language="Javascript" src="../includes/textbutton.js"></script>
<!--Button1 s-->
<script language="Javascript">
onload=function() {
myButton1 = new textButton('button1','activeButton',"#00BFE1", "#c0c0c0","#c0c0ee","home.php");
myButton2 = new textButton('button2','activeButton',"#00BFE1", "#c0c0c0","#c0c0ee","search.php");
myButton3 = new textB...
Line: 5
Char: 2
Error: 'target manager' is null or not an object
It used to work, so I think it may be a simple error brought about by playing with the code.
Any thoughts on what the error is - I have tried every option I know (full code attached). Thanks.
<html>
<head>
<script language="Javascript" src="../includes/domlib.js"></script>
<script language="Javascript" src="../includes/textbutton.js"></script>
<!--Button1 s-->
<script language="Javascript">
onload=function() {
myButton1 = new textButton('button1','activeButton',"#00BFE1", "#c0c0c0","#c0c0ee","home.php");
myButton2 = new textButton('button2','activeButton',"#00BFE1", "#c0c0c0","#c0c0ee","search.php");
myButton3 = new textB...