Menu Error pls help! - "Object Required"

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Menu Error pls help! - "Object Required"

Post by tepidarium »

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/
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Post by tepidarium »

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
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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

maz
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Post by tepidarium »

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...!
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
Post Reply