Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: roald commentedForgot to mention: Both IE6 and IE7
Comment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedDo you get the same message with other themes?
Comment #3
roald CreditAttribution: roald commentedI don't get the problem in Garland, but I do in Bluemarine...
Comment #4
bekirdag CreditAttribution: bekirdag commentedi have the same problem
Comment #5
bekirdag CreditAttribution: 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 CreditAttribution: Jeff Burnz commentedhttp://drupal.org/node/282284