PDA

View Full Version : Runtine error on page



webdesg
06-21-2006, 03:36 AM
Here is the link http://www.fortbend.k12.tx.us/test.cfm
Everything seems to work fine except the runtime error. Please help!

jscheuer1
06-21-2006, 05:01 AM
<body topmargin="1" leftmargin="2px" onLoad="window.setTimeout('cycle();',7000);(loadbanners());(urlswitch());" bgcolor="#FFFFFF">

Error: loadbanners is not defined
Source File: http://www.fortbend.k12.tx.us/test.cfm

Error: cycle is not defined
Source File: http://www.fortbend.k12.tx.us/test.cfm

Since these are not defined and things 'work', they are probably left over from code you no longer use on the page. Try changing the body tag to:


<body topmargin="1" leftmargin="2px" onLoad="urlswitch();" bgcolor="#FFFFFF">

But, I think you will find that urlswitch is not defined either, so try:


<body topmargin="1" leftmargin="2px" bgcolor="#FFFFFF">