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/
Menu Error pls help! - "Object Required"
-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
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!?

The only page where the error message does not come up is:
http://www.citytech.cuny.edu/new.html
what is going on!?


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
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
-
- Mega User
- Posts: 169
- Joined: Sun Oct 05, 2003 4:21 am
Hi Kevin...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
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...!
Hey,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
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