PDA

View Full Version : IE Error when implementing anylinkcssmenu.js



abqdesign
01-06-2010, 04:52 PM
1) Script Title: anylinkcssmenu.js

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm

3) Describe problem:

Dropdown menu works perfectly on Windows and Mac Firefox, and Mac Safari, but I am getting the following error in IE:

Object doesn't support this property or method
anylinkcssmenu.js
Line:150
Char: 3
Code:0

When I checked line 150, it is this:
var target=targetarr.shift()

Please help! Thanks!

jscheuer1
01-06-2010, 05:40 PM
IE Mac? Forget about it. I don't think anyone will support that browser any longer. If you mean IE 7 or 8 under Windows, give us a link to your page that gives this error, we can probably figure it out.


The demo page on DD works fine in IE BTW.

abqdesign
01-06-2010, 07:23 PM
Sorry for not being more clear; I meant Windows IE, not Mac IE.

And unfortunately the development site is password-protected and not something I can share.

So this is not an error that anyone is familiar with?

Thanks in advance for any assistance.

abqdesign
01-06-2010, 07:46 PM
One more note about this; I tried to post a version outside of the dev environment to try to recreate the error to get feedback. But the error does not occur on this sample; something to do with integration with the enterprise portal system we are working with.

molendijk
01-06-2010, 11:47 PM
The problem may be caused by the fact that anylinkcssmenu.init("anchorclass") is not in anylinkcssmenu.js itself. For a similar problematic case, see here (http://www.let.rug.nl/molendyk/include_menu12_with_object/anylink_page1.html) ('notes').
===
Arie Molendijk.