Lucid Menu Aborts IE.

p6 - April 8, 2008 - 04:47
Project:Lucid menu
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:p6
Status:active
Description

Well known JS issue with IE: http://clientside.cnet.com/code-snippets/manipulating-the-dom/ie-and-ope...
Lucid Menu's menu generation code in the hook_block() is probably the culprit.

if (trim($menu_content) != '')
$data['content'] .= "<div class=\"doiMenuDOM\"><script type=\"text/javascript\">   {$data['content']}\n{$menu_content}menu_{$delta}_{$GLOBALS['LUCID_MENU_DEPTH']}_0.Build();\n </script></div>";
                      
else
$data['content'] = '';

return $data;
}

This somehow needs to be manipulated in the DOM to be sent into the footer or outside the body and then called, I guess.
This bug aborts IE6 & IE 7 users on the first attempt to access the site.

 
 

Drupal is a registered trademark of Dries Buytaert.