PDA

View Full Version : error with ScriptBreaker nav


webmarkart
02-06-2003, 03:08 AM
I am using a nav system from Scriptbreaker dot com for a not-for-profit site that i am developing and everytime the page loads I get the folloring error:

Line:24
Char:3
Error: '7' is not an object

The nav still works in spite of the error. What confuses me is that if I refresh my browser the error disappears and does not come back. I have already emailed the author of the script but I have not received a response. I'm guessing that part of the two external js files are loading too late and once I refresh they are then cached thus eliminating the error. I have tried to call the script from an onLoad, but that didnt work either so I switched it back to the way that the original script was coded...

Any help would be appreciated!

www.webmarkart.com/licf

------------------------------------------------------------------
I dont get it... I just clicked on the link from above and I dont get the error!!!?? Does anyone get this error?

cg9com
02-06-2003, 07:17 PM
Originally posted by webmarkart

I dont get it... I just clicked on the link from above and I dont get the error!!!?? Does anyone get this error?
i got it, even when refreshed, ie6win

RoyW
02-06-2003, 09:26 PM
['Resources',null,'_top','white','#A5222B','#A5222B','C3B88D',[
['FAQs','index.html','_self','#173838','#C3B88D','#FFFFFF','C3B88D],
['Useful Links','index.html','_self','#173838','#C3B88D','#FFFFFF','C3B88D'],
['Resource Maps','index.html','_self','#173838','#C3B88D','#FFFFFF','C3B88D']
]],

];

in the file ScriptBreaker_items.js remove that last comma shown in red above.

webmarkart
02-08-2003, 05:12 AM
You kick ***, thanks!! I knew it was something simple but I just couldn't find it. Thanks for taking the time to troubleshoot for me.

Mhtml
02-08-2003, 02:23 PM
Nice site. :)

webmarkart
02-08-2003, 02:52 PM
thanks

Graeme Hackston
02-08-2003, 05:57 PM
FYI, I'm getting cursor: text on every menu heading but "Home" and "About Us" in Mozilla 1.0, Win98