Click to See Complete Forum and Search --> : Object required


Soccervation
04-29-2003, 11:26 AM
I have used a collapsible side menu at www.baalpe.org which works fine in the Mac environment but, in windows, I get a page error message that says: Line: 141, Char: 1, Error: Object required and Code:0.

Line 141 itself reads: document.all(ttls[i]).style.pixelTop +=move;

Please help this absolute java novice!! The menu actually works but this error message keeps getting reported to me so I wish to resolve.

Thank you

Nevermore
04-29-2003, 12:35 PM
because you have used document.all, your navigation is IE-only. It also requires the IE to have JavaScript. A while ago a made a collapsible menu with JavaScript which should be pretty accessible. Menu (http://members.lycos.co.uk/cijori/index1.php)
I will see if I can solve your problem.

Soccervation
04-30-2003, 03:27 AM
Thank you for your kind and prompt reply.

The error message is shown when using the IE browser, but id does not feature on all PCs and never on Macs. Could it be due to users having an older IE browser?

Thanks.

David
P.S. If you do have a cross browser collapsible vertical menu script, I would be very grateful to receive it.