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:40

Menu Error pls help! - "Object Required"


Poster: tepidarium
Dated: Thursday February 26 2004 - 22:30:02 GMT

Hi Folks,

I'm so close with this menu but just got a weird error message

Basically, after running the mouse over the menu I get the following error message (only checked in IE) -

"
line: 17
Char: 41
Error: Object Required
Code:0

I have no idea what this means...
here the url:
http://www.citytech.cuny.edu/sitemap2/


Poster: tepidarium
Dated: Thursday February 26 2004 - 22:46:04 GMT

I'm getting this error message on every sample page with the menu - even those where line 17 is different from each other.

The only page where the error message does not come up is:

http://www.citytech.cuny.edu/new.html

what is going on!? :x :x


Poster: Maz
Dated: Thursday February 26 2004 - 23:56:11 GMT

Works fine on the Mac, hmm, did you see that other post, did you just update IE security hole too?

maz


Poster: kevin3442
Dated: Friday February 27 2004 - 1:07:23 GMT

Hi tep,

On the pages that get the error, it's because you've loaded divhider.js, and it's trying to hide "div1" when you mouse over certain main menu selections (as defined in M_hideMenus at the top of divhider.js)... problem is that on those pahes, there's no div to hide. I.e., divhider.js is looking for the div you told it to hide, but that div does not exist on the page (hence, the missing object). I imagine you don't have a div1 on those pages because those pages don't use your flash scroller. Best solution: don't load divhider.js into pages that don't need to hide divs.

Hope that helps,

Kevin


Poster: tepidarium
Dated: Friday February 27 2004 - 16:22:27 GMT

kevin3442 wrote:
Hi tep,

On the pages that get the error, it's because you've loaded divhider.js, and it's trying to hide "div1" when you mouse over certain main menu selections (as defined in M_hideMenus at the top of divhider.js)... problem is that on those pahes, there's no div to hide. I.e., divhider.js is looking for the div you told it to hide, but that div does not exist on the page (hence, the missing object). I imagine you don't have a div1 on those pages because those pages don't use your flash scroller. Best solution: don't load divhider.js into pages that don't need to hide divs.

Hope that helps,

Kevin


Hi Kevin...
Yes that was it, I can't believe I didn't see that! Thanks again for all you help...you and the rest of the Milonic team have made it possible for us to implement the menu (finally) on our website. We are going to buy a professional license...I can't thank you enough...!


Poster: kevin3442
Dated: Friday February 27 2004 - 16:40:54 GMT

tepidarium wrote:
Thanks again for all you help...you and the rest of the Milonic team have made it possible for us to implement the menu

Hey,

You're welcome... glad we were able to get it to where you like it. I'm sure Andy will be pleased to know that you're going to buy a license, even though you're a .edu.

The site looks good by the way... even in NS4!

Kevin