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

dynamic menu creation with js works in ie7 but not ie6


Poster: tmakaro
Dated: Wednesday February 14 2007 - 21:57:59 GMT

Hi I am getting the following error in ie6 while ie7 and firefox works fine. Please help.

Line: 21
Char: 28995
Error: Object required
Code: 0
URL: http://www.makaro.com/milonic/test.html

Try it for yourself at: http://www.makaro.com/milonic/test.html
just hover over a menu using ie6 and the javascript error should appear.

Troy


Poster: Andy
Dated: Thursday February 15 2007 - 11:09:44 GMT

Hi,

The latest version of the menu should have a fix for the IE6 error.

You are also running Pre Release so that will need updating


Poster: John
Dated: Thursday February 15 2007 - 14:41:44 GMT

The current version of the menu is 5.770, with 5.771 on deck. You'll need to be at 5.770 for any further assistance in the forum.


Poster: tmakaro
Dated: Thursday March 15 2007 - 23:07:50 GMT

Wow, its taken exactly one month to get the company I work for to renew our subscription. I now have the newest version and the javascript error is gone but it still doesn't work.

Take a look at http://www.makaro.com/milonic/test.html
Hover over submenu1 and you will see the first menu option is 'google'. If you click the google option it should take you to the google main web page. It does for ie7 and firefox but not ie6.

In test.html you will see a clickit function that has in it:
window.location = "http://www.google.com";

now strangely if I put an alert("got here"); before or after the window.location code, it starts working in ie6???

Troy


Poster: tmakaro
Dated: Monday March 19 2007 - 13:43:12 GMT

Its been 4 days now without a response. I'm sure you guys are busy but are you at least aware of this problem I am having? It's holding up our release.


Poster: Andy
Dated: Monday March 19 2007 - 14:20:34 GMT

Why can't you just use the menus's ability to link to urls, using the url= property?

Seems very odd that you would go to the trouble to create a function to do the same thing.

Try changing this:

Code:
aI( "text=Google;windowTarget=www.google.com;windowType=thisWindow;windowWidth=800;windowHeight=600;clickfunction=clickit();" )


To this:

Code:
aI( "text=Google;target=google;targetfeatures=width=800,height=600;url=http://www.google.com )


Poster: tmakaro
Dated: Monday March 19 2007 - 18:01:16 GMT

Granted the example I gave you was very simple and does not need to use clickFunction. There are however reasons to use the clickFunction sometimes.

I think I can work around this problem by using your suggestion for some of the links. I will let you know how it goes. Thanks