Menu disappears after clicking on it

Permalink
Hi,

I am using the latest stable version of C5. After fresh install i installed my custom theme.

All of the sample content links are there, styled as they should be by my theme.

But upon clicking on any of the items, the menu just disappears, and i can't get it back.

Here is the code for menu:
<div id="mainMenu"
      <?php
    $a = new Area('Header Nav');
    $a->setBlockLimit(1);
   $a->display($c);
   ?>
  </div>


I tried three installs, and it is always the same thing. The menu is there, created, even in view source or firebug, an ul list with a class of nav, but when clicked on it it just goes away for good.

Thanks,

Mirko

Madebym
 
Madebym replied on at Permalink Best Answer Reply
Madebym
Changing Area to GlobalArea seemed to did the trick.
Not sure why, but now it all works.