PDA

View Full Version : AnyLink JS Drop Down Menu v2.2 compatability issue with IE



nicho14
02-10-2011, 01:21 AM
1) Script Title:

AnyLink JS Drop Down Menu v2.2

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem:

Everything works great on Firefox, Chrome, Safari, but somehow not on (stupid mf$%&@ing:mad:) Internet Explorer. Here is my website that its installed on..

http://www.nicholasbivins.com

here is a copy of what IE 'error on page' said...

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; BRI/1; .NET4.0C; InfoPath.2; AskTbARS/5.9.1.14019)
Timestamp: Thu, 10 Feb 2011 01:18:46 UTC


Message: 'items[...].1' is null or not an object
Line: 168
Char: 3
Code: 0
URI: http://www.nicholasbivins.com/js/anylinkmenu.js

any help would be greatly appreciated. thanks,

Nick

azoomer
02-10-2011, 01:33 AM
Maybe it's the extra comma after the last image in this part of the script ( in menucontents.js)


var anylinkmenu5={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#DFFDF4', linktarget:''} //Second menu variable. Same precaution.
anylinkmenu5.items=[
["Current Portfolio", "http://www.nicholasbivins.com/currentportfolio.html"],
["Past Work", "http://www.nicholasbivins.com/pastwork.html"],
]

The red comma

nicho14
02-10-2011, 06:28 PM
yep, that was it. Thank you!!!:)