Closed (duplicate)
Project:
Twilight
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2008 at 12:28 UTC
Updated:
26 Nov 2008 at 17:33 UTC
When using DHTML Menus together with this theme IE reports "Error on page"
Line: 32
Char: 9
Error: Object doesn't support this property or method
Code: 0
When this occurs inputfields for text are minimized in size.
Any ideas are welcome :-)
roald
Comments
Comment #1
roald commentedForgot to mention: Both IE6 and IE7
Comment #2
Jeff Burnz commentedDo you get the same message with other themes?
Comment #3
roald commentedI don't get the problem in Garland, but I do in Bluemarine...
Comment #4
bekirdag commentedi have the same problem
Comment #5
bekirdag commentedok, i have a solution for this. inspired by: http://drupal.org/node/282284
i have changed the line
id = $(this).parents()[0].id.replace('menu-', '');
to
var id = $(this).parents()[0].id.replace('menu-', '');
in dhtml_menu.js at line 23.
by the way i am using drupal 5.x and dhtml_menus 5.x-1.3, so it may not work in drupal 6, haven't tried that, but the idea is the same.
Comment #6
Jeff Burnz commentedhttp://drupal.org/node/282284