Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13

object expected

Poster: bozobobby
Dated: Monday September 8 2003 - 21:31:53 BST

I am successfully using the v. 3 Milonic menu at

I am testing conversion to v.5, and I can't get it to display. The test file is

Instead of displaying the menu, the page generates this error message:

Line 29
Char 1753
Error: object expected

I assume the error refers to something in ... nic_src.js
but what object is expected?

Fee free to look in

menu_data.js is built from a v.3 conversion. The scriptpath correct.

Thanks for any advice.

Bob Sprague

Poster: John
Dated: Monday September 8 2003 - 22:29:39 BST

Actually the scriptpath is not correct. You have...

That leading / is the bugger.

You can actually use...

Poster: John
Dated: Monday September 8 2003 - 22:37:48 BST

Also, in your menu_data.js, you have the following at the beginning...

...and you have it again at the end, with slightly different values.

In addition, you have drawMenus(); twice.

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
effect="Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
effect="Shadow(color='#777777', Direction=135, Strength=5)"

...looks like it came out of v3.