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
dynamic menu creation with js works in ie7 but not ie6
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
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
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:
To this:
Seems very odd that you would go to the trouble to create a function to do the same thing.
Try changing this:
Code: Select all
aI( "text=Google;windowTarget=www.google.com;windowType=thisWindow;windowWidth=800;windowHeight=600;clickfunction=clickit();" )
Code: Select all
aI( "text=Google;target=google;targetfeatures=width=800,height=600;url=http://www.google.com )