Forums Archive Index > SmartMenus 5 > Smartmenu setup doesn't function properly in IE
Date: 22 Apr 2005 10:55 am
Hello,
I am testing the smartmenu as an alternative navigation option on a webpage I am updating. I have a test page up with SmartMenus installed -- However, it doesn't work properly in IE 6.0, 5.5sp1, 5.0. It only works properly Firefox, Opera and Safari.
The link to the test page is: --> http://www.lymanbriggs.msu.edu/index_test.php
Javascript error on line: if(window.event+''=='undefined')event=0
Error: s_[...].0 is null or not an object
Any help would be greatly appreciated...especially since a fair majority of our incoming users visit with an IE based browser.
Thanks in advance,
Andrew
Date: 22 Apr 2005 2:46 pm
You have used a comma symbol after the last menu item in the definition for the "search" menu. This is incorrect syntax and that's why IE has problems with your setup. Please delete the comma and it should work correctly.
. . .
{Show:'lbslinks',U:'#',T:'LBS Links',S:'LBS Links',SeparatorSize:1},
{Show:'employment',U:'#',T:'Employment',S:'Student Employment',SeparatorSize:1}, // delete this comma
]
);