PDA

View Full Version : Error: in/active mouseover button script


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...

Mr J
10-09-2002, 02:51 PM
Need to see the scripts as well

jrmg
10-11-2002, 12:35 PM
Apologies - Here is the ../includes/domlib.js script...

jrmg
10-11-2002, 12:36 PM
BACK TO FRONT! Here is the donlib, the last file was the textbutton script.